asuswrt-merlin.ng/release/src-rt/model-desc.mak
Eric Sauvageau 18072abe95 Merge with GPL 45581 + RT-AX86U binary blobs and SDK
- Merged GPL 45581
- Harmonized DNSFilter/dnsprivacy code with upstream
  (now enabled by default like upstream).
- Merged 5.02p1 SDK
- Merged RT-AX86U binary blobs
- Ported iproute2-4.3 patches to iproute2-5.11
- Switch to Asus's implementation of static lease hostnames
2021-10-29 01:24:22 -04:00

33 lines
626 B
Makefile

ifeq ($(ISPCTRL),y)
#ISP ChinaTel
ifeq ($(ELINK),y)
ISPCTRL_DESC := CN.CT.elink
else ifeq ($(TR181),y)
ISPCTRL_DESC := tr181
else ifeq ($(TR069),y)
ISPCTRL_DESC := tr098
endif
ifneq ($(CHINATEL),)
ifeq ($(ISPCTRL_DESC),)
ISPCTRL_DESC := CN.CT.$(CHINATEL)
else
ISPCTRL_DESC := $(ISPCTRL_DESC).$(CHINATEL)
endif
endif
#ISP ChinaTel
#Other ISPs
#Please place other ISP's ISPCTRL_DESC related code here.
#Ohter ISPs
ifneq ($(ISPCTRL_DESC),)
export ISPCTRL_POSTFIX := _$(ISPCTRL_DESC)
endif
endif
all:
ifneq ($(ISPCTRL_DESC),)
@echo '#define RT_MODELDESC "{\"ISPCtrl\":\"$(ISPCTRL_DESC)\"}"' >> router/shared/version.h
endif