1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
TP-Link_Archer-XR500v/BBA1.5_platform/build/config.mak
2024-07-22 01:58:46 -03:00

979 lines
18 KiB
Makefile

ifeq ($(INCLUDE_BIG_ENDIAN), y)
DFLAGS += -DINCLUDE_BIG_ENDIAN
export CPU_ENDIAN_TYPE = 0
endif
ifeq ($(INCLUDE_LITTLE_ENDIAN), y)
DFLAGS += -DINCLUDE_LITTLE_ENDIAN
export CPU_ENDIAN_TYPE = 1
endif
ifeq ($(strip $(INCLUDE_MODEL_GW)), y)
DFLAGS += -DINCLUDE_MODEL_GW
export INCLUDE_MODEL_GW=y
endif
ifeq ($(strip $(INCLUDE_MODEL_MODEM)), y)
DFLAGS += -DINCLUDE_MODEL_MODEM
export INCLUDE_MODEL_MODEM=y
endif
ifeq ($(strip $(INCLUDE_LANGUAGE_CN)), y)
DFLAGS += -DINCLUDE_LANGUAGE_CN
export INCLUDE_LANGUAGE_CN=y
endif
ifeq ($(strip $(INCLUDE_LANGUAGE_EN)), y)
DFLAGS += -DINCLUDE_LANGUAGE_EN
export INCLUDE_LANGUAGE_EN=y
endif
ifeq ($(strip $(INCLUDE_SOCKET_LOCK)), y)
DFLAGS += -DINCLUDE_SOCKET_LOCK
export INCLUDE_SOCKET_LOCK=y
endif
ifeq ($(INCLUDE_SERBIA), y)
DFLAGS += -DINCLUDE_SERBIA
endif
ifeq ($(INCLUDE_WATCHDOG), y)
DFLAGS += -DINCLUDE_WATCHDOG
endif
ifeq ($(INCLUDE_PPA_ACCELERATE), y)
DFLAGS += -DINCLUDE_PPA_ACCELERATE
endif
ifeq ($(INCLUDE_MTK_ACCELERATE), y)
DFLAGS += -DINCLUDE_MTK_ACCELERATE
endif
ifeq ($(INCLUDE_MTD_TYPE1), y)
DFLAGS += -DINCLUDE_MTD_TYPE1
MTD_PART_TYPE = 1
endif
ifeq ($(INCLUDE_MTD_TYPE2), y)
DFLAGS += -DINCLUDE_MTD_TYPE2
MTD_PART_TYPE = 2
endif
ifeq ($(INCLUDE_MTD_TYPE3), y)
DFLAGS += -DINCLUDE_MTD_TYPE3
MTD_PART_TYPE = 3
endif
ifeq ($(INCLUDE_MTD_TYPE4), y)
DFLAGS += -DINCLUDE_MTD_TYPE4
MTD_PART_TYPE = 4
endif
ifneq ($(strip $(BOOT_MAX_SIZE)),)
DFLAGS += -DMTD_BOOT_SIZE=$(subst ",,$(BOOT_MAX_SIZE))
endif
ifneq ($(strip $(FLASH_SIZE)),)
DFLAGS += -DFLASH_SIZE=$(subst ",,$(FLASH_SIZE))
endif
ifneq ($(strip $(MISC_MAX_SIZE)),)
DFLAGS += -DMISC_MAX_SIZE=$(subst ",,$(MISC_MAX_SIZE))
endif
ifneq ($(strip $(INCLUDE_CPU_EN7526G)),)
DFLAGS += -DINCLUDE_CPU_EN7526G
endif
ifeq ($(INCLUDE_CLI_FULL_FEATURE), y)
DFLAGS += -DINCLUDE_CLI_FULL_FEATURE
endif
ifeq ($(INCLUDE_USER_ACCOUNT), y)
DFLAGS += -DINCLUDE_USER_ACCOUNT
endif
ifeq ($(INCLUDE_NEWUI), y)
DFLAGS += -DINCLUDE_NEWUI
endif
ifeq ($(INCLUDE_CHGINIT_PWD), y)
DFLAGS += -DINCLUDE_CHGINIT_PWD
endif
ifeq ($(INCLUDE_AUTH_PASSWORD), y)
DFLAGS += -DINCLUDE_AUTH_PASSWORD
endif
ifeq ($(INCLUDE_AUTH_PASSWORD), y)
DFLAGS += -DINCLUDE_AUTH_PASSWORD
endif
ifeq ($(INCLUDE_NEWAUTH_CLI), y)
DFLAGS += -DINCLUDE_NEWAUTH_CLI
endif
ifeq ($(INCLUDE_OPTION66), y)
DFLAGS += -DINCLUDE_OPTION66
ifeq ($(INCLUDE_OPTION66_NEED_TAG), y)
DFLAGS += -DINCLUDE_OPTION66_NEED_TAG
endif
ifeq ($(INCLUDE_OPTION66_LAN), y)
DFLAGS += -DINCLUDE_OPTION66_LAN
endif
endif
#################### ETH Type ######################
ifeq ($(INCLUDE_ETH_LTQ), y)
DFLAGS += -DINCLUDE_ETH_LTQ
endif
ifeq ($(INCLUDE_ETH_RA), y)
DFLAGS += -DINCLUDE_ETH_RA
endif
ifeq ($(INCLUDE_ETH_ATH), y)
DFLAGS += -DINCLUDE_ETH_ATH
endif
ifeq ($(INCLUDE_GMAC1_ONLY), y)
DFLAGS += -DINCLUDE_GMAC1_ONLY
endif
###################### WIFI ########################
ifeq ($(INCLUDE_LAN_WLAN), y)
DFLAGS += -DINCLUDE_LAN_WLAN
endif
ifeq ($(INCLUDE_WLAN_RA), y)
DFLAGS += -DINCLUDE_WLAN_RA
endif
ifeq ($(INCLUDE_WLAN_RTL), y)
DFLAGS += -DINCLUDE_WLAN_RTL
endif
ifeq ($(INCLUDE_WLAN_ATH), y)
DFLAGS += -DINCLUDE_WLAN_ATH
endif
ifeq ($(ATH_A_BAND_MIMO_NUM_3_3), y)
DFLAGS += -DWLAN_ATH_A_BAND_MIMO_NUM=3
endif
ifeq ($(ATH_G_BAND_MIMO_NUM_2_2), y)
DFLAGS += -DWLAN_ATH_G_BAND_MIMO_NUM=2
endif
ifeq ($(INCLUDE_WLAN_BCM), y)
DFLAGS += -DINCLUDE_WLAN_BCM
endif
ifeq ($(BCM_A_BAND_MIMO_NUM_1_1), y)
DFLAGS += -DWLAN_BCM_A_BAND_MIMO_NUM=1
endif
ifeq ($(BCM_A_BAND_MIMO_NUM_2_2), y)
DFLAGS += -DWLAN_BCM_A_BAND_MIMO_NUM=2
endif
ifeq ($(BCM_A_BAND_MIMO_NUM_3_3), y)
DFLAGS += -DWLAN_BCM_A_BAND_MIMO_NUM=3
endif
ifeq ($(BCM_B_BAND_MIMO_NUM_1_1), y)
DFLAGS += -DWLAN_BCM_B_BAND_MIMO_NUM=1
endif
ifeq ($(BCM_B_BAND_MIMO_NUM_2_2), y)
DFLAGS += -DWLAN_BCM_B_BAND_MIMO_NUM=2
endif
ifeq ($(BCM_B_BAND_MIMO_NUM_3_3), y)
DFLAGS += -DWLAN_BCM_B_BAND_MIMO_NUM=3
endif
ifeq ($(INCLUDE_LAN_WLAN_MSSID), y)
DFLAGS += -DINCLUDE_LAN_WLAN_MSSID
endif
ifdef WLAN_VAP_NUM
DFLAGS += -DWLAN_VAP_NUM=$(WLAN_VAP_NUM)
endif
ifeq ($(INCLUDE_LAN_WLAN_GUESTNETWORK), y)
DFLAGS += -DINCLUDE_LAN_WLAN_GUESTNETWORK
endif
ifeq ($(INCLUDE_HIDE_GUESTNETWORK), y)
DFLAGS += -DINCLUDE_HIDE_GUESTNETWORK
endif
ifeq ($(INCLUDE_ANTI_INTERFERENCE), y)
DFLAGS += -DINCLUDE_ANTI_INTERFERENCE
endif
ifeq ($(INCLUDE_LAN_WLAN_WDS), y)
DFLAGS += -DINCLUDE_LAN_WLAN_WDS
endif
ifeq ($(INCLUDE_LAN_WLAN_WDS_DETECT), y)
DFLAGS += -DINCLUDE_LAN_WLAN_WDS_DETECT
endif
ifeq ($(INCLUDE_LAN_WLAN_8021X), y)
DFLAGS += -DINCLUDE_LAN_WLAN_802_1X
endif
ifeq ($(INCLUDE_LAN_WLAN_DUALBAND),y)
DFLAGS+= -DINCLUDE_LAN_WLAN_DUALBAND
endif
ifeq ($(INCLUDE_LAN_WLAN_AC),y)
DFLAGS+= -DINCLUDE_LAN_WLAN_AC
endif
ifeq ($(INCLUDE_LAN_WLAN_SCHEDULE), y)
DFLAGS += -DINCLUDE_LAN_WLAN_SCHEDULE
endif
ifeq ($(INCLUDE_LAN_WLAN_DUALBAND_DIF_MAC),y)
DFLAGS+= -DINCLUDE_LAN_WLAN_DUALBAND_DIF_MAC
endif
#################### Function ######################
ifeq ($(INCLUDE_BRIDGING), y)
DFLAGS += -DINCLUDE_BRIDGING
endif
ifeq ($(INCLUDE_ADSLWAN), y)
DFLAGS += -DINCLUDE_ADSLWAN
endif
ifeq ($(INCLUDE_VDSLWAN), y)
DFLAGS += -DINCLUDE_VDSLWAN
endif
ifeq ($(INCLUDE_ADSL_RA), y)
DFLAGS += -DINCLUDE_ADSL_RA
endif
ifeq ($(INCLUDE_ADSL_RTL), y)
DFLAGS += -DINCLUDE_ADSL_RTL
endif
ifeq ($(INCLUDE_ADSL_LTQ), y)
DFLAGS += -DINCLUDE_ADSL_LTQ
endif
ifeq ($(INCLUDE_ETHERNET_WAN), y)
DFLAGS += -DINCLUDE_ETHERNET_WAN
endif
ifeq ($(INCLUDE_MTK_PON_EWAN), y)
DFLAGS += -DINCLUDE_MTK_PON_EWAN
endif
ifeq ($(INCLUDE_IGMP), y)
DFLAGS += -DINCLUDE_IGMP
endif
ifeq ($(INCLUDE_IPTV), y)
DFLAGS += -DINCLUDE_IPTV
endif
ifeq ($(INCLUDE_AUTO_PVC), y)
DFLAGS += -DINCLUDE_AUTO_PVC
endif
ifeq ($(INCLUDE_RIP), y)
DFLAGS += -DINCLUDE_RIP
endif
ifeq ($(INCLUDE_SNMP), y)
DFLAGS += -DINCLUDE_SNMP
endif
ifeq ($(INCLUDE_SSL), y)
DFLAGS += -DINCLUDE_SSL
endif
ifeq ($(INCLUDE_SSH_ACCESS), y)
DFLAGS += -DINCLUDE_SSH_ACCESS
endif
ifeq ($(INCLUDE_CWMP), y)
DFLAGS += -DINCLUDE_CWMP
endif
ifeq ($(INCLUDE_CWMP_SSL), y)
DFLAGS += -DINCLUDE_CWMP_SSL
export INCLUDE_CWMP_SSL
ifeq ($(INCLUDE_CWMP_SSL_VERIFY_PEER), y)
DFLAGS += -DINCLUDE_CWMP_SSL_VERIFY_PEER
export INCLUDE_CWMP_SSL_VERIFY_PEER
endif
endif
ifeq ($(INCLUDE_TR143), y)
DFLAGS += -DINCLUDE_TR143
ifeq ($(INCLUDE_ECONET_TR143_SPEEDUP), y)
DFLAGS += -DINCLUDE_ECONET_TR143_SPEEDUP
endif
endif
ifeq ($(INCLUDE_IPPING_DIAG), y)
DFLAGS += -DINCLUDE_IPPING_DIAG
endif
ifeq ($(INCLUDE_TRACEROUTE_DIAG), y)
DFLAGS += -DINCLUDE_TRACEROUTE_DIAG
endif
ifeq ($(INCLUDE_DOWNLOAD_DIAG), y)
DFLAGS += -DINCLUDE_DOWNLOAD_DIAG
endif
ifeq ($(INCLUDE_UPLOAD_DIAG), y)
DFLAGS += -DINCLUDE_UPLOAD_DIAG
endif
ifeq ($(INCLUDE_FLASH_SPI), y)
DFLAGS += -DINCLUDE_FLASH_SPI
export INCLUDE_FLASH_SPI=y
endif
ifeq ($(INCLUDE_FLASH_NAND), y)
DFLAGS += -DINCLUDE_FLASH_NAND
export INCLUDE_FLASH_NAND=y
endif
ifeq ($(INCLUDE_FS_UBI), y)
DFLAGS += -DINCLUDE_FS_UBI
endif
ifeq ($(INCLUDE_DUAL_IMAGE), y)
DFLAGS += -DINCLUDE_DUAL_IMAGE
export CONFIG_TP_DUAL_IMAGE=y
endif
ifeq ($(INCLUDE_LZMA), y)
export INCLUDE_LZMA=y
endif
ifeq ($(INCLUDE_REDUCED_FS), y)
export INCLUDE_REDUCED_FS=y
endif
ifeq ($(INCLUDE_CONFIG_FORMAT_COMPRESSED), y)
DFLAGS += -DINCLUDE_CONFIG_FORMAT_COMPRESSED
endif
ifeq ($(INCLUDE_CONFIG_FORMAT_XML), y)
DFLAGS += -DINCLUDE_CONFIG_FORMAT_XML
endif
ifeq ($(INCLUDE_CONFIG_FORMAT_BASE64), y)
DFLAGS += -DINCLUDE_CONFIG_FORMAT_BASE64
endif
ifeq ($(INCLUDE_DIGITAL_SIGNATURE), y)
DFLAGS += -DINCLUDE_DIGITAL_SIGNATURE
endif
ifeq ($(INCLUDE_DDNS), y)
DFLAGS += -DINCLUDE_DDNS
endif
ifeq ($(INCLUDE_DDNS_PH), y)
DFLAGS += -DINCLUDE_DDNS_PH
endif
ifeq ($(INCLUDE_DYNDNS), y)
DFLAGS += -DINCLUDE_DYNDNS
endif
ifeq ($(INCLUDE_NOIPDNS), y)
DFLAGS += -DINCLUDE_NOIPDNS
endif
ifeq ($(INCLUDE_ALG), y)
DFLAGS += -DINCLUDE_ALG
endif
ifeq ($(INCLUDE_ALG_H323), y)
DFLAGS += -DINCLUDE_ALG_H323
endif
ifeq ($(INCLUDE_ALG_SIP), y)
DFLAGS += -DINCLUDE_ALG_SIP
endif
ifeq ($(INCLUDE_WAN_DETECT), y)
DFLAGS += -DINCLUDE_WAN_DETECT
endif
#NOTE:INCLUDE_VOIP in voip.mak
ifeq ($(INCLUDE_VOIP), y)
DFLAGS += $(VOIP_DFLAGS)
DF_FLAGS += $(VOIP_CFLAGS)
ifeq ($(INCLUDE_VOIP_WITHOUT_CMM),y)
DFLAGS += -DINCLUDE_VOIP_WITHOUT_CMM
endif
endif
ifeq ($(INCLUDE_IPV6), y)
DFLAGS += -DINCLUDE_IPV6
ifeq ($(INCLUDE_IPV6_MLD), y)
DFLAGS += -DINCLUDE_IPV6_MLD
endif
ifeq ($(INCLUDE_IPV6_SLAAC), y)
DFLAGS += -DINCLUDE_IPV6_SLAAC
endif
ifeq ($(INCLUDE_IPV6_HTTP), y)
DFLAGS += -DINCLUDE_IPV6_HTTP
endif
endif
ifeq ($(INCLUDE_USB), y)
DFLAGS += -DINCLUDE_USB
endif
ifeq ($(INCLUDE_USB_OVER_IP), y)
DFLAGS += -DINCLUDE_USB_OVER_IP
endif
ifeq ($(INCLUDE_USB_OVER_IP_TPLINK), y)
DFLAGS += -DINCLUDE_USB_OVER_IP_TPLINK
endif
ifeq ($(INCLUDE_USB_OVER_IP_KCODES), y)
DFLAGS += -DINCLUDE_USB_OVER_IP_KCODES
endif
ifeq ($(INCLUDE_USB_STORAGE), y)
DFLAGS += -DINCLUDE_USB_STORAGE
endif
ifeq ($(INCLUDE_USB_MEDIA_SERVER), y)
DFLAGS += -DINCLUDE_USB_MEDIA_SERVER
endif
ifeq ($(INCLUDE_USHARE), y)
DFLAGS += -DINCLUDE_USHARE
endif
ifeq ($(INCLUDE_MINIDLNA), y)
DFLAGS += -DINCLUDE_MINIDLNA
endif
ifeq ($(INCLUDE_LITE_MINIDLNA), y)
DFLAGS += -DINCLUDE_LITE_MINIDLNA
endif
ifeq ($(INCLUDE_USB_SAMBA_SERVER), y)
DFLAGS += -DINCLUDE_USB_SAMBA_SERVER
endif
ifeq ($(INCLUDE_USB_FTP_SERVER), y)
DFLAGS += -DINCLUDE_USB_FTP_SERVER
endif
ifeq ($(INCLUDE_USB_3G_DONGLE), y)
DFLAGS += -DINCLUDE_USB_3G_DONGLE
export INCLUDE_USB_3G_DONGLE=y
endif
ifeq ($(INCLUDE_USB_SYSFS), y)
DFLAGS += -DINCLUDE_USB_SYSFS
endif
ifeq ($(INCLUDE_IPSEC), y)
DFLAGS += -DINCLUDE_IPSEC
endif
ifeq ($(INCLUDE_WAN_MODE), y)
DFLAGS += -DINCLUDE_WAN_MODE
endif
ifeq ($(INCLUDE_FIREWALL), y)
DFLAGS += -DINCLUDE_FIREWALL
endif
ifeq ($(INCLUDE_FORWARD), y)
DFLAGS += -DINCLUDE_FORWARD
endif
ifeq ($(INCLUDE_VS), y)
DFLAGS += -DINCLUDE_VS
endif
ifeq ($(INCLUDE_PT), y)
DFLAGS += -DINCLUDE_PT
endif
ifeq ($(INCLUDE_DMZ), y)
DFLAGS += -DINCLUDE_DMZ
endif
ifeq ($(INCLUDE_UPNP), y)
DFLAGS += -DINCLUDE_UPNP
endif
ifeq ($(INCLUDE_ROUTE), y)
DFLAGS += -DINCLUDE_ROUTE
endif
ifeq ($(INCLUDE_STAT), y)
DFLAGS += -DINCLUDE_STAT
endif
ifeq ($(INCLUDE_DDOS), y)
DFLAGS += -DINCLUDE_DDOS
endif
ifeq ($(INCLUDE_QOS), y)
DFLAGS += -DINCLUDE_QOS
endif
#<< wuchao@2016-03-01, added
ifeq ($(INCLUDE_HW_QOS), y)
DFLAGS += -DINCLUDE_HW_QOS
endif
ifeq ($(INCLUDE_TC), y)
DFLAGS += -DINCLUDE_TC
endif
#>> endof added, wuchao@2016-03-01
ifeq ($(INCLUDE_NO_QOS), y)
DFLAGS += -DINCLUDE_NO_QOS
endif
ifeq ($(INCLUDE_E8_APP), y)
DFLAGS += -DINCLUDE_E8_APP
endif
ifeq ($(INCLUDE_ANNEXB), y)
DFLAGS += -DINCLUDE_ANNEXB
endif
ifeq ($(INCLUDE_ROUTE_BINDING), y)
DFLAGS += -DINCLUDE_ROUTE_BINDING
endif
ifeq ($(INCLUDE_L2TP), y)
DFLAGS += -DINCLUDE_L2TP
endif
ifeq ($(INCLUDE_PPTP), y)
DFLAGS += -DINCLUDE_PPTP
endif
ifeq ($(INCLUDE_ACL), y)
DFLAGS += -DINCLUDE_ACL
ifeq ($(INCLUDE_ACL_ADVANCE), y)
DFLAGS += -DINCLUDE_ACL_ADVANCE
endif
ifeq ($(INCLUDE_OTHER_ACL), y)
DFLAGS += -DINCLUDE_OTHER_ACL
endif
endif
ifeq ($(INCLUDE_CT_BASE), y)
DFLAGS += -DINCLUDE_CT_BASE
endif
ifeq ($(INCLUDE_TC), y)
DFLAGS += -DINCLUDE_TC
endif
ifeq ($(INCLUDE_HTTP_SSL), y)
DFLAGS += -DINCLUDE_HTTP_SSL
endif
#################### Cloud ######################
# added by Mei Zaihong, 2016-01-21
ifeq ($(INCLUDE_CLOUD), y)
DFLAGS += -DINCLUDE_CLOUD
endif
ifeq ($(INCLUDE_WAN_BLOCK), y)
DFLAGS += -DINCLUDE_WAN_BLOCK
endif
ifeq ($(INCLUDE_WAN_BLOCK_WAN_ERROR), y)
DFLAGS += -DINCLUDE_WAN_BLOCK_WAN_ERROR
endif
ifeq ($(INCLUDE_WAN_BLOCK_FW_UP_INFO), y)
DFLAGS += -DINCLUDE_WAN_BLOCK_FW_UP_INFO
endif
# end add, Mei Zaihong, 2016-01-21
###################### PON ########################
ifeq ($(INCLUDE_PON), y)
DFLAGS += -DINCLUDE_PON
DFLAGS += -DINCLUDE_PON_ETH_WAN
export INCLUDE_PON=y
endif
ifeq ($(INCLUDE_PON_MARVELL), y)
DFLAGS += -DNCLUDE_PON_MARVELL
export INCLUDE_PON_MARVELL=y
endif
ifeq ($(INCLUDE_PON_BCM), y)
DFLAGS += -DINCLUDE_PON_BCM
export INCLUDE_PON_BCM=y
endif
ifeq ($(INCLUDE_PON_MTK), y)
DFLAGS += -DINCLUDE_PON_MTK
export INCLUDE_PON_MTK=y
endif
ifeq ($(INCLUDE_PON_EPON), y)
DFLAGS += -DINCLUDE_PON_EPON
DFLAGS += -DINCLUDE_EPON_INFO
export INCLUDE_PON_EPON=y
endif
ifeq ($(INCLUDE_PON_GPON), y)
DFLAGS += -DINCLUDE_PON_GPON
DFLAGS += -DINCLUDE_GPON_INFO
#added by 2015-6-8 Tang Wenhan
DFLAGS += -DPON_TYPE
export PON_TYPE=GPON
#added end.
export INCLUDE_PON_GPON=y
endif
ifeq ($(INCLUDE_CT_EPON), y)
DFLAGS += -DINCLUDE_CT_EPON
endif
ifeq ($(INCLUDE_CT_GPON), y)
DFLAGS += -DINCLUDE_CT_GPON
endif
#added by 2014-08-12 10:46:32 Chen Yingtao start
ifeq ($(INCLUDE_GPON_OMCI), y)
DFLAGS += -DINCLUDE_GPON_OMCI
endif
ifeq ($(INCLUDE_GPON_OMCI_VOICE), y)
DFLAGS += -DINCLUDE_GPON_OMCI_VOICE
endif
ifeq ($(INCLUDE_GPON_OMCI_MOCA), y)
DFLAGS += -DINCLUDE_GPON_OMCI_MOCA
endif
ifeq ($(INCLUDE_GPON_OMCI_CT), y)
DFLAGS += -DINCLUDE_GPON_OMCI_CT
export INCLUDE_GPON_OMCI_CT=y
endif
ifeq ($(INCLUDE_GPON_OMCI_IGNORE_PBIT_MATCH), y)
DFLAGS += -DINCLUDE_GPON_OMCI_IGNORE_PBIT_MATCH
endif
#added by 2014-08-12 10:46:32 Chen Yingtao end
ifeq ($(INCLUDE_GPON_CTC), y)
DFLAGS += -DINCLUDE_GPON_CTC
endif
ifeq ($(INCLUDE_GPON_FWDRULE), y)
DFLAGS += -DINCLUDE_GPON_FWDRULE
endif
ifeq ($(INCLUDE_GPON_IOT), y)
DFLAGS += -DINCLUDE_GPON_IOT
endif
ifeq ($(INCLUDE_WAN_PORT_BINDING), y)
DFLAGS += -DINCLUDE_WAN_PORT_BINDING
export INCLUDE_WAN_PORT_BINDING=y
endif
ifeq ($(INCLUDE_ISOLATE_LAN), y)
DFLAGS += -DINCLUDE_ISOLATE_LAN
endif
ifeq ($(INCLUDE_PON_IPTV), y)
DFLAGS += -DINCLUDE_PON_IPTV
endif
ifeq ($(INCLUDE_PON_IPTV_PUBLIC), y)
DFLAGS += -DINCLUDE_PON_IPTV_PUBLIC
endif
ifeq ($(INCLUDE_VLAN_SEARCH), y)
DFLAGS += -DINCLUDE_VLAN_SEARCH
endif
ifeq ($(INCLUDE_MULTI_BRIDGE), y)
DFLAGS += -DINCLUDE_MULTI_BRIDGE
endif
ifeq ($(INCLUDE_MULTI_PRIO), y)
DFLAGS += -DINCLUDE_MULTI_PRIO
endif
ifeq ($(INCLUDE_SEARCH_PRIO), y)
DFLAGS += -DINCLUDE_SEARCH_PRIO
endif
ifeq ($(INCLUDE_KEEP_AUTHINFO), y)
DFLAGS += -DINCLUDE_KEEP_AUTHINFO
endif
ifeq ($(INCLUDE_TP_EBTABLES), y)
DFLAGS += -DINCLUDE_TP_EBTABLES
endif
ifeq ($(INCLUDE_CT_LOID), y)
DFLAGS += -DINCLUDE_CT_LOID
endif
###################### WEB ########################
WEBFLAGS += WEB_INCLUDE_TEST=0
ifeq ($(INCLUDE_CHGPWD_LOGIN), y)
WEBFLAGS += INCLUDE_CHGPWD_LOGIN=1
else
WEBFLAGS += INCLUDE_CHGPWD_LOGIN=0
endif
ifneq ($(strip $(WEB_REBOOT_TIME)),)
WEBFLAGS += WEB_REBOOT_TIME=$(WEB_REBOOT_TIME)
else
WEBFLAGS += WEB_REBOOT_TIME=90
endif
ifneq ($(strip $(WEB_UPGRADE_TIME)),)
WEBFLAGS += WEB_UPGRADE_TIME=$(WEB_UPGRADE_TIME)
else
WEBFLAGS += WEB_UPGRADE_TIME=180
endif
ifeq ($(WEB_INCLUDE_MULTI_EWAN), y)
WEBFLAGS += WEB_INCLUDE_MULTI_EWAN=1
else
WEBFLAGS += WEB_INCLUDE_MULTI_EWAN=0
endif
ifeq ($(WEB_INCLUDE_DST), y)
WEBFLAGS += WEB_INCLUDE_DST=1
else
WEBFLAGS += WEB_INCLUDE_DST=0
endif
ifeq ($(INCLUDE_OPTION66), y)
WEBFLAGS += INCLUDE_OPTION66=1
else
WEBFLAGS += INCLUDE_OPTION66=0
endif
ifeq ($(INCLUDE_WEB_LOCAL), y)
WEBFLAGS += INCLUDE_WEB_LOCAL=1
else
WEBFLAGS += INCLUDE_WEB_LOCAL=0
endif
ifeq ($(INCLUDE_WEB_REGION), y)
WEBFLAGS += INCLUDE_WEB_REGION=1
DFLAGS += -DINCLUDE_WEB_REGION
else
WEBFLAGS += INCLUDE_WEB_REGION=0
endif
ifeq ($(WEB_INCLUDE_HELP), y)
WEBFLAGS += WEB_INCLUDE_HELP=1
else
WEBFLAGS += WEB_INCLUDE_HELP=0
endif
ifeq ($(WEB_INCLUDE_MOBILE_UI), y)
WEBFLAGS += WEB_INCLUDE_MOBILE_UI=1
DFLAGS += -DWEB_INCLUDE_MOBILE_UI
else
WEBFLAGS += WEB_INCLUDE_MOBILE_UI=0
endif
ifeq ($(INCLUDE_DAY_MONTH_YEAR), y)
WEBFLAGS += INCLUDE_DAY_MONTH_YEAR=1
else
WEBFLAGS += INCLUDE_DAY_MONTH_YEAR=0
endif
ifeq ($(INCLUDE_FLASH_VOICEMAIL), y)
WEBFLAGS += INCLUDE_FLASH_VOICEMAIL=1
DFLAGS += -DINCLUDE_FLASH_VOICEMAIL
else
WEBFLAGS += INCLUDE_FLASH_VOICEMAIL=0
endif
ifeq ($(INCLUDE_MAIL), y)
WEBFLAGS += INCLUDE_MAIL=1
DFLAGS += -DINCLUDE_MAIL
else
WEBFLAGS += INCLUDE_MAIL=0
endif
ifeq ($(INCLUDE_MULTI_PRIO), y)
WEBFLAGS += INCLUDE_MULTI_PRIO=1
else
WEBFLAGS += INCLUDE_MULTI_PRIO=0
endif
ifeq ($(INCLUDE_ISP_TM), y)
WEBFLAGS += INCLUDE_ISP_TM=1
else
WEBFLAGS += INCLUDE_ISP_TM=0
endif
# added by Mei Zaihong, 2016-01-21
ifeq ($(INCLUDE_MULTI_LANGUAGE), y)
WEBFLAGS += INCLUDE_MULTI_LANGUAGE=1
DFLAGS += -DINCLUDE_MULTI_LANGUAGE
else
WEBFLAGS += INCLUDE_MULTI_LANGUAGE=0
endif
ifeq ($(INCLUDE_LANGUAGE_EN_US), y)
WEBFLAGS += INCLUDE_LANGUAGE_EN_US=1
else
WEBFLAGS += INCLUDE_LANGUAGE_EN_US=0
endif
ifeq ($(INCLUDE_LANGUAGE_DE_DE), y)
WEBFLAGS += INCLUDE_LANGUAGE_DE_DE=1
else
WEBFLAGS += INCLUDE_LANGUAGE_DE_DE=0
endif
ifeq ($(INCLUDE_LANGUAGE_IT_IT), y)
WEBFLAGS += INCLUDE_LANGUAGE_IT_IT=1
else
WEBFLAGS += INCLUDE_LANGUAGE_IT_IT=0
endif
ifeq ($(INCLUDE_LANGUAGE_RU_RU), y)
WEBFLAGS += INCLUDE_LANGUAGE_RU_RU=1
else
WEBFLAGS += INCLUDE_LANGUAGE_RU_RU=0
endif
ifeq ($(INCLUDE_LANGUAGE_TR_TR), y)
WEBFLAGS += INCLUDE_LANGUAGE_TR_TR=1
else
WEBFLAGS += INCLUDE_LANGUAGE_TR_TR=0
endif
ifeq ($(INCLUDE_LANGUAGE_PL_PL), y)
WEBFLAGS += INCLUDE_LANGUAGE_PL_PL=1
else
WEBFLAGS += INCLUDE_LANGUAGE_PL_PL=0
endif
ifeq ($(INCLUDE_LANGUAGE_FR_FR), y)
WEBFLAGS += INCLUDE_LANGUAGE_FR_FR=1
else
WEBFLAGS += INCLUDE_LANGUAGE_FR_FR=0
endif
ifeq ($(INCLUDE_LANGUAGE_ES_ES), y)
WEBFLAGS += INCLUDE_LANGUAGE_ES_ES=1
else
WEBFLAGS += INCLUDE_LANGUAGE_ES_ES=0
endif
ifeq ($(INCLUDE_LANGUAGE_ES_LA), y)
WEBFLAGS += INCLUDE_LANGUAGE_ES_LA=1
else
WEBFLAGS += INCLUDE_LANGUAGE_ES_LA=0
endif
ifeq ($(INCLUDE_LANGUAGE_PT_PT), y)
WEBFLAGS += INCLUDE_LANGUAGE_PT_PT=1
else
WEBFLAGS += INCLUDE_LANGUAGE_PT_PT=0
endif
ifeq ($(INCLUDE_LANGUAGE_PT_BR), y)
WEBFLAGS += INCLUDE_LANGUAGE_PT_BR=1
else
WEBFLAGS += INCLUDE_LANGUAGE_PT_BR=0
endif
ifeq ($(INCLUDE_LANGUAGE_EL_GR), y)
WEBFLAGS += INCLUDE_LANGUAGE_EL_GR=1
else
WEBFLAGS += INCLUDE_LANGUAGE_EL_GR=0
endif
ifeq ($(INCLUDE_LANGUAGE_TH_TH), y)
WEBFLAGS += INCLUDE_LANGUAGE_TH_TH=1
else
WEBFLAGS += INCLUDE_LANGUAGE_TH_TH=0
endif
# end add, Mei Zaihong, 2016-01-21
ifeq ($(INCLUDE_LOGIN_GDPR_ENCRYPT),y)
WEBFLAGS +=INCLUDE_LOGIN_GDPR_ENCRYPT=1
DFLAGS += -DINCLUDE_LOGIN_GDPR_ENCRYPT
else
WEBFLAGS +=INCLUDE_LOGIN_GDPR_ENCRYPT=0
endif
####################### OEM/Case Option ########################
ifeq ($(INCLUDE_NO_INTERNET_LED), y)
DFLAGS += -DINCLUDE_NO_INTERNET_LED
export INCLUDE_NO_INTERNET_LED=y
endif
ifeq ($(INCLUDE_MTK_INTERNET_LED), y)
DFLAGS += -DINCLUDE_MTK_INTERNET_LED
export INCLUDE_MTK_INTERNET_LED=y
endif
ifeq ($(INCLUDE_TP_INTERNET_LED), y)
DFLAGS += -DINCLUDE_TP_INTERNET_LED
export INCLUDE_TP_INTERNET_LED=y
endif
ifeq ($(INCLUDE_REMOTE_UPGRADE), y)
DFLAGS += -DINCLUDE_REMOTE_UPGRADE
WEBFLAGS += INCLUDE_REMOTE_UPGRADE=1
else
WEBFLAGS += INCLUDE_REMOTE_UPGRADE=0
endif
ifeq ($(INCLUDE_VIETTEL), y)
DFLAGS += -DINCLUDE_VIETTEL
export INCLUDE_VIETTEL=y
endif
ifeq ($(INCLUDE_VIETTEL_HANOI), y)
DFLAGS += -DINCLUDE_VIETTEL_HANOI
export INCLUDE_VIETTEL_HANOI=y
endif
ifeq ($(INCLUDE_SIMAT), y)
DFLAGS += -DINCLUDE_SIMAT
export INCLUDE_SIMAT=y
WEBFLAGS += INCLUDE_SIMAT=1
else
WEBFLAGS += INCLUDE_SIMAT=0
endif
ifeq ($(INCLUDE_TEKCOM), y)
DFLAGS += -DINCLUDE_TEKCOM
export INCLUDE_TEKCOM=y
endif
ifeq ($(INCLUDE_WEB_BETAMARK), y)
DFLAGS += -DINCLUDE_WEB_BETAMARK
endif
ifeq ($(INCLUDE_ISP_TM), y)
DFLAGS += -DINCLUDE_ISP_TM
export INCLUDE_ISP_TM=y
endif