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.
ZyXEL_PMG5617GA/target/linux/en75xx/tc_rule.mak
2022-11-27 10:16:14 +00:00

3975 lines
98 KiB
Makefile

TC_CFLAGS=
#COMPILE_TOOLCHAIN=mips-linux
COMPILE_TOOLCHAIN=$(shell echo $(TARGET_CROSS)|sed "s/-$$//")
ifneq ($(strip $(GLOBAL_INC_DIR)),)
TC_CFLAGS+= -I$(GLOBAL_INC_DIR)
else
ifneq ($(strip $(ECONET_BUILD_DIR)),)
TC_CFLAGS+= -I$(ECONET_BUILD_DIR)/global_inc
else
TC_CFLAGS+= -I.
endif
endif
COMPILEOPTION_CFLAGS=
COMPILEOPTION_CFLAGS+= -I$(LIB_DIR)
export COMPILEOPTION_CFLAGS
COMPILEOPTION_LDFLAGS=
COMPILEOPTION_LDFLAGS+= -L$(LIB_DIR) -lcompileoption
export COMPILEOPTION_LDFLAGS
OPENSOURCE_CFLAGS=
OPENSOURCE_CFLAGS+= -I$(LIB_DIR) -I$(APP_OPENSOURCELIB_DIR) -I$(APP_OPENSOURCELIB_DIR)/inc
export OPENSOURCE_CFLAGS
OPENSOURCE_LDFLAGS=
OPENSOURCE_LDFLAGS+= -L$(LIB_DIR) -lopensource
export OPENSOURCE_LDFLAGS
ifneq ($(strip $(TCSUPPORT_NEWTOOLCHAIN)),)
TC_CFLAGS+=-DTCSUPPORT_NEWTOOLCHAIN
export TCSUPPORT_NEWTOOLCHAIN
endif
ifneq ($(strip $(TCSUPPORT_CPU_TC3162)),)
export TCSUPPORT_CPU_TC3162
export TCPLATFORM=tc3162
#COMPILE_TOOLCHAIN=mips-linux
TC_CFLAGS+=-DTCSUPPORT_CPU_TC3162
endif
ifneq ($(strip $(TCSUPPORT_CPU_TC3162U)),)
export TCSUPPORT_CPU_TC3162U
#export USBDEV20=1
export TCPLATFORM=tc3162u
#COMPILE_TOOLCHAIN=mips-linux
endif
ifneq ($(strip $(TCSUPPORT_CPU_RT63260)),)
export TCSUPPORT_CPU_RT63260
export TCPLATFORM=rt63260
#COMPILE_TOOLCHAIN=mips-linux
endif
ifneq ($(strip $(TCSUPPORT_CPU_TC3262)),)
export TCSUPPORT_CPU_TC3262
export TC3262=1
export TCPLATFORM=tc3262
#COMPILE_TOOLCHAIN=mips-linux-uclibc
endif
ifneq ($(strip $(TCSUPPORT_CPU_TC3182)),)
export TCSUPPORT_CPU_TC3182
#export USBDEV20=1
export TCPLATFORM=tc3182
#COMPILE_TOOLCHAIN=mips-linux-uclibc
export TC3262=1
TC_CFLAGS+=-DTC3262
endif
ifneq ($(strip $(TCSUPPORT_CPU_RT63165)),)
export TCSUPPORT_CPU_RT63165
export RALINK_PCIE_ADDR_SWAP=1
export TCPLATFORM=rt63165
#COMPILE_TOOLCHAIN=mips-linux-uclibc
export TC3262=1
TC_CFLAGS+=-DTC3262
endif
ifneq ($(strip $(TCSUPPORT_CPU_RT63365)),)
export TCSUPPORT_CPU_RT63365
export RALINK_PCIE_ADDR_SWAP=1
export TCPLATFORM=rt63365
#COMPILE_TOOLCHAIN=mips-linux-uclibc
export TC3262=1
export RT63365=1
TC_CFLAGS+=-DTCSUPPORT_CPU_RT63365 -DTC3262
endif
ifneq ($(strip $(TCSUPPORT_CPU_RT63368)),)
export TCSUPPORT_CPU_RT63365
export TCSUPPORT_CPU_RT63368
export TCSUPPORT_RT63368_PCIE_RECOVER
export RALINK_PCIE_ADDR_SWAP=1
export TCPLATFORM=rt63368
#COMPILE_TOOLCHAIN=mips-linux-uclibc
export TC3262=1
export RT63365=1
TC_CFLAGS+=-DTCSUPPORT_CPU_RT63365 -DTC3262
ifneq ($(strip $(TCSUPPORT_WLAN_MT7592)),)
TC_CFLAGS+=-DTCSUPPORT_WLAN_MT7592_PCIE
export TCSUPPORT_WLAN_MT7592_PCIE
endif
TC_CFLAGS+=-DTCSUPPORT_RT63368_PCIE_RECOVER
endif
ifneq ($(strip $(TCSUPPORT_CPU_RT65168)),)
export TCSUPPORT_CPU_RT65168
#export USBDEV20=1
export TCPLATFORM=rt65168
#COMPILE_TOOLCHAIN=mips-linux-uclibc
export TC3262=1
TC_CFLAGS+=-DTCSUPPORT_CPU_RT65168 -DTC3262
endif
ifneq ($(strip $(TCSUPPORT_CPU_MT7510)),)
export TCSUPPORT_CPU_RT63365
export TCSUPPORT_CPU_MT7510
TC_CFLAGS+=-DTCSUPPORT_CPU_MT7510
export RALINK_PCIE_ADDR_SWAP=1
export TCSUPPORT_HWNAT_WIFI=1
export TCPLATFORM=mt7510
export TC3262=1
export RT63365=1
export TCSUPPORT_MT7510_FE=1
export TCSUPPORT_ADDR_MAPPING=1
export TCSUPPORT_FINAL_DRAMC=1
#__Tina__, TCSUPPORT_WAN_ITF_LIMIT is not ori export
export TCSUPPORT_WAN_ITF_LIMIT=1
#COMPILE_TOOLCHAIN=mips-linux-uclibc
#TC_CFLAGS+= -DTCSUPPORT_CPU_RT63365 -DTC3262 -DTCSUPPORT_MT7510_FE -DTCSUPPORT_ADDR_MAPPING -DTCSUPPORT_HWNAT_LED
TC_CFLAGS+= -DTCSUPPORT_CPU_RT63365 -DTC3262 -DTCSUPPORT_MT7510_FE -DTCSUPPORT_ADDR_MAPPING -DTCSUPPORT_WAN_ITF_LIMIT -DTCSUPPORT_HWNAT_LED
ifneq ($(strip $(TCSUPPORT_DMT_CO)),)
export TCSUPPORT_DMT_CO
TC_CFLAGS+=-DTCSUPPORT_DMT_CO
endif
ifneq ($(strip $(TCSUPPORT_FTTDP_V2)),)
export TCSUPPORT_FTTDP_V2=1
TC_CFLAGS+=-DTCSUPPORT_FTTDP_V2
endif
ifneq ($(strip $(TCSUPPORT_CT)),)
ifeq ($(strip $(TCSUPPORT_CT_7510_E2)),)
export TCSUPPORT_MT7510_E1=1
TC_CFLAGS+= -DTCSUPPORT_MT7510_E1
endif
endif
ifneq ($(strip $(TCSUPPORT_WLAN_MT7592)),)
TC_CFLAGS+=-DTCSUPPORT_WLAN_MT7592_PCIE
export TCSUPPORT_WLAN_MT7592_PCIE
endif
endif
ifneq ($(strip $(TCSUPPORT_CPU_MT7520)),)
#ifeq ($(strip $(TCSUPPORT_NEWTOOLCHAIN)),)
#COMPILE_TOOLCHAIN=mips-linux-uclibc
#else
#COMPILE_TOOLCHAIN=mips-unknown-linux-uclibc
#endif
TC_CFLAGS+=-DTCSUPPORT_CPU_MT7520
export TCSUPPORT_CPU_MT7520
TC_CFLAGS+=-DTC3262
export TC3262=1
TC_CFLAGS+=-DTCSUPPORT_MT7510_FE
export TCSUPPORT_MT7510_FE=1
TC_CFLAGS+=-DTCSUPPORT_MT7530_SWITCH_API
export TCSUPPORT_MT7530_SWITCH_API=1
TC_CFLAGS+=-DTCSUPPORT_ADDR_MAPPING
export TCSUPPORT_ADDR_MAPPING=1
export TCSUPPORT_FINAL_DRAMC=1
export RALINK_PCIE_ADDR_SWAP=1
export TCPLATFORM=mt7520
export RT63365=1
TC_CFLAGS+=-DTCSUPPORT_MERGED_DSCP_FORMAT
export TCSUPPORT_MERGED_DSCP_FORMAT=1
#TC_CFLAGS+=-DTCSUPPORT_KPROFILE
#export TCSUPPORT_KPROFILE=1
TC_CFLAGS+=-DCONFIG_USE_MT7520_ASIC
export CONFIG_USE_MT7520_ASIC=1
#export TCSUPPORT_MT7510_E1=1
#TC_CFLAGS+= -DTCSUPPORT_MT7510_E1
ifneq ($(strip $(TCSUPPORT_WLAN_MT7592)),)
TC_CFLAGS+=-DTCSUPPORT_WLAN_MT7592_PCIE
export TCSUPPORT_WLAN_MT7592_PCIE
endif
ifneq ($(strip $(TCSUPPORT_DMT_CO)),)
export TCSUPPORT_DMT_CO
TC_CFLAGS+=-DTCSUPPORT_DMT_CO
endif
endif
ifneq ($(strip $(TCSUPPORT_CPU_EN7512)),)
export TC3262=1
export RT63365=1
export EN7512=1
export TCSUPPORT_CPU_RT63365=1
export TCSUPPORT_CPU_MT7510=1
export TCSUPPORT_CPU_EN7512=1
export TCPLATFORM=en7512
export TCSUPPORT_MT7510_FE=1
export TCSUPPORT_ADDR_MAPPING=1
export TCSUPPORT_FINAL_DRAMC=1
export RALINK_PCIE_ADDR_SWAP=1
export TCSUPPORT_HWNAT_WIFI=1
export TCSUPPORT_MULTIWAN=1
export TCSUPPORT_DRIVER_API=1
export TCSUPPORT_BB_SPI=1
export TCSUPPORT_BB_NAND=1
TC_CFLAGS+=-DTCSUPPORT_DRIVER_API
TC_CFLAGS+= -DTC3262
TC_CFLAGS+= -DTCSUPPORT_CPU_RT63365
TC_CFLAGS+= -DTCSUPPORT_CPU_MT7510
TC_CFLAGS+= -DTCSUPPORT_CPU_EN7512
TC_CFLAGS+= -DTCSUPPORT_MT7510_FE
TC_CFLAGS+= -DTCSUPPORT_ADDR_MAPPING
TC_CFLAGS+= -DTCSUPPORT_HWNAT_LED
TC_CFLAGS+= -DTCSUPPORT_MULTIWAN
#ifeq ($(strip $(TCSUPPORT_NEWTOOLCHAIN)),)
#COMPILE_TOOLCHAIN=mips-linux-uclibc
#else
#COMPILE_TOOLCHAIN=mips-unknown-linux-uclibc
#endif
TC_CFLAGS+=-DTCSUPPORT_MT7530_SWITCH_API
export TCSUPPORT_MT7530_SWITCH_API=1
endif
ifneq ($(strip $(TCSUPPORT_CPU_EN7521)),)
#ifeq ($(strip $(TCSUPPORT_NEWTOOLCHAIN)),)
#COMPILE_TOOLCHAIN=mips-linux-uclibc
#else
#COMPILE_TOOLCHAIN=mips-unknown-linux-uclibc
#endif
TC_CFLAGS+=-DTCSUPPORT_CPU_MT7520
export TCSUPPORT_CPU_MT7520=1
export TCSUPPORT_CPU_EN7521=1
TC_CFLAGS+=-DTC3262
export TC3262=1
export EN7512=1
TC_CFLAGS+=-DTCSUPPORT_MT7510_FE
export TCSUPPORT_MT7510_FE=1
TC_CFLAGS+=-DTCSUPPORT_MT7530_SWITCH_API
export TCSUPPORT_MT7530_SWITCH_API=1
TC_CFLAGS+=-DTCSUPPORT_DRIVER_API
export TCSUPPORT_DRIVER_API=1
TC_CFLAGS+=-DTCSUPPORT_ADDR_MAPPING
export TCSUPPORT_ADDR_MAPPING=1
export TCSUPPORT_FINAL_DRAMC=1
export RALINK_PCIE_ADDR_SWAP=1
export TCSUPPORT_HWNAT_WIFI=1
export TCPLATFORM=en7521
export RT63365=1
export TCSUPPORT_BB_SPI=1
export TCSUPPORT_BB_NAND=1
TC_CFLAGS+=-DCONFIG_USE_MT7520_ASIC
TC_CFLAGS+= -DTCSUPPORT_CPU_EN7521
export CONFIG_USE_MT7520_ASIC=1
ifneq ($(strip $(TCSUPPORT_WLAN_MT7592)),)
TC_CFLAGS+=-DTCSUPPORT_WLAN_MT7592_PCIE
export TCSUPPORT_WLAN_MT7592_PCIE
endif
TC_CFLAGS+= -DTCSUPPORT_UART1_ENHANCE
endif
ifneq ($(strip $(TCSUPPORT_CPU_MT7505)),)
export TCSUPPORT_CPU_RT63365
export TCSUPPORT_CPU_MT7510
export TCSUPPORT_CPU_MT7505
export TCSUPPORT_NEW_SPIFLASH
export TCSUPPORT_NEW_SPIFLASH_DEBUG
#TC_CFLAGS+=-DTCSUPPORT_CPU_MT7510
TC_CFLAGS+=-DTCSUPPORT_CPU_MT7505
TC_CFLAGS+=-DTCSUPPORT_NEW_SPIFLASH
TC_CFLAGS+=-DTCSUPPORT_NEW_SPIFLASH_DEBUG
#TC_CFLAGS+=-DTCSUPPORT_CPU_MT7520
#TC_CFLAGS+=-DTCSUPPORT_MT7530_SWITCH_API
export RALINK_PCIE_ADDR_SWAP=1
export TCSUPPORT_HWNAT_WIFI=1
export TCPLATFORM=mt7505
export TC3262=1
export RT63365=1
export TCSUPPORT_MT7510_FE=1
export TCSUPPORT_ADDR_MAPPING=1
export TCSUPPORT_FINAL_DRAMC=1
#export MT7510_DMA_DSCP_CACHE=1
#Led verify code(TCSUPPORT_GPIO_VERIFY),default is not used
#export TCSUPPORT_GPIO_VERIFY=1
#TC_CFLAGS+=-DTCSUPPORT_GPIO_VERIFY
#hec 6906 verify code(TCSUPPORT_VERIFY),default is not used
#export TCSUPPORT_HEC_6906=1
#TC_CFLAGS+=-DTCSUPPORT_HEC_6906
#COMPILE_TOOLCHAIN=mips-linux-uclibc
TC_CFLAGS+= -DTCSUPPORT_CPU_RT63365 -DTC3262 -DTCSUPPORT_MT7510_FE -DTCSUPPORT_ADDR_MAPPING
#TC_CFLAGS+= -DTCSUPPORT_CPU_RT63365 -DTC3262 -DTCSUPPORT_MT7510_FE
#export TCSUPPORT_MT7510_E1=1
#TC_CFLAGS+= -DTCSUPPORT_MT7510_E1
ifneq ($(strip $(MT7510_DMA_DSCP_CACHE)),)
TC_CFLAGS+= -DMT7510_DMA_DSCP_CACHE
#TC_CFLAGS+= -DDMA_DSP_CACHE_LINE_TEST
endif
export MT7505_PQA_SWITCH_TEST
ifneq ($(strip $(MT7505_PQA_SWITCH_TEST)),)
TC_CFLAGS+= -DMT7505_PQA_SWITCH_TEST
endif
ifneq ($(strip $(TCSUPPORT_WLAN_MT7592)),)
TC_CFLAGS+=-DTCSUPPORT_WLAN_MT7592_PCIE
export TCSUPPORT_WLAN_MT7592_PCIE
endif
endif
ifneq ($(strip $(TCSUPPORT_2_6_36_KERNEL)),)
export TCSUPPORT_2_6_36_KERNEL=1
TC_CFLAGS+=-DTCSUPPORT_2_6_36_KERNEL
endif
ifneq ($(strip $(TCSUPPORT_MT7530_SWITCH_API)),)
export TCSUPPORT_MT7530_SWITCH_API
TC_CFLAGS+=-DTCSUPPORT_MT7530_SWITCH_API
endif
#new chip define must before this line.
#ifneq ($(strip $(TCSUPPORT_NEWTOOLCHAIN)),)
#COMPILE_TOOLCHAIN=mips-unknown-linux-uclibc
#endif
export COMPILE_TOOLCHAIN
ifneq ($(strip $(TCSUPPORT_WAN_ATM)),)
export TCSUPPORT_WAN_ATM
TC_CFLAGS+=-DTCSUPPORT_WAN_ATM
endif
ifneq ($(strip $(TCSUPPORT_WAN_PTM)),)
export TCSUPPORT_WAN_PTM
TC_CFLAGS+=-DTCSUPPORT_WAN_PTM
endif
ifneq ($(strip $(TCSUPPORT_WAN_ETHER)),)
export TCSUPPORT_WAN_ETHER
TC_CFLAGS+=-DTCSUPPORT_WAN_ETHER
endif
ifneq ($(strip $(TCSUPPORT_WAN_GPON)),)
export TCSUPPORT_WAN_GPON
export TCSUPPORT_XPON_IFC
ifneq ($(strip $(TCSUPPORT_CPU_EN7521)),)
export CONFIG_GPON_MAX_TCONT=32
TC_CFLAGS+=-DCONFIG_GPON_MAX_TCONT=32
else
export CONFIG_GPON_MAX_TCONT=16
TC_CFLAGS+=-DCONFIG_GPON_MAX_TCONT=16
endif
export CONFIG_GPON_MAX_GEMPORT=256
TC_CFLAGS+=-DTCSUPPORT_WAN_GPON
TC_CFLAGS+=-DTCSUPPORT_XPON_IFC
TC_CFLAGS+=-DCONFIG_GPON_MAX_GEMPORT=256
endif
ifneq ($(strip $(TCSUPPORT_WAN_EPON)),)
export TCSUPPORT_WAN_EPON
export TCSUPPORT_XPON_IFC
export CONFIG_EPON_MAX_LLID=8
TC_CFLAGS+=-DTCSUPPORT_WAN_EPON
TC_CFLAGS+=-DTCSUPPORT_XPON_IFC
TC_CFLAGS+=-DCONFIG_EPON_MAX_LLID=8
endif
ifneq ($(strip $(TCSUPPORT_QDMA_BUFMGR)),)
export TCSUPPORT_QDMA_BUFMGR
TC_CFLAGS+=-DTCSUPPORT_QDMA_BUFMGR
endif
ifneq ($(strip $(TCSUPPORT_QDMA_VERIFY)),)
export TCSUPPORT_QDMA_VERIFY=1
TC_CFLAGS+=-DTCSUPPORT_QDMA_VERIFY
endif
ifneq ($(strip $(TCSUPPORT_SLM_EN)),)
export TCSUPPORT_SLM_EN=1
TC_CFLAGS+=-DTCSUPPORT_SLM_EN
endif
ifneq ($(strip $(TCSUPPORT_SLM_VERIFY)),)
export TCSUPPORT_SLM_VERIFY
TC_CFLAGS+=-DTCSUPPORT_SLM_VERIFY
endif
ifneq ($(strip $(TCSUPPORT_MAX_PACKET_2000)),)
export TCSUPPORT_MAX_PACKET_2000
TC_CFLAGS+=-DTCSUPPORT_MAX_PACKET_2000
endif
ifneq ($(strip $(TCSUPPORT_GPON_MAPPING)),)
export TCSUPPORT_GPON_MAPPING
TC_CFLAGS+=-DTCSUPPORT_GPON_MAPPING
endif
ifneq ($(strip $(TCSUPPORT_EPON_MAPPING)),)
export TCSUPPORT_EPON_MAPPING
TC_CFLAGS+=-DTCSUPPORT_EPON_MAPPING
endif
ifneq ($(strip $(TCSUPPORT_GPON_DOWNSTREAM_MAPPING)),)
export TCSUPPORT_GPON_DOWNSTREAM_MAPPING
TC_CFLAGS+=-DTCSUPPORT_GPON_DOWNSTREAM_MAPPING
endif
ifneq ($(strip $(TCSUPPORT_SDRAM_8M)),)
export TCSUPPORT_SDRAM_8M
export 8M=1
endif
ifneq ($(strip $(TCSUPPORT_SDRAM_16M)),)
export TCSUPPORT_FW_UPGRADE_16M=1
export TCSUPPORT_SDRAM_16M
export 16M=1
TC_CFLAGS+=-DTCSUPPORT_FW_UPGRADE_16M
endif
ifneq ($(strip $(TCSUPPORT_SDRAM_32M)),)
export TCSUPPORT_SDRAM_32M
export 32M=1
endif
ifneq ($(strip $(TCSUPPORT_SDRAM_64M)),)
export TCSUPPORT_SDRAM_64M
export 64M=1
endif
#frankliao added 20101115
ifneq ($(strip $(TCSUPPORT_BB_SPI)),)
export TCSUPPORT_BB_SPI
export SPI=1
endif
ifneq ($(strip $(TCSUPPORT_BB_NAND)),)
export TCSUPPORT_BB_NAND
TC_CFLAGS+=-DTCSUPPORT_BB_NAND
export NAND=1
endif
ifneq ($(strip $(TCSUPPORT_NAND_BADBLOCK_CHECK)),)
export TCSUPPORT_NAND_BADBLOCK_CHECK=1
TC_CFLAGS+=-DTCSUPPORT_NAND_BADBLOCK_CHECK
endif
ifneq ($(strip $(TCSUPPORT_NAND_RT63368)),)
export TCSUPPORT_NAND_RT63368=1
TC_CFLAGS+=-DTCSUPPORT_NAND_RT63368
endif
ifneq ($(strip $(TCSUPPORT_NAND_BMT)),)
export TCSUPPORT_NAND_BMT=y
TC_CFLAGS+=-DTCSUPPORT_NAND_BMT
endif
ifneq ($(strip $(TCSUPPORT_SQUASHFS_ADD_YAFFS)),)
export TCSUPPORT_YAFFS_FS=y
export TCSUPPORT_SQUASHFS_ADD_YAFFS=y
TC_CFLAGS+=-DTCSUPPORT_SQUASHFS_ADD_YAFFS -DTCSUPPORT_YAFFS_FS
endif
ifneq ($(strip $(TCSUPPORT_BB_NAND_4K)),)
export TCSUPPORT_BB_NAND_4K=1
TC_CFLAGS+=-DTCSUPPORT_BB_NAND_4K
endif
ifneq ($(strip $(TCSUPPORT_DDR_CALI)),)
export TCSUPPORT_DDR_CALI=1
export TCSUPPORT_DDR_CALI_BIN=1
TC_CFLAGS+=-DTCSUPPORT_DDR_CALI
endif
ifneq ($(strip $(TCSUPPORT_DDR_CALI_NAND)),)
export TCSUPPORT_DDR_CALI_NAND=1
export TCSUPPORT_DDR_CALI_BIN=1
TC_CFLAGS+=-DTCSUPPORT_DDR_CALI_NAND
endif
ifneq ($(strip $(TCSUPPORT_BOOTROM_BACKDOOR)),)
export TCSUPPORT_BOOTROM_BACKDOOR=1
TC_CFLAGS+=-DTCSUPPORT_BOOTROM_BACKDOOR
endif
ifneq ($(strip $(TCSUPPORT_BOOTROM_LARGE_SIZE)),)
export TCSUPPORT_BOOTROM_LARGE_SIZE=1
TC_CFLAGS+=-DTCSUPPORT_BOOTROM_LARGE_SIZE
endif
#frankliao added 20100803
#Bootloader Compression Support
ifneq ($(strip $(TCSUPPORT_BOOT_LZMA)),)
export TCSUPPORT_BOOT_LZMA
#Free Bootloader 120k memory, tc3162u default close
ifeq ($(strip $(TCSUPPORT_CPU_TC3162U)),)
ifneq ($(strip $(TCSUPPORT_INIC_CLIENT)),)
export TCSUPPORT_FREE_BOOTBASE=0
export START_ADDR=0x80020000
export KERNEL_START_ADDR=0xffffffff80020000
TC_CFLAGS+=-DSTART_ADDR=0x80020000
else
export TCSUPPORT_FREE_BOOTBASE=1
export START_ADDR=0x80002000
export KERNEL_START_ADDR=0xffffffff80002000
TC_CFLAGS+=-DSTART_ADDR=0x80002000
TC_CFLAGS+=-DTCSUPPORT_FREE_BOOTBASE
endif
endif
endif
#ifneq ($(strip $(TCSUPPORT_PUREBRIDGE)),)
#export TCSUPPORT_PUREBRIDGE
#export PURE_BRIDGE=1
#TC_CFLAGS+=-DPURE_BRIDGE
#endif
ifneq ($(strip $(TCSUPPORT_TR68LED)),)
export TCSUPPORT_TR68LED
export TR068_LED=1
TC_CFLAGS+=-DTR068_LED
endif
ifneq ($(strip $(TCSUPPORT_GPIO_ECM)),)
export TCSUPPORT_GPIO_ECM
TC_CFLAGS+=-DTCSUPPORT_GPIO_ECM
endif
ifneq ($(strip $(TCSUPPORT_GPIO_VERIFY)),)
export TCSUPPORT_GPIO_VERIFY
TC_CFLAGS+=-DTCSUPPORT_GPIO_VERIFY
endif
ifneq ($(strip $(TCSUPPORT_HEC_6906)),)
export TCSUPPORT_HEC_6906
TC_CFLAGS+=-DTCSUPPORT_HEC_6906
endif
ifneq ($(strip $(TCSUPPORT_I2C)),)
export TCSUPPORT_I2C
TC_CFLAGS+=-DTCSUPPORT_I2C
endif
ifneq ($(strip $(TCSUPPORT_WLAN)),)
export TCSUPPORT_WLAN
TC_CFLAGS+=-DTCSUPPORT_WLAN
ifneq ($(strip $(TCSUPPORT_CT_PON)),)
export TCSUPPORT_WLAN_MAXSTANUM_GUI=1
TC_CFLAGS+=-DTCSUPPORT_WLAN_MAXSTANUM_GUI
endif
ifneq ($(strip $(TCSUPPORT_WLAN_WPS)),)
export TCSUPPORT_WLAN_WPS
export WSC_AP_SUPPORT=1
TC_CFLAGS+=-DWSC_AP_SUPPORT
ifneq ($(strip $(TCSUPPORT_WLAN_WPS_LEDSPEC)),)
export TCSUPPORT_WLAN_WPS_LEDSPEC
export LED_WPSSPEC_COMPLY=1
TC_CFLAGS+=-DLED_WPSSPEC_COMPLY
endif
ifneq ($(strip $(TCSUPPORT_WLAN_MULTI_WPS)),)
export TCSUPPORT_WLAN_MULTI_WPS=1
TC_CFLAGS+=-DTCSUPPORT_WLAN_MULTI_WPS
endif
ifneq ($(strip $(TCSUPPORT_AUTHENTICATION_TYPE)),)
export TCSUPPORT_AUTHENTICATION_TYPE=1
TC_CFLAGS+=-DTCSUPPORT_AUTHENTICATION_TYPE
endif
endif
ifneq ($(strip $(TCSUPPORT_WLAN_IGMPSNOOP)),)
export TCSUPPORT_WLAN_IGMPSNOOP
export IGMP_SNOOP_SUPPORT=1
TC_CFLAGS+=-DIGMP_SNOOP_SUPPORT
endif
ifneq ($(strip $(TCSUPPORT_CT_WLAN_WAPI)),)
export TCSUPPORT_CT_WLAN_WAPI
export TCSUPPORT_CT_WLAN_WAPI=1
TC_CFLAGS+=-DTCSUPPORT_CT_WLAN_WAPI
endif
ifneq ($(strip $(TCSUPPORT_WLAN_ATE)),)
export TCSUPPORT_WLAN_ATE
endif
ifneq ($(strip $(TCSUPPORT_WLAN_QATOOL)),)
export TCSUPPORT_WLAN_QATOOL
endif
ifneq ($(strip $(TCSUPPORT_WLAN_GPIO)),)
export TCSUPPORT_WLAN_GPIO
TC_CFLAGS+=-DTCSUPPORT_WLAN_GPIO
endif
ifneq ($(strip $(TCSUPPORT_WLAN_LED_BY_SW)),)
export TCSUPPORT_WLAN_LED_BY_SW
TC_CFLAGS+=-DTCSUPPORT_WLAN_LED_BY_SW
endif
ifneq ($(strip $(TCSUPPORT_WLAN_PMF)),)
export TCSUPPORT_WLAN_PMF
TC_CFLAGS+=-DTCSUPPORT_WLAN_PMF
endif
ifneq ($(strip $(TCSUPPORT_SINGLE_SKU)),)
export TCSUPPORT_SINGLE_SKU
TC_CFLAGS+=-DTCSUPPORT_SINGLE_SKU
endif
ifneq ($(strip $(TCSUPPORT_WLAN_DYNAMIC_RX_RATE_ADJ)),)
export TCSUPPORT_WLAN_DYNAMIC_RX_RATE_ADJ
TC_CFLAGS+=-DTCSUPPORT_WLAN_DYNAMIC_RX_RATE_ADJ
endif
ifneq ($(strip $(TCSUPPORT_WLAN_RT2561)),)
export TCSUPPORT_WLAN_RT2561
endif
ifneq ($(strip $(TCSUPPORT_WLAN_RT3390)),)
export TCSUPPORT_WLAN_RT3390
TC_CFLAGS+=-DRT3390
endif
ifneq ($(strip $(TCSUPPORT_WLAN_RT3090)),)
TC_CFLAGS+=-DRT3090
export TCSUPPORT_WLAN_RT3090
endif
ifneq ($(strip $(TCSUPPORT_WLAN_RT5392)),)
TC_CFLAGS+=-DRT5392 -DBBUTOWBU
export TCSUPPORT_WLAN_RT5392
endif
ifneq ($(strip $(TCSUPPORT_WLAN_RT5390)),)
TC_CFLAGS+=-DRT5392 -DBBUTOWBU
export TCSUPPORT_WLAN_RT5390
endif
ifneq ($(strip $(TCSUPPORT_WLAN_RT5390HL)),)
TC_CFLAGS+=-DRT5392 -DBBUTOWBU
export TCSUPPORT_WLAN_RT5390HL
endif
ifneq ($(strip $(TCSUPPORT_WLAN_MT7601E)),)
TC_CFLAGS+=-DMT7601E -DBBUTOWBU
export TCSUPPORT_WLAN_MT7601E
endif
ifneq ($(strip $(TCSUPPORT_WLAN_MT7592)),)
TC_CFLAGS+=-DMT7592 -DBBUTOWBU -DTCSUPPORT_WLAN_MT7592
export TCSUPPORT_WLAN_MT7592
endif
ifneq ($(strip $(TCSUPPORT_WLAN_MULTIDRIVER)),)
TC_CFLAGS+=-DRT5392 -DBBUTOWBU -DWLAN_MULTIDRIVER -DTCSUPPORT_WLAN_MULTIDRIVER
export TCSUPPORT_WLAN_MULTIDRIVER
endif
ifneq ($(strip $(TCSUPPORT_DUAL_WLAN_RT5592_RT3593)),)
TC_CFLAGS+=-DTCSUPPORT_DUAL_WLAN
export TCSUPPORT_DUAL_WLAN_RT5592_RT3593
endif
ifneq ($(strip $(TCSUPPORT_DUAL_WLAN_RT5592)),)
TC_CFLAGS+=-DTCSUPPORT_DUAL_WLAN
endif
ifneq ($(strip $(TCSUPPORT_DUAL_WLAN_RT3593)),)
TC_CFLAGS+=-DTCSUPPORT_DUAL_WLAN
endif
ifneq ($(strip $(TCSUPPORT_DUAL_WLAN_MT7610E)),)
TC_CFLAGS+=-DMT7610E -DBBUTOWBU -DTCSUPPORT_DUAL_WLAN -DTCSUPPORT_WLAN_AC
export TCSUPPORT_DUAL_WLAN_MT7610E
endif
ifneq ($(strip $(TCSUPPORT_DUAL_WLAN_MT7612E)),)
TC_CFLAGS+=-DMT7612E -DBBUTOWBU -DTCSUPPORT_DUAL_WLAN -DTCSUPPORT_WLAN_AC
export TCSUPPORT_DUAL_WLAN_MT7612E
endif
endif
ifneq ($(strip $(TCSUPPORT_HW_CRYPTO)),)
export TCSUPPORT_HW_CRYPTO=1
TC_CFLAGS+=-DMTK_CRYPTO_DRIVER
ifneq ($(strip $(TCSUPPORT_CPU_MT7510)$(TCSUPPORT_CPU_MT7520)),)
export TCSUPPORT_IPSEC_PASSTHROUGH
TC_CFLAGS+=-DTCSUPPORT_IPSEC_PASSTHROUGH
endif
endif
ifneq ($(strip $(TCSUPPORT_VPN)),)
export TCSUPPORT_VPN
TC_CFLAGS+=-DTCSUPPORT_VPN
endif
ifneq ($(strip $(TCSUPPORT_USBHOST)),)
export TCSUPPORT_USBHOST
TC_CFLAGS+=-DTCSUPPORT_USBHOST
ifneq ($(strip $(TCSUPPORT_USB_NTFS)),)
export TCSUPPORT_USB_NTFS
endif
ifneq ($(strip $(TCSUPPORT_MUH)),)
export TCSUPPORT_MUH
TC_CFLAGS+=-DTCSUPPORT_MUH
endif
ifneq ($(strip $(TCSUPPORT_MUH_TEST)),)
export TCSUPPORT_MUH_TEST
TC_CFLAGS+=-DTCSUPPORT_MUH_TEST
endif
ifneq ($(strip $(TCSUPPORT_USB_AUTOMOUNT)),)
export TCSUPPORT_USB_AUTOMOUNT
TC_CFLAGS+=-DUSB_AUTOMOUNT
endif
ifneq ($(strip $(TCSUPPORT_USB_3G_DONGLE)),)
export TCSUPPORT_USB_3G_DONGLE=1
TC_CFLAGS+=-DTC_SUPPORT_3G
#when open TCSUPPORT_USB_3G_DONGLE ,also open TCSUPPORT_USB_MODESWITCH
#ifneq ($(strip $(TCSUPPORT_USB_MODESWITCH)),)
export TCSUPPORT_USB_MODESWITCH
TC_CFLAGS+=-DTCSUPPORT_USB_MODESWITCH
#endif
endif
ifneq ($(strip $(TCSUPPORT_USB_HOST_LED)),)
export TCSUPPORT_USB_HOST_LED
TC_CFLAGS+=-DTCSUPPORT_USB_HOST_LED
endif
ifneq ($(strip $(TCSUPPORT_USB_PRINTER_SERVER)),)
export TCSUPPORT_USB_PRINTER_SERVER
endif
endif
ifneq ($(strip $(TCSUPPORT_USBDEVICE11)),)
export TCSUPPORT_USBDEVICE11
export USBDEV11=1
endif
ifneq ($(strip $(TCSUPPORT_USBDEVICE20)),)
export TCSUPPORT_USBDEVICE20
export USBDEV20=1
TC_CFLAGS+=-DTCSUPPORT_USBDEVICE20
endif
ifneq ($(strip $(TCSUPPORT_CT_DNSBIND)),)
export TCSUPPORT_CT_DNSBIND
TC_CFLAGS+=-DTCSUPPORT_CT_DNSBIND
endif
ifneq ($(strip $(TCSUPPORT_TC2031)),)
export TCSUPPORT_TC2031
export TC2031_SUPPORT=1
TC_CFLAGS+=-DTCSUPPORT_TC2031
endif
ifneq ($(strip $(TCSUPPORT_CMDAPI)$(TCSUPPORT_RELEASED_CODE)),)
export TCSUPPORT_CMDAPI=y
export CMD_API=1
TC_CFLAGS+=-DCMD_API
endif
ifneq ($(strip $(TCSUPPORT_CMDPROMPT)),)
export TCSUPPORT_CMDPROMPT=1
TC_CFLAGS+=-DTCSUPPORT_CMDPROMPT
endif
ifneq ($(strip $(TCSUPPORT_HWNAT)),)
export TCSUPPORT_HWNAT=1
TC_CFLAGS+=-DTCSUPPORT_HWNAT
endif
ifneq ($(strip $(TCSUPPORT_RA_HWNAT)),)
export TCSUPPORT_RA_HWNAT=1
ifeq ($(strip $(TCSUPPORT_MT7510_FE)),)
#TC_CFLAGS+=-DTCSUPPORT_RA_HWNAT -I$(MODULES_RA_HWNAT_DIR)
TC_CFLAGS+=-DTCSUPPORT_RA_HWNAT $(if $(MODULES_RA_HWNAT_DIR),-I$(MODULES_RA_HWNAT_DIR))
else
#TC_CFLAGS+=-DTCSUPPORT_RA_HWNAT -I$(MODULES_RA_HWNAT_7510_DIR)
TC_CFLAGS+=-DTCSUPPORT_RA_HWNAT $(if $(MODULES_RA_HWNAT_7510_DIR),-I$(MODULES_RA_HWNAT_7510_DIR))
endif
ifneq ($(strip $(TCSUPPORT_HWNAT_L2VID)),)
export TCSUPPORT_HWNAT_L2VID=1
TC_CFLAGS+=-DTCSUPPORT_HWNAT_L2VID
endif
endif
ifneq ($(strip $(TCSUPPORT_RA_HWNAT_ENHANCE_HOOK)),)
export TCSUPPORT_RA_HWNAT_ENHANCE_HOOK=1
TC_CFLAGS+=-DTCSUPPORT_RA_HWNAT_ENHANCE_HOOK
endif
ifneq ($(strip $(TCSUPPORT_UART2)),)
export TCSUPPORT_UART2=1
TC_CFLAGS+=-DTCSUPPORT_UART2
endif
ifneq ($(strip $(TCSUPPORT_MT7530_EXTERNAL)),)
export TCSUPPORT_MT7530_EXTERNAL=1
TC_CFLAGS+=-DMT7530_SUPPORT
endif
ifneq ($(strip $(TCSUPPORT_SIM_CONTROLLER)),)
export TCSUPPORT_SIM_CONTROLLER=1
TC_CFLAGS+=-DTCSUPPORT_SIM_CONTROLLER
endif
ifneq ($(strip $(TCSUPPORT_DYING_GASP_OPTIMIZATION)),)
export TCSUPPORT_DYING_GASP=1
TC_CFLAGS+=-DTCSUPPORT_DYING_GASP
endif
ifneq ($(strip $(TCSUPPORT_TCAPI_ENHANCE)),)
export TCSUPPORT_TCAPI_ENHANCE
TC_CFLAGS+=-DTCSUPPORT_TCAPI_ENHANCE
ifneq ($(strip $(TCSUPPORT_TCAPI_ENHANCE_EPON)),)
export TCSUPPORT_TCAPI_ENHANCE_EPON
TC_CFLAGS+=-DTCSUPPORT_TCAPI_ENHANCE_EPON
endif
ifneq ($(strip $(TCSUPPORT_TCAPI_ENHANCE_GPON)),)
export TCSUPPORT_TCAPI_ENHANCE_GPON
TC_CFLAGS+=-DTCSUPPORT_TCAPI_ENHANCE_GPON
endif
endif
ifneq ($(strip $(TCSUPPORT_IPV6)),)
export TCSUPPORT_IPV6
TC_CFLAGS+=-DTCSUPPORT_IPV6
TC_CFLAGS+=-DIPV6
endif
ifneq ($(strip $(TCSUPPORT_IPV6_ENHANCEMENT)),)
export TCSUPPORT_IPV6_ENHANCEMENT
TC_CFLAGS+=-DTCSUPPORT_IPV6_ENHANCEMENT
endif
ifneq ($(strip $(TCSUPPORT_DSLITE)),)
export TCSUPPORT_DSLITE
TC_CFLAGS+=-DTCSUPPORT_DSLITE
endif
ifneq ($(strip $(TCSUPPORT_6RD)),)
export TCSUPPORT_6RD
TC_CFLAGS+=-DTCSUPPORT_6RD
endif
ifneq ($(strip $(TCSUPPORT_OPT212)),)
export TCSUPPORT_OPT212
TC_CFLAGS+=-DTCSUPPORT_OPT212
endif
ifneq ($(strip $(TCSUPPORT_IPV6_ADVANCE)),)
export TCSUPPORT_IPV6_ADVANCE
TC_CFLAGS+=-DTCSUPPORT_IPV6_ADVANCE
endif
ifneq ($(strip $(TCSUPPORT_IPV6_FIREWALL)),)
export TCSUPPORT_IPV6_FIREWALL
TC_CFLAGS+=-DTCSUPPORT_IPV6_FIREWALL
ifneq ($(strip $(TCSUPPORT_2_6_36_KERNEL)),)
export CONFIG_SYN_COOKIES
TC_CFLAGS+=-DCONFIG_SYN_COOKIES
else
export TCSUPPORT_TCP6_SYN_COOKIE
TC_CFLAGS+=-DTCSUPPORT_TCP6_SYN_COOKIE
endif
endif
ifneq ($(strip $(TCSUPPORT_IPV6_FIREWALL_RFC2827)),)
export TCSUPPORT_IPV6_FIREWALL_RFC2827
TC_CFLAGS+=-DTCSUPPORT_IPV6_FIREWALL_RFC2827
endif
ifneq ($(strip $(TCSUPPORT_IPV6_ACL)),)
export TCSUPPORT_IPV6_ACL=1
TC_CFLAGS+=-DTCSUPPORT_IPV6_ACL
endif
ifneq ($(strip $(TCSUPPORT_IPV6_TELNET)),)
export TCSUPPORT_IPV6_TELNET
TC_CFLAGS+=-DTCSUPPORT_IPV6_TELNET
endif
ifneq ($(strip $(TCSUPPORT_IPV6_TFTP)),)
export TCSUPPORT_IPV6_TFTP
TC_CFLAGS+=-DTCSUPPORT_IPV6_TFTP
endif
ifneq ($(strip $(TCSUPPORT_IPV6_FTP)),)
export TCSUPPORT_IPV6_FTP
TC_CFLAGS+=-DTCSUPPORT_IPV6_FTP
endif
ifneq ($(strip $(TCSUPPORT_IPV6_INETD)),)
export TCSUPPORT_IPV6_INETD
TC_CFLAGS+=-DTCSUPPORT_IPV6_INETD
endif
ifneq ($(strip $(TCSUPPORT_IPV6_PRIVACYADDRS)),)
export TCSUPPORT_IPV6_PRIVACYADDRS=1
TC_CFLAGS+=-DTCSUPPORT_IPV6_PRIVACYADDRS
endif
ifneq ($(strip $(TCSUPPORT_IPV6_RIPNG)),)
export TCSUPPORT_IPV6_RIPNG
TC_CFLAGS+=-DTCSUPPORT_IPV6_RIPNG
endif
ifneq ($(strip $(TCSUPPORT_IPV6_STATIC_ROUTE)),)
export TCSUPPORT_IPV6_STATIC_ROUTE=1
TC_CFLAGS+=-DTCSUPPORT_IPV6_STATIC_ROUTE
endif
ifneq ($(strip $(TCSUPPORT_BONDING)),)
export TCSUPPORT_BONDING
TC_CFLAGS+=-DTCSUPPORT_BONDING
endif
ifneq ($(strip $(TCSUPPORT_MT7530_SLT)),)
export TCSUPPORT_MT7530_SLT
export MT7530_SLT=1
TC_CFLAGS+=-DTCSUPPORT_MT7530_SLT
endif
ifneq ($(strip $(TCSUPPORT_AUTOBENCH)),)
export TCSUPPORT_AUTOBENCH
export SAR_VERIFY=1
TC_CFLAGS+=-DTCSUPPORT_AUTOBENCH -DSAR_VERIFY
ifneq ($(strip $(TCSUPPORT_AUTOBENCH_DMT3095)),)
export TCSUPPORT_AUTOBENCH_AFE
TC_CFLAGS+=-DTCSUPPORT_AUTOBENCH_AFE
endif
ifneq ($(strip $(TCSUPPORT_AUTOBENCH_RT65168)),)
export TCSUPPORT_AUTOBENCH_CPU
TC_CFLAGS+=-DTCSUPPORT_AUTOBENCH_CPU
endif
ifneq ($(strip $(TCSUPPORT_AUTOBENCH_DMT3087)),)
export TCSUPPORT_AUTOBENCH_AFE
TC_CFLAGS+=-DTCSUPPORT_AUTOBENCH_AFE
endif
ifneq ($(strip $(TCSUPPORT_AUTOBENCH_MT7510)),)
export TCSUPPORT_AUTOBENCH_MT7510
TC_CFLAGS+=-DTCSUPPORT_AUTOBENCH_MT7510
endif
ifneq ($(strip $(TCSUPPORT_AUTOBENCH_DMTA60901)),)
export TCSUPPORT_AUTOBENCH_AFE
TC_CFLAGS+=-DTCSUPPORT_AUTOBENCH_AFE
endif
ifneq ($(strip $(TCSUPPORT_AUTOBENCH_MT7505)),)
export TCSUPPORT_AUTOBENCH_MT7505
TC_CFLAGS+=-DTCSUPPORT_AUTOBENCH_MT7505
endif
ifneq ($(strip $(TCSUPPORT_AUTOBENCH_MT7550)),)
export TCSUPPORT_AUTOBENCH_AFE
TC_CFLAGS+=-DTCSUPPORT_AUTOBENCH_AFE
endif
## When doing menuconfig, enable TCSUPPORT_AUTOBENCH_EN7556 will enable TCSUPPORT_AUTOBENCH_AFE (config.in)
ifneq ($(strip $(TCSUPPORT_AUTOBENCH_AFE)),)
export TCSUPPORT_AUTOBENCH_AFE
TC_CFLAGS+=-DTCSUPPORT_AUTOBENCH_AFE
endif
## When doing menuconfig, enable TCSUPPORT_AUTOBENCH_EN7512 will enable TCSUPPORT_AUTOBENCH_MAIN_CHIP (config.in)
ifneq ($(strip $(TCSUPPORT_AUTOBENCH_MAIN_CHIP)),)
export TCSUPPORT_AUTOBENCH_MAIN_CHIP
TC_CFLAGS+=-DTCSUPPORT_AUTOBENCH_MAIN_CHIP
endif
endif
ifneq ($(strip $(TCSUPPORT_NAND_FLASH)),)
export TCSUPPORT_NAND_FLASH
TC_CFLAGS+=-DTCSUPPORT_NAND_FLASH
endif
ifneq ($(strip $(TCSUPPORT_VOIP)),)
export TCSUPPORT_VOIP
export VOIP_DSP=MTK
export WITHVOIP=1
export TCSUPPORT_VOIP_MTK=1
TC_CFLAGS+=-DWITHVOIP -DTCSUPPORT_VOIP -DTCSUPPORT_VOIP_MTK
##Add by mtk06404 for control ecn sip or megaco
ifneq ($(strip $(TCSUPPORT_ECN_SIP)),)
export TCSUPPORT_ECN_SIP=1
TC_CFLAGS+=-DTCSUPPORT_ECN_SIP
endif
ifneq ($(strip $(TCSUPPORT_ECN_MEGACO)),)
export TCSUPPORT_ECN_MEGACO=1
TC_CFLAGS+=-DTCSUPPORT_ECN_MEGACO
endif
ifneq ($(strip $(TCSUPPORT_VOIP_LED_APPCTRL)),)
export TCSUPPORT_VOIP_LED_APPCTRL=1
TC_CFLAGS+=-DTCSUPPORT_VOIP_LED_APPCTRL
endif
ifneq ($(strip $(TCSUPPORT_VOIP_SIP_DNS)),)
export TCSUPPORT_VOIP_SIP_DNS=1
TC_CFLAGS+=-DTCSUPPORT_VOIP_SIP_DNS
endif
ifneq ($(strip $(TCSUPPORT_CT)),)
export TCSUPPORT_VOIP_LED_APPCTRL=1
TC_CFLAGS+=-DTCSUPPORT_VOIP_LED_APPCTRL
endif
ifneq ($(strip $(TCSUPPORT_SLIC_ZL88801)),)
export TCSUPPORT_SLIC_ZL88801=1
TC_CFLAGS+=-DTCSUPPORT_SLIC_ZL88801
endif
endif
ifneq ($(strip $(TCSUPPORT_PON_VLAN)),)
export TCSUPPORT_PON_VLAN
TC_CFLAGS+=-DTCSUPPORT_PON_VLAN
endif
ifneq ($(strip $(TCSUPPORT_ETHER_DOWNVLAN)),)
export TCSUPPORT_ETHER_DOWNVLAN
TC_CFLAGS+=-DTCSUPPORT_ETHER_DOWNVLAN
endif
ifneq ($(strip $(TCSUPPORT_PON_IP_HOST)),)
export TCSUPPORT_PON_IP_HOST
TC_CFLAGS+=-DTCSUPPORT_PON_IP_HOST
endif
ifneq ($(strip $(TCSUPPORT_PON_MAC_FILTER)),)
export TCSUPPORT_PON_MAC_FILTER
TC_CFLAGS+=-DTCSUPPORT_PON_MAC_FILTER
endif
ifneq ($(strip $(TCSUPPORT_PON_USER_ISOLATION)),)
export TCSUPPORT_PON_USER_ISOLATION
TC_CFLAGS+=-DTCSUPPORT_PON_USER_ISOLATION
endif
ifneq ($(strip $(TCSUPPORT_PON_VLAN_FILTER)),)
export TCSUPPORT_PON_VLAN_FILTER
TC_CFLAGS+=-DTCSUPPORT_PON_VLAN_FILTER
endif
ifneq ($(strip $(TCSUPPORT_VLAN_PASSTHROUGH)),)
export TCSUPPORT_VLAN_PASSTHROUGH
TC_CFLAGS+=-DTCSUPPORT_VLAN_PASSTHROUGH
endif
ifneq ($(strip $(TCSUPPORT_CWMP)),)
export TCSUPPORT_CWMP
TC_CFLAGS+=-DTCSUPPORT_CWMP
TC_CFLAGS+=-DCWMP
ifneq ($(strip $(TCSUPPORT_CWMP_SSL)$(TCSUPPORT_RELEASED_CODE)),)
export TCSUPPORT_CWMP_SSL=y
export SSL=1
TC_CFLAGS+=-DSSL
ifneq ($(strip $(TCSUPPORT_CWMP_SSL_MULTICA)$(TCSUPPORT_RELEASED_CODE)),)
TC_CFLAGS+=-DCWMP_MULTI_CA
export CWMP_MULTI_CA=1
TC_CFLAGS+=-DMULTI_CA
endif
endif
ifneq ($(strip $(TCSUPPORT_CWMP_TR111)$(TCSUPPORT_RELEASED_CODE)),)
export TCSUPPORT_CWMP_TR111=y
TC_CFLAGS+=-DTR111
endif
ifneq ($(strip $(TCSUPPORT_CWMP_TR143)$(TCSUPPORT_RELEASED_CODE)),)
export TCSUPPORT_CWMP_TR143=y
export TR143=1
TC_CFLAGS+=-DTR143
endif
ifneq ($(strip $(TCSUPPORT_CWMP_PRECISE_TIME)),)
export TCSUPPORT_CWMP_PRECISE_TIME
TC_CFLAGS+=-DTCSUPPORT_CWMP_PRECISE_TIME
endif
ifneq ($(strip $(TCSUPPORT_CWMP_CS_BSNL)),)
export TCSUPPORT_CWMP_CS_BSNL
TC_CFLAGS+=-DTCSUPPORT_CWMP_CS_BSNL
endif
ifneq ($(strip $(TCSUPPORT_CWMP_FAST_GET)),)
export TCSUPPORT_CWMP_FAST_GET=1
TC_CFLAGS+=-DTCSUPPORT_CWMP_FAST_GET
endif
endif
ifneq ($(strip $(TCSUPPORT_CLMP)),)
export CLMP=1
export TCSUPPORT_CLMP=1
TC_CFLAGS+=-DCLMP
TC_CFLAGS+=-DTCSUPPORT_CLMP
endif
ifneq ($(strip $(TCSUPPORT_SIMPLE_UPNP)),)
export TCSUPPORT_SIMPLE_UPNP=1
TC_CFLAGS+=-DTCSUPPORT_SIMPLE_UPNP
endif
ifneq ($(strip $(TCSUPPORT_LAYER2BRIDGING)),)
export TCSUPPORT_LAYER2BRIDGING=1
TC_CFLAGS+=-DTCSUPPORT_LAYER2BRIDGING
endif
ifneq ($(strip $(TCSUPPORT_DOWNSTREAM_QOS)),)
export TCSUPPORT_DOWNSTREAM_QOS
TC_CFLAGS+=-DTCSUPPORT_DOWNSTREAM_QOS
endif
ifneq ($(strip $(TCSUPPORT_QOS)),)
export TCSUPPORT_QOS
export CONFIG_QOS=y
TC_CFLAGS+=-DTCSUPPORT_QOS
TC_CFLAGS+=-DCONFIG_QOS
endif
ifneq ($(strip $(TCSUPPORT_CT_QOS)),)
export TCSUPPORT_CT_QOS
TC_CFLAGS+=-DTCSUPPORT_CT_QOS
endif
ifneq ($(strip $(TCSUPPORT_CT_SWQOS)),)
export TCSUPPORT_CT_SWQOS
TC_CFLAGS+=-DTCSUPPORT_CT_SWQOS
endif
ifneq ($(strip $(TCSUPPORT_CT_URL_FILTER)),)
export TCSUPPORT_CT_URL_FILTER
TC_CFLAGS+=-DTCSUPPORT_CT_URL_FILTER
endif
ifneq ($(strip $(TCSUPPORT_PPPOE_SIMULATE)),)
export TCSUPPORT_PPPOE_SIMULATE
TC_CFLAGS+=-DTCSUPPORT_PPPOE_SIMULATE
endif
ifneq ($(strip $(TCSUPPORT_EPON_OAM_CUC)),)
export TCSUPPORT_EPON_OAM_CUC
TC_CFLAGS+=-DTCSUPPORT_EPON_OAM_CUC
endif
ifneq ($(strip $(TCSUPPORT_CT_HWNAT_OFFLOAD)),)
export TCSUPPORT_CT_HWNAT_OFFLOAD
TC_CFLAGS+=-DTCSUPPORT_CT_HWNAT_OFFLOAD
endif
ifneq ($(strip $(TCSUPPORT_IGMP_QOS)$(TCSUPPORT_RELEASED_CODE)),)
export TCSUPPORT_IGMP_QOS=y
TC_CFLAGS+=-DTCSUPPORT_IGMP_QOS
endif
ifneq ($(strip $(TCSUPPORT_QOS_QUEUE_MODIFY)),)
export TCSUPPORT_QOS_QUEUE_MODIFY
TC_CFLAGS+=-DTCSUPPORT_QOS_QUEUE_MODIFY
endif
ifneq ($(strip $(TCSUPPORT_PORTBIND)),)
export TCSUPPORT_PORTBIND
TC_CFLAGS+=-DTCSUPPORT_PORTBIND
endif
ifneq ($(strip $(TCSUPPORT_POLICYROUTE_FOR_PORTBIND)),)
export TCSUPPORT_POLICYROUTE_FOR_PORTBIND
TC_CFLAGS+=-DTCSUPPORT_POLICYROUTE_FOR_PORTBIND
endif
ifneq ($(strip $(TCSUPPORT_CT_PORT_BIND)),)
export TCSUPPORT_CT_PORT_BIND
TC_CFLAGS+=-DTCSUPPORT_CT_PORT_BIND
endif
ifneq ($(strip $(TCSUPPORT_VLAN_TAG)),)
export TCSUPPORT_VLAN_TAG
TC_CFLAGS+=-DTCSUPPORT_VLAN_TAG
endif
ifneq ($(strip $(TCSUPPORT_GPON_MAPPING)),)
export TCSUPPORT_GPON_MAPPING
TC_CFLAGS+=-DTCSUPPORT_GPON_MAPPING
endif
ifneq ($(strip $(TCSUPPORT_GPON_DOWNSTREAM_MAPPING)),)
export TCSUPPORT_GPON_DOWNSTREAM_MAPPING
TC_CFLAGS+=-DTCSUPPORT_GPON_DOWNSTREAM_MAPPING
endif
ifneq ($(strip $(TCSUPPORT_VTAG_ALLDEV)),)
export TCSUPPORT_VTAG_ALLDEV
TC_CFLAGS+=-DTCSUPPORT_VTAG_ALLDEV
endif
ifneq ($(strip $(TCSUPPORT_SNMP)),)
export TCSUPPORT_SNMP
TC_CFLAGS += -DTCSUPPORT_SNMP
endif
ifneq ($(strip $(TCSUPPORT_SNMP_TRUSTIP)),)
export TCSUPPORT_SNMP_TRUSTIP
TC_CFLAGS+=-DTCSUPPORT_SNMP_TRUSTIP
endif
ifneq ($(strip $(TCSUPPORT_SNMP_ATMADSL)),)
export TCSUPPORT_SNMP_ATMADSL
TC_CFLAGS+=-DTCSUPPORT_SNMP_ATMADSL
endif
ifneq ($(strip $(TCSUPPORT_SNMP_FULL)),)
export TCSUPPORT_SNMP_FULL
TC_CFLAGS+=-DTCSUPPORT_SNMP_FULL
endif
ifneq ($(strip $(TCSUPPORT_SNMP_CHT)),)
export TCSUPPORT_SNMP_CHT
TC_CFLAGS+=-DTCSUPPORT_SNMP_CHT
endif
ifneq ($(strip $(TCSUPPORT_CHT_RAMENU)),)
export TCSUPPORT_CHT_RAMENU
TC_CFLAGS+=-DTCSUPPORT_CHT_RAMENU
endif
ifneq ($(strip $(TCSUPPORT_START_TRAP)),)
export TCSUPPORT_START_TRAP
TC_CFLAGS+=-DTCSUPPORT_START_TRAP
endif
ifneq ($(strip $(TCSUPPORT_SNMP_V3)),)
export TCSUPPORT_SNMP_V3
TC_CFLAGS+=-DTCSUPPORT_SNMP_V3
endif
ifneq ($(strip $(TCSUPPORT_IPV6_SNMP)),)
export TCSUPPORT_IPV6_SNMP
TC_CFLAGS+=-DTCSUPPORT_IPV6_SNMP
endif
ifneq ($(strip $(TCSUPPORT_SNMP_REDUCED)),)
export TCSUPPORT_SNMP_REDUCED
TC_CFLAGS+=-DTCSUPPORT_SNMP_REDUCED
endif
ifneq ($(strip $(TCSUPPORT_ALIASIP)),)
export TCSUPPORT_ALIASIP
TC_CFLAGS+=-DALIAS_IP
endif
ifneq ($(strip $(TCSUPPORT_DHCP_STATIC)),)
export TCSUPPORT_DHCP_STATIC
TC_CFLAGS+=-DSTATIC_DHCP
endif
ifneq ($(strip $(TCSUPPORT_DHCP_PROFILE)),)
export DHCP_PROFILE=1
export TCSUPPORT_DHCP_PROFILE
TC_CFLAGS+=-DDHCP_PROFILE
endif
ifneq ($(strip $(TCSUPPORT_E8B)),)
export TCSUPPORT_E8B
TC_CFLAGS+=-DTCSUPPORT_E8B
endif
ifneq ($(strip $(TCSUPPORT_DNSEACHPVC)),)
export TCSUPPORT_DNSEACHPVC=1
TC_CFLAGS+=-DTCSUPPORT_DNSEACHPVC
endif
ifneq ($(strip $(TCSUPPORT_MLD_SNOOPING)),)
export TCSUPPORT_MLD_SNOOPING=1
TC_CFLAGS+=-DTCSUPPORT_MLD_SNOOPING
endif
ifneq ($(strip $(TCSUPPORT_MLD_PROXY)),)
export TCSUPPORT_MLD_PROXY=1
TC_CFLAGS+=-DTCSUPPORT_MLD_PROXY
endif
ifneq ($(strip $(TCSUPPORT_IGMP_SNOOPING)),)
export TCSUPPORT_IGMP_SNOOPING=1
TC_CFLAGS+=-DTCSUPPORT_IGMP_SNOOPING
endif
ifneq ($(strip $(TCSUPPORT_IGMPSNOOPING_ENHANCE)),)
export TCSUPPORT_IGMPSNOOPING_ENHANCE=1
TC_CFLAGS+=-DTCSUPPORT_IGMPSNOOPING_ENHANCE
ifneq ($(strip $(TCSUPPORT_MULTICAST_SPEED)),)
export TCSUPPORT_MULTICAST_SPEED=1
TC_CFLAGS+=-DTCSUPPORT_MULTICAST_SPEED
endif
endif
ifneq ($(strip $(TCSUPPORT_IGMP_PROXY_V3)),)
export TCSUPPORT_IGMP_PROXY_V3=1
TC_CFLAGS+=-DTCSUPPORT_IGMP_PROXY_V3
endif
ifneq ($(strip $(TCSUPPORT_IGMP_PROXY)),)
export TCSUPPORT_IGMP_PROXY=1
TC_CFLAGS+=-DTCSUPPORT_IGMP_PROXY
endif
ifneq ($(strip $(TCSUPPORT_SMUX)),)
export TCSUPPORT_SMUX=1
TC_CFLAGS+=-DTCSUPPORT_SMUX
endif
ifneq ($(strip $(TCSUPPORT_FTTDP_V2)),)
export TCSUPPORT_FTTDP_V2=1
TC_CFLAGS+=-DTCSUPPORT_FTTDP_V2
endif
ifneq ($(strip $(TCSUPPORT_INIC_HOST)),)
export TCSUPPORT_INIC_HOST=1
TC_CFLAGS+=-DTCSUPPORT_INIC_HOST
endif
ifneq ($(strip $(TCSUPPORT_RESET_INIC_CLIENT_GPIO)),)
TC_CFLAGS+=-DTCSUPPORT_RESET_INIC_CLIENT_GPIO=$(TCSUPPORT_RESET_INIC_CLIENT_GPIO)
endif
ifneq ($(strip $(TCSUPPORT_INIC_CLIENT)),)
export TCSUPPORT_INIC_CLIENT=1
TC_CFLAGS+=-DTCSUPPORT_INIC_CLIENT
endif
ifneq ($(strip $(TCSUPPORT_DUAL_IMAGE)),)
export CONFIG_DUAL_IMAGE=1
TC_CFLAGS+=-DCONFIG_DUAL_IMAGE
ifneq ($(strip $(TCSUPPORT_GPON_DUAL_IMAGE)),)
export TCSUPPORT_GPON_DUAL_IMAGE
TC_CFLAGS+=-DTCSUPPORT_GPON_DUAL_IMAGE
endif
ifneq ($(strip $(TCSUPPORT_EPON_DUAL_IMAGE)),)
export TCSUPPORT_EPON_DUAL_IMAGE
TC_CFLAGS+=-DTCSUPPORT_EPON_DUAL_IMAGE
endif
ifneq ($(strip $(TCSUPPORT_TTNET)),)
export TCSUPPORT_DUAL_IMAGE_ENHANCE=1
TC_CFLAGS+=-DTCSUPPORT_DUAL_IMAGE_ENHANCE
endif
ifneq ($(strip $(TCSUPPORT_DUAL_IMAGE_ENHANCE)),)
export TCSUPPORT_DUAL_IMAGE_ENHANCE=1
TC_CFLAGS+=-DTCSUPPORT_DUAL_IMAGE_ENHANCE
endif
ifneq ($(strip $(TCSUPPORT_DUAL_IMAGE_8M)),)
export TCSUPPORT_DUAL_IMAGE_8M=1
TC_CFLAGS+=-DTCSUPPORT_DUAL_IMAGE_8M
endif
endif
ifneq ($(strip $(TCSUPPORT_MT7520_PCIE)),)
export TCSUPPORT_MT7520_PCIE=1
TC_CFLAGS+=-DTCSUPPORT_MT7520_PCIE
endif
ifneq ($(strip $(TCSUPPORT_LEDKEY)),)
export TCSUPPORT_LEDKEY=1
TC_CFLAGS+=-DTCSUPPORT_LEDKEY
endif
ifneq ($(strip $(TCSUPPORT_IGMP_SNOOPING_V3)$(TCSUPPORT_RELEASED_CODE)),)
export TCSUPPORT_IGMP_SNOOPING_V3=1
TC_CFLAGS+=-DTCSUPPORT_IGMP_SNOOPING_V3
endif
ifneq ($(strip $(TCSUPPORT_XPON_HAL_API)),)
export TCSUPPORT_XPON_HAL_API=1
TC_CFLAGS+=-DTCSUPPORT_XPON_HAL_API
endif
ifneq ($(strip $(TCSUPPORT_ORN_EBTABLES)),)
export TCSUPPORT_ORN_EBTABLES=1
TC_CFLAGS+=-TCSUPPORT_ORN_EBTABLES
endif
ifneq ($(strip $(TCSUPPORT_XPON_HAL_API_MCST)),)
export TCSUPPORT_XPON_HAL_API_MCST=1
TC_CFLAGS+=-DTCSUPPORT_XPON_HAL_API_MCST
endif
ifneq ($(strip $(TCSUPPORT_MTD_PARTITIONS_CMDLINE)),)
export TCSUPPORT_MTD_PARTITIONS_CMDLINE=1
TC_CFLAGS+=-DTCSUPPORT_MTD_PARTITIONS_CMDLINE
export TCSUPPORT_PARTITIONS_CMDLINE_STR
TC_CFLAGS+=-DTCSUPPORT_PARTITIONS_CMDLINE_STR=\"$(TCSUPPORT_PARTITIONS_CMDLINE_STR)\"
endif
ifneq ($(strip $(TCSUPPORT_MTD_ENCHANCEMENT)),)
export TCSUPPORT_MTD_ENCHANCEMENT=1
TC_CFLAGS+=-DTCSUPPORT_MTD_ENCHANCEMENT
ifeq ($(strip $(TCSUPPORT_RESERVEAREA_BLOCK)),1)
TC_CFLAGS+=-DTCSUPPORT_RESERVEAREA_BLOCK=1
export TCSUPPORT_RESERVEAREA_BLOCK=1
endif
ifeq ($(strip $(TCSUPPORT_RESERVEAREA_BLOCK)),2)
TC_CFLAGS+=-DTCSUPPORT_RESERVEAREA_BLOCK=2
export TCSUPPORT_RESERVEAREA_BLOCK=2
endif
ifeq ($(strip $(TCSUPPORT_RESERVEAREA_BLOCK)),3)
TC_CFLAGS+=-DTCSUPPORT_RESERVEAREA_BLOCK=3
export TCSUPPORT_RESERVEAREA_BLOCK=3
endif
ifeq ($(strip $(TCSUPPORT_RESERVEAREA_BLOCK)),4)
TC_CFLAGS+=-DTCSUPPORT_RESERVEAREA_BLOCK=4
export TCSUPPORT_RESERVEAREA_BLOCK=4
endif
ifeq ($(strip $(TCSUPPORT_RESERVEAREA_BLOCK)),5)
TC_CFLAGS+=-DTCSUPPORT_RESERVEAREA_BLOCK=5
export TCSUPPORT_RESERVEAREA_BLOCK=5
endif
ifeq ($(strip $(TCSUPPORT_RESERVEAREA_BLOCK)),7)
TC_CFLAGS+=-DTCSUPPORT_RESERVEAREA_BLOCK=7
export TCSUPPORT_RESERVEAREA_BLOCK=7
endif
endif
ifneq ($(strip $(TCSUPPORT_BACKUPROMFILE)),)
export TCSUPPORT_BACKUPROMFILE=1
TC_CFLAGS+=-DTCSUPPORT_BACKUPROMFILE
endif
ifneq ($(strip $(TCSUPPORT_NOTDEFAULTROMFILEAREA)),)
export TCSUPPORT_NOTDEFAULTROMFILEAREA=1
TC_CFLAGS+=-DTCSUPPORT_NOTDEFAULTROMFILEAREA
endif
ifneq ($(strip $(TCSUPPORT_CT_2PWIFI)),)
export TCSUPPORT_CT_2PWIFI
TC_CFLAGS+=-DTCSUPPORT_CT_2PWIFI
endif
ifneq ($(strip $(TCSUPPORT_PRODUCTIONLINE)),)
export TCSUPPORT_PRODUCTIONLINE
TC_CFLAGS+=-DTCSUPPORT_PRODUCTIONLINE
endif
ifneq ($(strip $(TCSUPPORT_PRODUCTIONLINE_DATE)),)
export TCSUPPORT_PRODUCTIONLINE_DATE
TC_CFLAGS+=-DTCSUPPORT_PRODUCTIONLINE_DATE
endif
ifneq ($(strip $(TCSUPPORT_PRODUCTIONLINE_CONTENT)),)
export TCSUPPORT_PRODUCTIONLINE_CONTENT
TC_CFLAGS+=-DTCSUPPORT_PRODUCTIONLINE_CONTENT
endif
ifneq ($(strip $(TCSUPPORT_UNIQUEMAC)),)
export TCSUPPORT_UNIQUEMAC
TC_CFLAGS+=-DTCSUPPORT_UNIQUEMAC
endif
ifneq ($(strip $(TCSUPPORT_AUTO_IP)),)
export TCSUPPORT_AUTO_IP
TC_CFLAGS+=-DTCSUPPORT_AUTO_IP
endif
ifneq ($(strip $(TCSUPPORT_DMS)),)
export TCSUPPORT_DMS
TC_CFLAGS+=-DTCSUPPORT_DMS
endif
ifneq ($(strip $(TCSUPPORT_DMS_FULL_FORMAT)),)
export TCSUPPORT_DMS_FULL_FORMAT
TC_CFLAGS+=-DTCSUPPORT_DMS_FULL_FORMAT
endif
ifneq ($(strip $(TCSUPPORT_WEB_SAVE)$(TCSUPPORT_RELEASED_CODE)),)
export TCSUPPORT_WEB_SAVE=y
TC_CFLAGS+=-DTCSUPPORT_WEB_SAVE
endif
ifneq ($(strip $(TCSUPPORT_MODEL_CHECK)),)
export TCSUPPORT_MODEL_CHECK
TC_CFLAGS+=-DTCSUPPORT_MODEL_CHECK
endif
ifneq ($(strip $(TCSUPPORT_FILTER_DSCP)),)
export TCSUPPORT_FILTER_DSCP
export TCSUPPORT_XT_MATCH_DSCP=1
TC_CFLAGS+=-DTCSUPPORT_FILTER_DSCP
endif
ifneq ($(strip $(TCSUPPORT_2PORTS)),)
export TCSUPPORT_2PORTS
TC_CFLAGS+=-DTCSUPPORT_2PORTS
endif
ifneq ($(strip $(TCSUPPORT_DHCP_PORT_FLT)),)
export TCSUPPORT_DHCP_PORT_FLT
TC_CFLAGS+=-DTCSUPPORT_DHCP_PORT_FLT
endif
ifneq ($(strip $(TCSUPPORT_PERIOD_DMZ)),)
export TCSUPPORT_PERIOD_DMZ
TC_CFLAGS+=-DTCSUPPORT_PERIOD_DMZ
endif
ifneq ($(strip $(TCSUPPORT_2NTP_SERVER)),)
export TCSUPPORT_2NTP_SERVER
TC_CFLAGS+=-DTCSUPPORT_2NTP_SERVER
endif
ifneq ($(strip $(TCSUPPORT_3NTP_SERVER)),)
export TCSUPPORT_3NTP_SERVER
TC_CFLAGS+=-DTCSUPPORT_3NTP_SERVER
endif
ifneq ($(strip $(TCSUPPORT_PAP_NACK_COUNT)),)
export TCSUPPORT_PAP_NACK_COUNT
TC_CFLAGS+=-DTCSUPPORT_PAP_NACK_COUNT
endif
ifneq ($(strip $(TCSUPPORT_PPP_AUTHEN)),)
export TCSUPPORT_PPP_AUTHEN
TC_CFLAGS+=-DTCSUPPORT_PPP_AUTHEN
endif
ifneq ($(strip $(TCSUPPORT_UPNP_CERT)$(TCSUPPORT_RELEASED_CODE)),)
export TCSUPPORT_UPNP_CERT=y
TC_CFLAGS+=-DTCSUPPORT_UPNP_CERT
endif
ifneq ($(strip $(TCSUPPORT_RESET_10S)),)
export TCSUPPORT_RESET_10S
TC_CFLAGS+=-DTCSUPPORT_RESET_10S
endif
ifneq ($(strip $(TCSUPPORT_ACCOUNT_ACL)),)
export TCSUPPORT_ACCOUNT_ACL
TC_CFLAGS+=-DTCSUPPORT_ACCOUNT_ACL
endif
ifneq ($(strip $(TCSUPPORT_XT_CONDITION)),)
export TCSUPPORT_XT_CONDITION=1
TC_CFLAGS+=-DTCSUPPORT_XT_CONDITION
endif
ifneq ($(strip $(TCSUPPORT_TR069_OPT43)),)
export TCSUPPORT_TR069_OPT43
TC_CFLAGS+=-DTCSUPPORT_TR069_OPT43
endif
ifneq ($(strip $(TCSUPPORT_WAN_TAG_CHK)),)
export TCSUPPORT_WAN_TAG_CHK
TC_CFLAGS+=-DTCSUPPORT_WAN_TAG_CHK
endif
ifneq ($(strip $(TCSUPPORT_SYSLOG_ENHANCE)),)
export TCSUPPORT_SYSLOG_ENHANCE
TC_CFLAGS+=-DTCSUPPORT_SYSLOG_ENHANCE
endif
ifneq ($(strip $(TCSUPPORT_FWNAME_NOCHK)),)
export TCSUPPORT_FWNAME_NOCHK
TC_CFLAGS+=-DTCSUPPORT_FWNAME_NOCHK
endif
ifneq ($(strip $(TCSUPPORT_PORT_TRIGGER)),)
export TCSUPPORT_PORT_TRIGGER=1
TC_CFLAGS+=-DTCSUPPORT_PORT_TRIGGER
export TCSUPPORT_IMPROVE_GUI_PERFM=1
TC_CFLAGS+=-DTCSUPPORT_IMPROVE_GUI_PERFM
export TCSUPPORT_WEB_CFG_NODE=1
TC_CFLAGS+=-DTCSUPPORT_WEB_CFG_NODE
export TCSUPPORT_WEB_TMP_NODE=1
TC_CFLAGS+=-DTCSUPPORT_WEB_TMP_NODE
endif
ifneq ($(strip $(TCSUPPORT_IMPROVE_GUI_PERFM)),)
export TCSUPPORT_IMPROVE_GUI_PERFM=1
TC_CFLAGS+=-DTCSUPPORT_IMPROVE_GUI_PERFM
endif
ifneq ($(strip $(TCSUPPORT_WEB_CFG_NODE)),)
export TCSUPPORT_WEB_CFG_NODE=1
TC_CFLAGS+=-DTCSUPPORT_WEB_CFG_NODE
endif
ifneq ($(strip $(TCSUPPORT_WEB_TMP_NODE)),)
export TCSUPPORT_WEB_TMP_NODE=1
TC_CFLAGS+=-DTCSUPPORT_WEB_TMP_NODE
endif
ifneq ($(strip $(TCSUPPORT_C1_NEW_GUI)),)
export TCSUPPORT_C1_NEW_GUI=1
TC_CFLAGS+=-DTCSUPPORT_C1_NEW_GUI
endif
ifneq ($(strip $(TCSUPPORT_C1_OBM)),)
export TCSUPPORT_C1_OBM=1
TC_CFLAGS+=-DTCSUPPORT_C1_OBM
ifneq ($(strip $(TCSUPPORT_OBM_FW)),)
export TCSUPPORT_OBM_FW=1
TC_CFLAGS+=-DTCSUPPORT_OBM_FW
endif
endif
ifneq ($(strip $(TCSUPPORT_C1_NOSPI)),)
export TCSUPPORT_C1_NOSPI=1
TC_CFLAGS+=-DTCSUPPORT_C1_NOSPI
endif
ifneq ($(strip $(TCSUPPORT_BYPASS_TRIANGLE)),)
export TCSUPPORT_BYPASS_TRIANGLE=1
TC_CFLAGS+=-DTCSUPPORT_BYPASS_TRIANGLE
endif
ifneq ($(strip $(TCSUPPORT_RESET_TEST_MODE)),)
export TCSUPPORT_RESET_TEST_MODE=1
TC_CFLAGS+=-DTCSUPPORT_RESET_TEST_MODE
endif
ifneq ($(strip $(TCSUPPORT_AUTO_PVC_TRIGGER)),)
export TCSUPPORT_AUTO_PVC_TRIGGER=1
TC_CFLAGS+=-DTCSUPPORT_AUTO_PVC_TRIGGER
endif
ifneq ($(strip $(TCSUPPORT_C1_SYSLOG)),)
export TCSUPPORT_C1_SYSLOG=1
TC_CFLAGS+=-DTCSUPPORT_C1_SYSLOG
endif
ifneq ($(strip $(TCSUPPORT_C1_POWER_GPIO)),)
export TCSUPPORT_C1_POWER_GPIO=1
TC_CFLAGS+=-DTCSUPPORT_C1_POWER_GPIO
endif
ifneq ($(strip $(TCSUPPORT_ARC_CWMP)),)
export TCSUPPORT_ARC_CWMP=1
TC_CFLAGS+=-DTCSUPPORT_ARC_CWMP
endif
ifneq ($(strip $(TCSUPPORT_STDIO_TIMEOUT)),)
export TCSUPPORT_STDIO_TIMEOUT=1
TC_CFLAGS+=-DTCSUPPORT_STDIO_TIMEOUT
endif
ifneq ($(strip $(TCSUPPORT_SELF_LOGIN_WINDOW)),)
export TCSUPPORT_SELF_LOGIN_WINDOW=1
TC_CFLAGS+=-DTCSUPPORT_SELF_LOGIN_WINDOW
endif
ifneq ($(strip $(TCSUPPORT_XT_CONNLIMIT)),)
export TCSUPPORT_XT_CONNLIMIT=1
TC_CFLAGS+=-DTCSUPPORT_XT_CONNLIMIT
endif
ifneq ($(strip $(TCSUPPORT_WLAN_8021X)),)
export TCSUPPORT_WLAN_8021X=1
TC_CFLAGS+=-DTCSUPPORT_WLAN_8021X
ifneq ($(strip $(TCSUPPORT_WLAN_8021X_EXT)),)
export TCSUPPORT_WLAN_8021X_EXT=1
TC_CFLAGS+=-DTCSUPPORT_WLAN_8021X_EXT
ifneq ($(strip $(TCSUPPORT_WLAN_8021X_EXT_SHOW_MAC)),)
export TCSUPPORT_WLAN_8021X_EXT_SHOW_MAC=1
TC_CFLAGS+=-DTCSUPPORT_WLAN_8021X_EXT_SHOW_MAC
endif
endif
endif
ifneq ($(strip $(TCSUPPORT_WLAN_WDS)),)
export TCSUPPORT_WLAN_WDS=1
TC_CFLAGS+=-DTCSUPPORT_WLAN_WDS
export WDS_SUPPORT=1
TC_CFLAGS+=-DWDS_SUPPORT=1
endif
ifneq ($(strip $(TCSUPPORT_WLAN_PERSSID_SWITCH)),)
export TCSUPPORT_WLAN_PERSSID_SWITCH=1
TC_CFLAGS+=-DTCSUPPORT_WLAN_PERSSID_SWITCH
endif
ifneq ($(strip $(TCSUPPORT_WLAN_PERSSID_RATELIMIT)),)
export TCSUPPORT_WLAN_PERSSID_RATELIMIT=1
TC_CFLAGS+=-DTCSUPPORT_WLAN_PERSSID_RATELIMIT
endif
ifneq ($(strip $(TCSUPPORT_LED_WPS_BICOLOR)),)
export TCSUPPORT_LED_WPS_BICOLOR=1
TC_CFLAGS+=-DTCSUPPORT_LED_WPS_BICOLOR
endif
ifneq ($(strip $(TCSUPPORT_WIFI_WPS_BTN_CO_USE)),)
export TCSUPPORT_WIFI_WPS_BTN_CO_USE=1
TC_CFLAGS+=-DTCSUPPORT_WIFI_WPS_BTN_CO_USE
endif
ifneq ($(strip $(TCSUPPORT_SCHEDULE)),)
export TCSUPPORT_SCHEDULE=1
TC_CFLAGS+=-DTCSUPPORT_SCHEDULE
endif
ifneq ($(strip $(TCSUPPORT_SCHEDULE_ENHANCE)),)
export TCSUPPORT_SCHEDULE_ENHANCE=1
TC_CFLAGS+=-DTCSUPPORT_SCHEDULE_ENHANCE
endif
ifneq ($(strip $(TCSUPPORT_C1_TRUE)),)
export TCSUPPORT_C1_TRUE=1
TC_CFLAGS+=-DTCSUPPORT_C1_TRUE
endif
ifneq ($(strip $(TCSUPPORT_C2_TRUE)),)
export TCSUPPORT_C2_TRUE=1
TC_CFLAGS+=-DTCSUPPORT_C2_TRUE
endif
ifneq ($(strip $(TCSUPPORT_DDNS_NO_IP)),)
export TCSUPPORT_DDNS_NO_IP=1
TC_CFLAGS+=-DTCSUPPORT_DDNS_NO_IP
endif
ifneq ($(strip $(TCSUPPORT_AUTO_DMZ)),)
export TCSUPPORT_AUTO_DMZ=1
TC_CFLAGS+=-DTCSUPPORT_AUTO_DMZ
endif
ifneq ($(strip $(TCSUPPORT_AUTO_GENERATE)),)
export TCSUPPORT_AUTO_GENERATE=1
TC_CFLAGS+=-DTCSUPPORT_AUTO_GENERATE
endif
ifneq ($(strip $(TCSUPPORT_WLAN_3390_TRUE)),)
export TCSUPPORT_WLAN_3390_TRUE=1
TC_CFLAGS+=-DTCSUPPORT_WLAN_3390_TRUE
endif
ifneq ($(strip $(TCSUPPORT_KEYPARA_STORE)),)
export TCSUPPORT_KEYPARA_STORE=1
TC_CFLAGS+=-DTCSUPPORT_KEYPARA_STORE
endif
ifneq ($(strip $(TCSUPPORT_TRUE_LANDING_PAGE)),)
export TCSUPPORT_TRUE_LANDING_PAGE=1
TC_CFLAGS+=-DTCSUPPORT_TRUE_LANDING_PAGE
endif
ifneq ($(strip $(TCSUPPORT_TRUE_KEYPARA_STORE)),)
export TCSUPPORT_TRUE_KEYPARA_STORE=1
TC_CFLAGS+=-DTCSUPPORT_TRUE_KEYPARA_STORE
endif
ifneq ($(strip $(TCSUPPORT_TRUE_AUTO_GENERATE)),)
export TCSUPPORT_TRUE_AUTO_GENERATE=1
TC_CFLAGS+=-DTCSUPPORT_TRUE_AUTO_GENERATE
endif
ifneq ($(strip $(TCSUPPORT_NAT_SESSION_RESERVE)),)
export TCSUPPORT_NAT_SESSION_RESERVE=1
TC_CFLAGS+=-DTCSUPPORT_NAT_SESSION_RESERVE
endif
ifneq ($(strip $(TCSUPPORT_BHARTI)),)
export TCSUPPORT_BHARTI=1
TC_CFLAGS+=-DTCSUPPORT_BHARTI
endif
ifneq ($(strip $(TCSUPPORT_BOOTLOADER_MODIFY_PVNAME)),)
export TCSUPPORT_BOOTLOADER_MODIFY_PVNAME=1
TC_CFLAGS+=-DTCSUPPORT_BOOTLOADER_MODIFY_PVNAME
endif
ifneq ($(strip $(TCSUPPORT_WEB_INTERCEPTION)),)
export TCSUPPORT_WEB_INTERCEPTION=1
TC_CFLAGS+=-DTCSUPPORT_WEB_INTERCEPTION
endif
ifneq ($(strip $(TCSUPPORT_DYNAMIC_VLAN)),)
export TCSUPPORT_DYNAMIC_VLAN=1
TC_CFLAGS+=-DTCSUPPORT_DYNAMIC_VLAN
endif
ifneq ($(strip $(TCSUPPORT_XT_CONDITION)),)
export TCSUPPORT_XT_CONDITION=1
TC_CFLAGS+=-DTCSUPPORT_XT_CONDITION
endif
ifneq ($(strip $(TCSUPPORT_PORT_TRIGGER)),)
export TCSUPPORT_PORT_TRIGGER=1
TC_CFLAGS+=-DTCSUPPORT_PORT_TRIGGER
endif
ifneq ($(strip $(TCSUPPORT_TIME_OF_DAY)),)
export TCSUPPORT_TIME_OF_DAY=1
TC_CFLAGS+=-DTCSUPPORT_TIME_OF_DAY
endif
ifneq ($(strip $(TCSUPPORT_NATSESSIONS_PERUSER_PERIP)),)
export TCSUPPORT_NATSESSIONS_PERUSER_PERIP=1
TC_CFLAGS+=-DTCSUPPORT_NATSESSIONS_PERUSER_PERIP
endif
ifneq ($(strip $(TCSUPPORT_MAC_TO_LOGIN_PWD)),)
export TCSUPPORT_MAC_TO_LOGIN_PWD=1
TC_CFLAGS+=-DTCSUPPORT_MAC_TO_LOGIN_PWD
endif
ifneq ($(strip $(TCSUPPORT_NEW_CUSTOMER_VERSION)),)
export TCSUPPORT_NEW_CUSTOMER_VERSION=1
TC_CFLAGS+=-DTCSUPPORT_NEW_CUSTOMER_VERSION
endif
ifneq ($(strip $(TCSUPPORT_WEBSERVER_SSL)),)
export TCSUPPORT_WEBSERVER_SSL=1
TC_CFLAGS+=-DTCSUPPORT_WEBSERVER_SSL
endif
ifneq ($(strip $(TCSUPPORT_SSH)),)
export TCSUPPORT_SSH=1
TC_CFLAGS+=-DTCSUPPORT_SSH
endif
ifneq ($(strip $(TCSUPPORT_REDIRECT_WITH_PORTMASK)),)
export TCSUPPORT_REDIRECT_WITH_PORTMASK=1
TC_CFLAGS+=-DTCSUPPORT_REDIRECT_WITH_PORTMASK
endif
ifneq ($(strip $(TCSUPPORT_VIRSVR_LOCALPORT)),)
export TCSUPPORT_VIRSVR_LOCALPORT=1
TC_CFLAGS+=-DTCSUPPORT_VIRSVR_LOCALPORT
endif
ifneq ($(strip $(TCSUPPORT_FW_UPGRADE_DELAY)),)
export TCSUPPORT_FW_UPGRADE_DELAY=1
TC_CFLAGS+=-DTCSUPPORT_FW_UPGRADE_DELAY
endif
ifneq ($(strip $(TCSUPPORT_RANDOM_INFORM)),)
export TCSUPPORT_RANDOM_INFORM=1
TC_CFLAGS+=-DTCSUPPORT_RANDOM_INFORM
endif
ifneq ($(strip $(TCSUPPORT_MULTI_NAT)),)
export TCSUPPORT_MULTI_NAT=1
TC_CFLAGS+=-DTCSUPPORT_MULTI_NAT
endif
ifneq ($(strip $(TCSUPPORT_FW_UPGRADE_16M)$(TCSUPPORT_RELEASED_CODE)),)
export TCSUPPORT_FW_UPGRADE_16M=1
TC_CFLAGS+=-DTCSUPPORT_FW_UPGRADE_16M
endif
ifneq ($(strip $(TCSUPPORT_REMOTE_SYSLOG)),)
export TCSUPPORT_REMOTE_SYSLOG=1
TC_CFLAGS+=-DTCSUPPORT_REMOTE_SYSLOG
endif
ifneq ($(strip $(TCSUPPORT_PADT_BEFORE_PADI)),)
export TCSUPPORT_PADT_BEFORE_PADI=1
TC_CFLAGS+=-DTCSUPPORT_PADT_BEFORE_PADI
endif
ifneq ($(strip $(TCSUPPORT_CWMP_CRPORTCHANGE)),)
export TCSUPPORT_CWMP_CRPORTCHANGE
TC_CFLAGS+=-DTCSUPPORT_CWMP_CRPORTCHANGE
endif
ifneq ($(strip $(TCSUPPORT_TTNET)),)
export TCSUPPORT_TTNET=1
TC_CFLAGS+=-DTCSUPPORT_TTNET
endif
ifneq ($(strip $(TCSUPPORT_TTNET_ROUTEPOLICY)),)
export TCSUPPORT_TTNET_ROUTEPOLICY
TC_CFLAGS+=-DTCSUPPORT_TTNET_ROUTEPOLICY
endif
ifneq ($(strip $(TCSUPPORT_GENERAL_MULTILANGUAGE)),)
export TCSUPPORT_GENERAL_MULTILANGUAGE
TC_CFLAGS+=-DTCSUPPORT_GENERAL_MULTILANGUAGE
endif
ifneq ($(strip $(TCSUPPORT_CHINESE_ONLY)),)
export TCSUPPORT_CHINESE_ONLY
TC_CFLAGS+=-DTCSUPPORT_CHINESE_ONLY
endif
ifneq ($(strip $(MULTI_LANGUAGE_SUPPORT)),)
export MULTI_LANGUAGE_SUPPORT
TC_CFLAGS+=-DMULTI_LANGUAGE_SUPPORT
endif
ifneq ($(strip $(TCSUPPORT_REDIRECT_WLAN_WEB)),)
export TCSUPPORT_REDIRECT_WLAN_WEB
TC_CFLAGS+=-DTCSUPPORT_REDIRECT_WLAN_WEB
endif
ifneq ($(strip $(RA_PARENTALCONTROL)),)
export RA_PARENTALCONTROL
TC_CFLAGS+=-DRA_PARENTALCONTROL
endif
ifneq ($(strip $(TCSUPPORT_PARENTAL_URLBLOCK)),)
export TCSUPPORT_PARENTAL_URLBLOCK
TC_CFLAGS+=-DTCSUPPORT_PARENTAL_URLBLOCK
endif
ifneq ($(strip $(TCSUPPORT_AUTO_DEFAULT_ROUTER)),)
export TCSUPPORT_AUTO_DEFAULT_ROUTER
TC_CFLAGS+=-DTCSUPPORT_AUTO_DEFAULT_ROUTER
endif
ifneq ($(strip $(TCSUPPORT_AUTO_WIFI_SSID)),)
export TCSUPPORT_AUTO_WIFI_SSID
TC_CFLAGS+=-DTCSUPPORT_AUTO_WIFI_SSID
endif
ifneq ($(strip $(RA_ETHERMEDIATYPE)),)
export RA_ETHERMEDIATYPE
TC_CFLAGS+=-DRA_ETHERMEDIATYPE
endif
ifneq ($(strip $(TCSUPPORT_SYSLOG)),)
export TCSUPPORT_SYSLOG=1
TC_CFLAGS+=-DTCSUPPORT_SYSLOG
endif
ifneq ($(strip $(TCSUPPORT_CDVT_ENABLE)),)
export TCSUPPORT_CDVT_ENABLE
TC_CFLAGS+=-DTCSUPPORT_CDVT_ENABLE
endif
ifneq ($(strip $(TCSUPPORT_BRIDGE_FASTPATH)),)
export TCSUPPORT_BRIDGE_FASTPATH
TC_CFLAGS+=-DTCSUPPORT_BRIDGE_FASTPATH
endif
ifneq ($(strip $(TCSUPPORT_RA_MENU)),)
export TCSUPPORT_RA_MENU=1
TC_CFLAGS+=-DTCSUPPORT_RA_MENU
endif
ifneq ($(strip $(TCSUPPORT_NEW_SHELL)),)
export TCSUPPORT_NEW_SHELL=1
TC_CFLAGS+=-DTCSUPPORT_NEW_SHELL
endif
ifneq ($(strip $(TCSUPPORT_SIPROXD)),)
export TCSUPPORT_SIPROXD=1
TC_CFLAGS+=-DTCSUPPORT_SIPROXD
endif
ifneq ($(strip $(TCSUPPORT_SAMBA)),)
export TCSUPPORT_SAMBA=1
TC_CFLAGS+=-DTCSUPPORT_SAMBA
endif
ifneq ($(strip $(TCSUPPORT_SAMBA_IPv6)),)
export TCSUPPORT_SAMBA_IPv6=1
TC_CFLAGS+=-DTCSUPPORT_SAMBA_IPv6
endif
ifneq ($(strip $(TCSUPPORT_CODE_SHRINK)),)
export TCSUPPORT_CODE_SHRINK=1
TC_CFLAGS+=-DTCSUPPORT_CODE_SHRINK
endif
ifneq ($(strip $(TCSUPPORT_MNT_CONF)),)
export TCSUPPORT_MNT_CONF=1
TC_CFLAGS+=-DTCSUPPORT_MNT_CONF
endif
ifneq ($(strip $(TCSUPPORT_RA_GUI)),)
TC_CFLAGS+=-DTCSUPPORT_RA_GUI
endif
ifneq ($(strip $(TCSUPPORT_CHT_DSL_LED)),)
export TCSUPPORT_CHT_DSL_LED=1
TC_CFLAGS+=-DTCSUPPORT_CHT_DSL_LED
endif
ifneq ($(strip $(TCSUPPORT_CD_NEW_GUI)),)
export TCSUPPORT_CD_NEW_GUI=1
TC_CFLAGS+=-DTCSUPPORT_CD_NEW_GUI
endif
ifneq ($(strip $(TCSUPPORT_MULTI_LANGUAGE)),)
export TCSUPPORT_MULTI_LANGUAGE
TC_CFLAGS+=-DTCSUPPORT_MULTI_LANGUAGE
endif
ifneq ($(strip $(TCSUPPORT_GUI_STRING_CONFIG)),)
export TCSUPPORT_GUI_STRING_CONFIG
TC_CFLAGS+=-DTCSUPPORT_GUI_STRING_CONFIG
endif
ifneq ($(strip $(TCSUPPORT_LED_BTN_CHECK)),)
export TCSUPPORT_LED_BTN_CHECK
TC_CFLAGS+=-DTCSUPPORT_LED_BTN_CHECK
ifneq ($(strip $(TCSUPPORT_LED_CHECK)),)
export TCSUPPORT_LED_CHECK
TC_CFLAGS+=-DTCSUPPORT_LED_CHECK
endif
ifneq ($(strip $(TCSUPPORT_BTN_CHECK)),)
export TCSUPPORT_BTN_CHECK
TC_CFLAGS+=-DTCSUPPORT_BTN_CHECK
endif
endif
ifneq ($(strip $(TCSUPPORT_ETH4_WAN_PORT)),)
export TCSUPPORT_ETH4_WAN_PORT
TC_CFLAGS+=-DTCSUPPORT_ETH4_WAN_PORT
endif
ifneq ($(strip $(TCSUPPORT_CD_CODE_REDUCE)),)
export TCSUPPORT_CD_CODE_REDUCE
TC_CFLAGS+=-DTCSUPPORT_CD_CODE_REDUCE
endif
ifneq ($(strip $(TCSUPPORT_CD_WEBPAGE_CODE_SHRINK)),)
export TCSUPPORT_CD_WEBPAGE_CODE_SHRINK
TC_CFLAGS+=-DTCSUPPORT_CD_WEBPAGE_CODE_SHRINK
endif
ifneq ($(strip $(TCSUPPORT_MAX_IPMACFILTER_NUM_48)),)
export TCSUPPORT_MAX_IPMACFILTER_NUM_48
TC_CFLAGS+=-DTCSUPPORT_MAX_IPMACFILTER_NUM_48
endif
ifneq ($(strip $(TCSUPPORT_CD_WEBPAGE_STYLE2)),)
export TCSUPPORT_CD_WEBPAGE_STYLE2
TC_CFLAGS+=-DTCSUPPORT_CD_WEBPAGE_STYLE2
endif
ifneq ($(strip $(TCSUPPORT_CD_MENU_SPEEDUP)),)
export TCSUPPORT_CD_MENU_SPEEDUP
TC_CFLAGS+=-DTCSUPPORT_CD_MENU_SPEEDUP
endif
ifneq ($(strip $(TCSUPPORT_MEMORY_CONTROL)),)
export TCSUPPORT_MEMORY_CONTROL
TC_CFLAGS+=-DTCSUPPORT_MEMORY_CONTROL
endif
ifneq ($(strip $(TCSUPPORT_HNAP)),)
export TCSUPPORT_HNAP
TC_CFLAGS+=-DTCSUPPORT_HNAP
endif
ifneq ($(strip $(TCSUPPORT_CHT_IGMP_NOLEAVEFLOOD)),)
export TCSUPPORT_CHT_IGMP_NOLEAVEFLOOD=1
TC_CFLAGS+=-DTCSUPPORT_CHT_IGMP_NOLEAVEFLOOD
endif
ifneq ($(strip $(TCSUPPORT_CZ_AUTO_GENERATE)),)
export TCSUPPORT_CZ_AUTO_GENERATE=1
TC_CFLAGS+=-DTCSUPPORT_CZ_AUTO_GENERATE
endif
ifneq ($(strip $(TCSUPPORT_CZ_MAC_TO_LOGIN_PWD)),)
export TCSUPPORT_CZ_MAC_TO_LOGIN_PWD=1
TC_CFLAGS+=-DTCSUPPORT_CZ_MAC_TO_LOGIN_PWD
endif
ifneq ($(strip $(TCSUPPORT_CZ_MAC_TO_ACS_USRNM)),)
export TCSUPPORT_CZ_MAC_TO_ACS_USRNM=1
TC_CFLAGS+=-DTCSUPPORT_CZ_MAC_TO_ACS_USRNM
endif
ifneq ($(strip $(TCSUPPORT_CZ_MAC_TO_SSID)),)
export TCSUPPORT_CZ_MAC_TO_SSID=1
TC_CFLAGS+=-DTCSUPPORT_CZ_MAC_TO_SSID
endif
ifneq ($(strip $(TCSUPPORT_CZ_MAC_TO_WPAKEY)),)
export TCSUPPORT_CZ_MAC_TO_WPAKEY=1
TC_CFLAGS+=-DTCSUPPORT_CZ_MAC_TO_WPAKEY
endif
ifneq ($(strip $(TCSUPPORT_CZ_PE)),)
export TCSUPPORT_CZ_PE=1
TC_CFLAGS+=-DTCSUPPORT_CZ_PE
endif
ifneq ($(strip $(TCSUPPORT_CZ_OTE)),)
export TCSUPPORT_CZ_OTE=1
TC_CFLAGS+=-DTCSUPPORT_CZ_OTE
ifneq ($(strip $(TCSUPPORT_BRIDGEARP_NOFWD_LAN)),)
export TCSUPPORT_BRIDGEARP_NOFWD_LAN=1
TC_CFLAGS+=-DTCSUPPORT_BRIDGEARP_NOFWD_LAN
endif
ifneq ($(strip $(TCSUPPORT_CZ_OTE_NOWIZARD)),)
export TCSUPPORT_CZ_OTE_NOWIZARD=1
TC_CFLAGS+=-DTCSUPPORT_CZ_OTE_NOWIZARD
endif
endif
ifneq ($(strip $(TCSUPPORT_CZ_OTE_PORT7547)),)
export TCSUPPORT_CZ_OTE_PORT7547=1
TC_CFLAGS+=-DTCSUPPORT_CZ_OTE_PORT7547
endif
ifneq ($(strip $(TCSUPPORT_CZ_TM)),)
export TCSUPPORT_CZ_TM=1
TC_CFLAGS+=-DTCSUPPORT_CZ_TM
endif
ifneq ($(strip $(TCSUPPORT_CZ_GENERAL)),)
export TCSUPPORT_CZ_GENERAL=1
TC_CFLAGS+=-DTCSUPPORT_CZ_GENERAL
endif
ifneq ($(strip $(TCSUPPORT_CZ_OTE_TOOL)),)
export TCSUPPORT_CZ_OTE_TOOL=1
TC_CFLAGS+=-DTCSUPPORT_CZ_OTE_TOOL
endif
ifneq ($(strip $(TCSUPPORT_CZ_OTE_V2)),)
export TCSUPPORT_CZ_OTE_V2=1
TC_CFLAGS+=-DTCSUPPORT_CZ_OTE_V2
endif
ifneq ($(strip $(TCSUPPORT_TFTP_UPGRADE_PROTECT)),)
export TCSUPPORT_TFTP_UPGRADE_PROTECT=1
TC_CFLAGS+=-DTCSUPPORT_TFTP_UPGRADE_PROTECT
endif
ifneq ($(strip $(TCSUPPORT_OPTION_121)),)
export TCSUPPORT_OPTION_121=1
TC_CFLAGS+=-DDHCP_OPT121
endif
ifneq ($(strip $(TCSUPPORT_MODEL_NAME_CUSKIT)),)
export TCSUPPORT_MODEL_NAME_CUSKIT
TC_CFLAGS+=-DTCSUPPORT_MODEL_NAME_CUSKIT
endif
ifneq ($(strip $(TCSUPPORT_CZ_RESETBTN)),)
export TCSUPPORT_CZ_RESETBTN
TC_CFLAGS+=-DTCSUPPORT_CZ_RESETBTN
endif
ifneq ($(strip $(TCSUPPORT_VIRSVR_LOCAL_PORT)),)
export TCSUPPORT_VIRSVR_LOCAL_PORT
TC_CFLAGS+=-DTCSUPPORT_VIRSVR_LOCAL_PORT
endif
ifneq ($(strip $(TCSUPPORT_WLAN_WITHOUT_OPEN)),)
export TCSUPPORT_WLAN_WITHOUT_OPEN
TC_CFLAGS+=-DTCSUPPORT_WLAN_WITHOUT_OPEN
endif
ifneq ($(strip $(TCSUPPORT_MAC_TO_WLAN_SETTING)),)
export TCSUPPORT_MAC_TO_WLAN_SETTING
TC_CFLAGS+=-DTCSUPPORT_MAC_TO_WLAN_SETTING
endif
ifneq ($(strip $(TCSUPPORT_MAX_RATE)),)
export TCSUPPORT_MAX_RATE
TC_CFLAGS+=-DTCSUPPORT_MAX_RATE
endif
ifneq ($(strip $(TCSUPPORT_SHOW_CRC)),)
export TCSUPPORT_SHOW_CRC
TC_CFLAGS+=-DTCSUPPORT_SHOW_CRC
endif
ifneq ($(strip $(TCSUPPORT_SHOW_TXPOWER)),)
export TCSUPPORT_SHOW_TXPOWER
TC_CFLAGS+=-DTCSUPPORT_SHOW_TXPOWER
endif
ifneq ($(strip $(TCSUPPORT_ENCRYPT_ROMFILE)),)
export TCSUPPORT_ENCRYPT_ROMFILE=1
TC_CFLAGS+=-DTCSUPPORT_ENCRYPT_ROMFILE
ifneq ($(strip $(TCSUPPORT_ENCRYPT_ROMFILE_ENHANCE)),)
export TCSUPPORT_ENCRYPT_ROMFILE_ENHANCE=1
TC_CFLAGS+=-DTCSUPPORT_ENCRYPT_ROMFILE_ENHANCE
endif
ifneq ($(strip $(TCSUPPORT_ENCRYPT_ROMFILE_AES)),)
export TCSUPPORT_ENCRYPT_ROMFILE_AES=1
TC_CFLAGS+=-DTCSUPPORT_ENCRYPT_ROMFILE_AES
endif
endif
ifneq ($(strip $(TCSUPPORT_TURKISH)),)
export TCSUPPORT_TURKISH=1
TC_CFLAGS+=-DTCSUPPORT_TURKISH
endif
ifneq ($(strip $(TCSUPPORT_TRACEROUTE)),)
export TCSUPPORT_TRACEROUTE
TC_CFLAGS+=-DTCSUPPORT_TRACEROUTE
endif
ifneq ($(strip $(TCSUPPORT_TRACEROUTE_GUI)),)
export TCSUPPORT_TRACEROUTE_GUI
TC_CFLAGS+=-DTCSUPPORT_TRACEROUTE_GUI
endif
ifneq ($(strip $(TCSUPPORT_FTP_THROUGHPUT)),)
export TCSUPPORT_FTP_THROUGHPUT=1
TC_CFLAGS+=-DTCSUPPORT_FTP_THROUGHPUT
endif
ifneq ($(strip $(TCSUPPORT_SBTHROUGHPUT_ENHANCE)),)
export TCSUPPORT_SBTHROUGHPUT_ENHANCE=1
TC_CFLAGS+=-DTCSUPPORT_SBTHROUGHPUT_ENHANCE
endif
ifneq ($(strip $(TCSUPPORT_VPN_SWITCH_GUI)),)
export TCSUPPORT_VPN_SWITCH_GUI=1
TC_CFLAGS+=-DTCSUPPORT_VPN_SWITCH_GUI
endif
ifneq ($(strip $(TCSUPPORT_LAYER3FORWARD_ENHANCEMENT)),)
export TCSUPPORT_LAYER3FORWARD_ENHANCEMENT=1
TC_CFLAGS+=-DTCSUPPORT_LAYER3FORWARD_ENHANCEMENT
endif
ifneq ($(strip $(TCSUPPORT_UPGRADE_WDOGREBOOT)),)
export TCSUPPORT_UPGRADE_WDOGREBOOT=1
TC_CFLAGS+=-DTCSUPPORT_UPGRADE_WDOGREBOOT
endif
ifneq ($(strip $(TCSUPPORT_MULTI_BOOT)),)
export TCSUPPORT_MULTI_BOOT=1
TC_CFLAGS+=-DTCSUPPORT_MULTI_BOOT
endif
ifneq ($(strip $(TCSUPPORT_MULTI_UPGRADE_LIONS)),)
export TCSUPPORT_MULTI_UPGRADE_LIONS=1
TC_CFLAGS+=-DTCSUPPORT_MULTI_UPGRADE_LIONS
endif
ifneq ($(strip $(TCSUPPORT_RESTORE_LINOS_INFO)),)
export TCSUPPORT_RESTORE_LINOS_INFO=1
TC_CFLAGS+=-DTCSUPPORT_RESTORE_LINOS_INFO
endif
ifneq ($(strip $(TCSUPPORT_CZ_TRUE)),)
export TCSUPPORT_CZ_TRUE=1
TC_CFLAGS+=-DTCSUPPORT_CZ_TRUE
endif
ifneq ($(strip $(TCSUPPORT_CT_INFORM_NODE)),)
export TCSUPPORT_CT_INFORM_NODE
TC_CFLAGS+=-DTCSUPPORT_CT_INFORM_NODE
endif
ifneq ($(strip $(TCSUPPORT_NO_BOOT_VALUECHANGE)),)
export TCSUPPORT_NO_BOOT_VALUECHANGE
TC_CFLAGS+=-DTCSUPPORT_NO_BOOT_VALUECHANGE
endif
ifneq ($(strip $(TCSUPPORT_WPA_SUPPLICANT)),)
export TCSUPPORT_WPA_SUPPLICANT=1
TC_CFLAGS+=-DTCSUPPORT_WPA_SUPPLICANT
endif
ifneq ($(strip $(TCSUPPORT_POWER_LED_BLINKRED)),)
export TCSUPPORT_POWER_LED_BLINKRED
TC_CFLAGS+=-DTCSUPPORT_POWER_LED_BLINKRED
endif
ifneq ($(strip $(TCSUPPORT_CWMP_IOT_STRINGTYPE)),)
export TCSUPPORT_CWMP_IOT_STRINGTYPE
TC_CFLAGS+=-DTCSUPPORT_CWMP_IOT_STRINGTYPE
endif
ifneq ($(strip $(TCSUPPORT_SUPPORT_FLASH)),)
export TCSUPPORT_SUPPORT_FLASH=1
TC_CFLAGS+=-DTCSUPPORT_SUPPORT_FLASH
endif
ifneq ($(strip $(TCSUPPORT_TEST_LED_ALL)),)
export TCSUPPORT_TEST_LED_ALL=1
TC_CFLAGS+=-DTCSUPPORT_TEST_LED_ALL
endif
ifneq ($(strip $(TCSUPPORT_BRIDGE_MAC_LIMIT)),)
export TCSUPPORT_BRIDGE_MAC_LIMIT=1
export TCSUPPORT_BRIDGE_MAC_LIMIT
TC_CFLAGS+=-DTCSUPPORT_BRIDGE_MAC_LIMIT
endif
ifneq ($(strip $(ZYXEL_LAN_STAT_PROC)),)
export ZYXEL_LAN_STAT_PROC=1
TC_CFLAGS+=-DZYXEL_LAN_STAT_PROC
endif
ifneq ($(strip $(TCSUPPORT_CDS)),)
export TCSUPPORT_CDS=1
export TCSUPPORT_CDS
TC_CFLAGS+=-DTCSUPPORT_CDS
endif
ifneq ($(strip $(TCSUPPORT_GPON_ATTACK_ENHANCE)),)
export TCSUPPORT_GPON_ATTACK_ENHANCE=1
TC_CFLAGS+=-DTCSUPPORT_GPON_ATTACK_ENHANCE
endif
ifneq ($(strip $(TCSUPPORT_CPU_PERFORMANCE_TEST)),)
export TCSUPPORT_CPU_PERFORMANCE_TEST=1
TC_CFLAGS+=-DTCSUPPORT_CPU_PERFORMANCE_TEST
endif
ifneq ($(strip $(TCSUPPORT_2DNS)),)
export TCSUPPORT_2DNS=1
TC_CFLAGS+=-DTCSUPPORT_2DNS
endif
ifneq ($(strip $(TCSUPPORT_BOSA_CARLIBRATION)),)
export TCSUPPORT_BOSA_CARLIBRATION=1
export TCSUPPORT_BOSA_CARLIBRATION
TC_CFLAGS+=-DTCSUPPORT_BOSA_CARLIBRATION
endif
ifneq ($(strip $(TCSUPPORT_BOSA_DATA_TO_FLASH)),)
export TCSUPPORT_BOSA_DATA_TO_FLASH=1
export TCSUPPORT_BOSA_DATA_TO_FLASH
TC_CFLAGS+=-DTCSUPPORT_BOSA_DATA_TO_FLASH
endif
ifneq ($(strip $(TCSUPPORT_ROUTEPOLICY)),)
export TCSUPPORT_ROUTEPOLICY=1
export TCSUPPORT_ROUTEPOLICY
TC_CFLAGS+=-DTCSUPPORT_ROUTEPOLICY
endif
ifneq ($(strip $(TCSUPPORT_URL_ROUTEPOLICY)),)
export TCSUPPORT_URL_ROUTEPOLICY=1
export TCSUPPORT_URL_ROUTEPOLICY
TC_CFLAGS+=-DTCSUPPORT_URL_ROUTEPOLICY
endif
ifneq ($(strip $(TCSUPPORT_ROUTEPOLICY_PRIOR_PORTBIND)),)
export TCSUPPORT_ROUTEPOLICY_PRIOR_PORTBIND=1
export TCSUPPORT_ROUTEPOLICY_PRIOR_PORTBIND
TC_CFLAGS+=-DTCSUPPORT_ROUTEPOLICY_PRIOR_PORTBIND
endif
ifneq ($(strip $(TCSUPPORT_TW_BOARD_CDS)),)
export TCSUPPORT_TW_BOARD_CDS=1
export TCSUPPORT_TW_BOARD_CDS
TC_CFLAGS+=-DTCSUPPORT_TW_BOARD_CDS
endif
ifneq ($(strip $(TCSUPPORT_TW_BOARD_CJ)),)
export TCSUPPORT_TW_BOARD_CJ=1
export TCSUPPORT_TW_BOARD_CJ
TC_CFLAGS+=-DTCSUPPORT_TW_BOARD_CJ
endif
ifneq ($(strip $(TCSUPPORT_CT)),)
export TCSUPPORT_CT=1
export TCSUPPORT_CT
TC_CFLAGS+=-DTCSUPPORT_CT
endif
ifneq ($(strip $(CT_COM)),)
export CT_COM=1
TC_CFLAGS+=-DCT_COM
TC_CFLAGS+=-DTCSUPPORT_CT_COM
endif
ifneq ($(strip $(TCSUPPORT_C1_CUC)),)
export TCSUPPORT_C1_CUC
TC_CFLAGS+=-DTCSUPPORT_C1_CUC
endif
ifneq ($(strip $(TCSUPPORT_CT_USB)),)
export TCSUPPORT_CT_USB=1
TC_CFLAGS+=-DTCSUPPORT_CT_USB
endif
ifneq ($(strip $(TCSUPPORT_CT_PORT_BIND)),)
export TCSUPPORT_CT_PORT_BIND
TC_CFLAGS+=-DTCSUPPORT_CT_PORT_BIND
endif
ifneq ($(strip $(TCSUPPORT_CT_WANNODE_MAPPING)),)
export TCSUPPORT_CT_WANNODE_MAPPING
TC_CFLAGS+=-DTCSUPPORT_CT_WANNODE_MAPPING
endif
ifneq ($(strip $(TCSUPPORT_CT_ACCESSLIMIT)),)
export TCSUPPORT_CT_ACCESSLIMIT
TC_CFLAGS+=-DTCSUPPORT_CT_ACCESSLIMIT
endif
ifneq ($(strip $(TCSUPPORT_CT_BACKUPROMFILEENCHANCEMENT)),)
export TCSUPPORT_CT_BACKUPROMFILEENCHANCEMENT
TC_CFLAGS+=-DTCSUPPORT_CT_BACKUPROMFILEENCHANCEMENT
endif
ifneq ($(strip $(TCSUPPORT_CT_2PWIFI)),)
export TCSUPPORT_CT_2PWIFI
TC_CFLAGS+=-DTCSUPPORT_CT_2PWIFI
endif
ifneq ($(strip $(TCSUPPORT_KEYPARA_STORE)),)
export TCSUPPORT_KEYPARA_STORE
TC_CFLAGS+=-DTCSUPPORT_KEYPARA_STORE
endif
ifneq ($(strip $(TCSUPPORT_CT_DEFAULTPARA_STORE)),)
export TCSUPPORT_CT_DEFAULTPARA_STORE
TC_CFLAGS+=-DTCSUPPORT_CT_DEFAULTPARA_STORE
endif
ifneq ($(strip $(TCSUPPORT_CT_NETWORKMANAGESERVICE)),)
export TCSUPPORT_CT_NETWORKMANAGESERVICE
TC_CFLAGS+=-DTCSUPPORT_CT_NETWORKMANAGESERVICE
endif
ifneq ($(strip $(TCSUPPORT_CT_E8GUI)),)
export TCSUPPORT_CT_E8GUI
TC_CFLAGS+=-DTCSUPPORT_CT_E8GUI
ifneq ($(strip $(TCSUPPORT_CT_E8BGUI)),)
export TCSUPPORT_CT_E8BGUI
TC_CFLAGS+=-DTCSUPPORT_CT_E8BGUI
endif
ifneq ($(strip $(TCSUPPORT_CT_E8CGUI)),)
export TCSUPPORT_CT_E8CGUI
TC_CFLAGS+=-DTCSUPPORT_CT_E8CGUI
endif
ifneq ($(strip $(TCSUPPORT_CT_PON)),)
export TCSUPPORT_CT_PON=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON
export TCSUPPORT_CWMP_PRECISE_TIME=1
TC_CFLAGS+=-DTCSUPPORT_CWMP_PRECISE_TIME
ifneq ($(strip $(TCSUPPORT_IGMP_PROXY)),)
export TCSUPPORT_IGMP_QUICK_LEAVE=1
TC_CFLAGS+=-DTCSUPPORT_IGMP_QUICK_LEAVE
endif
ifeq ($(strip $(TCSUPPORT_CUC)),)
export TCSUPPORT_CT_PORTSLIMIT=1
TC_CFLAGS+=-DTCSUPPORT_CT_PORTSLIMIT
endif
endif
ifneq ($(strip $(TCSUPPORT_CT_CWMP_E8BPARAMETER)),)
export TCSUPPORT_CT_CWMP_E8BPARAMETER
TC_CFLAGS+=-DTCSUPPORT_CT_CWMP_E8BPARAMETER
endif
ifneq ($(strip $(TCSUPPORT_CUC_CWMP_PARAMETER)),)
export TCSUPPORT_CUC_CWMP_PARAMETER
TC_CFLAGS+=-DTCSUPPORT_CUC_CWMP_PARAMETER
endif
ifneq ($(strip $(TCSUPPORT_CT_2NTP)),)
export TCSUPPORT_CT_2NTP
TC_CFLAGS+=-DTCSUPPORT_CT_2NTP
endif
ifneq ($(strip $(TCSUPPORT_CT_5NTP)),)
export TCSUPPORT_CT_5NTP
TC_CFLAGS+=-DTCSUPPORT_CT_5NTP
endif
ifneq ($(strip $(TCSUPPORT_CT_NTPSERVERTYPE)),)
export TCSUPPORT_CT_NTPSERVERTYPE
TC_CFLAGS+=-DTCSUPPORT_CT_NTPSERVERTYPE
endif
ifneq ($(strip $(TCSUPPORT_CT_GUIACCESSLIMIT)),)
export TCSUPPORT_CT_GUIACCESSLIMIT
TC_CFLAGS+=-DTCSUPPORT_CT_GUIACCESSLIMIT
endif
ifneq ($(strip $(TCSUPPORT_CT_ZIPROMFILE)),)
export TCSUPPORT_CT_ZIPROMFILE
TC_CFLAGS+=-DTCSUPPORT_CT_ZIPROMFILE
endif
ifneq ($(strip $(TCSUPPORT_CT_GUIPSWSHOW)),)
export TCSUPPORT_CT_GUIPSWSHOW
TC_CFLAGS+=-DTCSUPPORT_CT_GUIPSWSHOW
endif
ifneq ($(strip $(TCSUPPORT_CT_FW_UPGRADE_16M)),)
export TCSUPPORT_CT_FW_UPGRADE_16M
TC_CFLAGS+=-DTCSUPPORT_CT_FW_UPGRADE_16M
endif
endif
ifneq ($(strip $(TCSUPPORT_CT_ADSLSETTING)),)
export TCSUPPORT_CT_ADSLSETTING
TC_CFLAGS+=-DTCSUPPORT_CT_ADSLSETTING
endif
ifneq ($(strip $(TCSUPPORT_RIPD)),)
export TCSUPPORT_RIPD
TC_CFLAGS+=-DTCSUPPORT_RIPD
endif
ifneq ($(strip $(TCSUPPORT_CT_IPPINGDIAGNOSTIC)),)
export TCSUPPORT_CT_IPPINGDIAGNOSTIC
TC_CFLAGS+=-DTCSUPPORT_CT_IPPINGDIAGNOSTIC
endif
ifneq ($(strip $(TCSUPPORT_CT_WLAN_NODE)),)
export TCSUPPORT_CT_WLAN_NODE
TC_CFLAGS+=-DTCSUPPORT_CT_WLAN_NODE
endif
ifneq ($(strip $(TCSUPPORT_CT_IPTV_NODE)),)
export TCSUPPORT_CT_IPTV_NODE
TC_CFLAGS+=-DTCSUPPORT_CT_IPTV_NODE
endif
ifneq ($(strip $(TCSUPPORT_CT_RECONNECT_NODE)),)
export TCSUPPORT_CT_RECONNECT_NODE
TC_CFLAGS+=-DTCSUPPORT_CT_RECONNECT_NODE
endif
ifneq ($(strip $(TCSUPPORT_CT_INFORM_NODE)),)
export TCSUPPORT_CT_INFORM_NODE
TC_CFLAGS+=-DTCSUPPORT_CT_INFORM_NODE
endif
ifneq ($(strip $(TCSUPPORT_CT_ALARMMONITOR)),)
export TCSUPPORT_CT_ALARMMONITOR
TC_CFLAGS+=-DTCSUPPORT_CT_ALARMMONITOR
endif
ifneq ($(strip $(TCSUPPORT_CT_ALGABILITY)),)
export TCSUPPORT_CT_ALGABILITY
TC_CFLAGS+=-DTCSUPPORT_CT_ALGABILITY
endif
ifneq ($(strip $(TCSUPPORT_CT_DEVICEREG)),)
export TCSUPPORT_CT_DEVICEREG
TC_CFLAGS+=-DCT_COM_DEVICEREG
endif
ifneq ($(strip $(TCSUPPORT_ITMS_CONFIG_AS_DEFAULT)),)
export TCSUPPORT_ITMS_CONFIG_AS_DEFAULT
TC_CFLAGS+=-DTCSUPPORT_ITMS_CONFIG_AS_DEFAULT
endif
ifneq ($(strip $(TCSUPPORT_CT_PPPCONN_ERROR)),)
export TCSUPPORT_CT_PPPCONN_ERROR
TC_CFLAGS+=-DTCSUPPORT_CT_PPPCONN_ERROR
endif
ifneq ($(strip $(TCSUPPORT_CT_FTP_DOWNLOADCLIENT)),)
export TCSUPPORT_CT_FTP_DOWNLOADCLIENT
TC_CFLAGS+=-DTCSUPPORT_CT_FTP_DOWNLOADCLIENT
endif
ifneq ($(strip $(TCSUPPORT_CT_USB_BACKUPRESTORE)),)
export TCSUPPORT_CT_USB_BACKUPRESTORE
TC_CFLAGS+=-DTCSUPPORT_CT_USB_BACKUPRESTORE
endif
ifneq ($(strip $(TCSUPPORT_CT_DHCPC_OPTION60)),)
export TCSUPPORT_CT_DHCPC_OPTION60
TC_CFLAGS+=-DTCSUPPORT_CT_DHCPC_OPTION60
endif
ifneq ($(strip $(TCSUPPORT_CT_DHCPC_OPTION125)),)
export TCSUPPORT_CT_DHCPC_OPTION125
TC_CFLAGS+=-DTCSUPPORT_CT_DHCPC_OPTION125
endif
ifneq ($(strip $(TCSUPPORT_CT_DHCP6_OPTION)),)
export TCSUPPORT_CT_DHCP6_OPTION
TC_CFLAGS+=-DTCSUPPORT_CT_DHCP6_OPTION
endif
ifneq ($(strip $(TCSUPPORT_VIR_SERVER)),)
export TCSUPPORT_VIR_SERVER
TC_CFLAGS+=-DTCSUPPORT_VIR_SERVER
endif
ifneq ($(strip $(TCSUPPORT_CT_DNSMASQ_MONITOR)),)
export TCSUPPORT_CT_DNSMASQ_MONITOR
TC_CFLAGS+=-DTCSUPPORT_CT_DNSMASQ_MONITOR
endif
ifneq ($(strip $(TCSUPPORT_RESTORE_ROM_T)),)
export TCSUPPORT_RESTORE_ROM_T=1
TC_CFLAGS+=-DTCSUPPORT_RESTORE_ROM_T
endif
ifneq ($(strip $(TCSUPPORT_WLAN_MAXSTANUM_GUI)),)
export TCSUPPORT_WLAN_MAXSTANUM_GUI=1
TC_CFLAGS+=-DTCSUPPORT_WLAN_MAXSTANUM_GUI
endif
ifneq ($(strip $(TCSUPPORT_WLAN_ED_MONITOR)),)
export TCSUPPORT_WLAN_ED_MONITOR=1
TC_CFLAGS+=-DTCSUPPORT_WLAN_ED_MONITOR
endif
ifneq ($(strip $(TCSUPPORT_MULTISERVICE_ON_WAN)),)
export TCSUPPORT_MULTISERVICE_ON_WAN
TC_CFLAGS+=-DTCSUPPORT_MULTISERVICE_ON_WAN
endif
ifneq ($(strip $(TCSUPPORT_CZ_OI)),)
export TCSUPPORT_CZ_OI
TC_CFLAGS+=-DTCSUPPORT_CZ_OI
endif
ifneq ($(strip $(TCSUPPORT_CZ_GVT)),)
export TCSUPPORT_CZ_GVT
TC_CFLAGS+=-DTCSUPPORT_CZ_GVT
endif
ifneq ($(strip $(TCSUPPORT_WANIP_NETWORK_CHECK)),)
export TCSUPPORT_WANIP_NETWORK_CHECK
TC_CFLAGS+=-DTCSUPPORT_WANIP_NETWORK_CHECK
endif
ifneq ($(strip $(TCSUPPORT_CWMP_VDSL)),)
export TCSUPPORT_CWMP_VDSL
TC_CFLAGS+=-DTCSUPPORT_CWMP_VDSL
endif
ifneq ($(strip $(TCSUPPORT_CWMP_XPON)),)
export TCSUPPORT_CWMP_XPON
TC_CFLAGS+=-DTCSUPPORT_CWMP_XPON
endif
ifneq ($(strip $(TCSUPPORT_CWMP_ACL)),)
export TCSUPPORT_CWMP_ACL=1
TC_CFLAGS+=-DTCSUPPORT_CWMP_ACL
endif
ifneq ($(strip $(TCSUPPORT_CWMP_IPV6_ACL)),)
export TCSUPPORT_CWMP_IPV6_ACL=1
TC_CFLAGS+=-DTCSUPPORT_CWMP_IPV6_ACL
endif
ifneq ($(strip $(TCSUPPORT_HTBW_40M)),)
export TCSUPPORT_HTBW_40M
TC_CFLAGS+=-DTCSUPPORT_HTBW_40M
endif
ifneq ($(strip $(TCSUPPORT_FON)),)
export TCSUPPORT_FON=1
TC_CFLAGS+=-DTCSUPPORT_FON
endif
ifneq ($(strip $(TCSUPPORT_TR069_UPGRADE_CUSTOM)),)
export TCSUPPORT_TR069_UPGRADE_CUSTOM=1
TC_CFLAGS+=-DTCSUPPORT_TR069_UPGRADE_CUSTOM
endif
ifneq ($(strip $(TCSUPPORT_CT_E8GUI_TY)),)
export TCSUPPORT_CT_E8GUI_TY
TC_CFLAGS+=-DTCSUPPORT_CT_E8GUI_TY
endif
ifneq ($(strip $(TCSUPPORT_ISP_WIZARD)),)
export TCSUPPORT_ISP_WIZARD
TC_CFLAGS+=-DTCSUPPORT_ISP_WIZARD
endif
ifneq ($(strip $(TCSUPPORT_WAN_DNS_EACH_PVC)),)
export TCSUPPORT_WAN_DNS_EACH_PVC
TC_CFLAGS+=-DTCSUPPORT_WAN_DNS_EACH_PVC
endif
ifneq ($(strip $(TCSUPPORT_TR69_BIND_PVC)),)
export TCSUPPORT_TR69_BIND_PVC
TC_CFLAGS+=-DTCSUPPORT_TR69_BIND_PVC
endif
ifneq ($(strip $(TCSUPPORT_ARC_CMWP)),)
export TCSUPPORT_ARC_CMWP
TC_CFLAGS+=-TCSUPPORT_ARC_CMWP
endif
ifneq ($(strip $(TCSUPPORT_C5_VOLLCOMM)),)
export TCSUPPORT_C5_VOLLCOMM
TC_CFLAGS+=-DTCSUPPORT_C5_VOLLCOMM
endif
ifneq ($(strip $(TCSUPPORT_VIRSVR_APPL_AND_PROT)),)
export TCSUPPORT_VIRSVR_APPL_AND_PROT
TC_CFLAGS+=-DTCSUPPORT_VIRSVR_APPL_AND_PROT
endif
ifneq ($(strip $(TCSUPPORT_3LEVEL_CHANGE_PASSWD)),)
export TCSUPPORT_3LEVEL_CHANGE_PASSWD
TC_CFLAGS+=-DTCSUPPORT_3LEVEL_CHANGE_PASSWD
endif
ifneq ($(strip $(TCSUPPORT_GUI_ALG_CONTROL)),)
export TCSUPPORT_GUI_ALG_CONTROL
TC_CFLAGS+=-DTCSUPPORT_GUI_ALG_CONTROL
endif
ifneq ($(strip $(TCSUPPORT_EPON_ATTACK_ENHANCE)),)
export TCSUPPORT_EPON_ATTACK_ENHANCE
TC_CFLAGS+=-DTCSUPPORT_EPON_ATTACK_ENHANCE
endif
ifneq ($(strip $(TCSUPPORT_PROLINE_CMD_ACTION)),)
export TCSUPPORT_PROLINE_CMD_ACTION
TC_CFLAGS+=-DTCSUPPORT_PROLINE_CMD_ACTION
endif
ifneq ($(strip $(TCSUPPORT_IGMP_QUICK_LEAVE)),)
export TCSUPPORT_IGMP_QUICK_LEAVE=1
TC_CFLAGS+=-DTCSUPPORT_IGMP_QUICK_LEAVE
endif
ifneq ($(strip $(TCSUPPORT_MANUAL_ETHERNET_PORTMAP)),)
TC_CFLAGS+=-DTCSUPPORT_MANUAL_ETHERNET_PORTMAP
TC_CFLAGS+=-DTCSUPPORT_ETHERNET_PORTMAP=\""$(TCSUPPORT_WAN_PORT)_$(TCSUPPORT_LAN0_PORT)_$(TCSUPPORT_LAN1_PORT)_$(TCSUPPORT_LAN2_PORT)_$(TCSUPPORT_LAN3_PORT)_$(TCSUPPORT_LAN4_PORT)_$(TCSUPPORT_LAN5_PORT)"\"
endif
#__zyxel__, remind#36462
ifneq ($(strip $(TCSUPPORT_WAN_PORT)),)
export TCSUPPORT_WAN_PORT
endif
ifneq ($(strip $(TCSUPPORT_SHARE_PVC)),)
export TCSUPPORT_SHARE_PVC=1
TC_CFLAGS+=-DTCSUPPORT_SHARE_PVC
endif
ifneq ($(strip $(TCSUPPORT_AGEOUT_MAC)),)
export TCSUPPORT_AGEOUT_MAC=1
TC_CFLAGS+=-DTCSUPPORT_AGEOUT_MAC
endif
ifneq ($(strip $(TCSUPPORT_UNIQUEMAC_ALL)),)
export TCSUPPORT_UNIQUEMAC_ALL=1
TC_CFLAGS+=-DTCSUPPORT_UNIQUEMAC_ALL
endif
ifneq ($(strip $(TCSUPPORT_CD_GUI_RIP)),)
export TCSUPPORT_CD_GUI_RIP
TC_CFLAGS+=-DTCSUPPORT_CD_GUI_RIP
endif
ifneq ($(strip $(TCSUPPORT_ETHER_ALL_LED)),)
export TCSUPPORT_ETHER_ALL_LED
TC_CFLAGS+=-DTCSUPPORT_ETHER_ALL_LED
endif
ifneq ($(strip $(TCSUPPORT_FW_INTERNET_LED)),)
export TCSUPPORT_FW_INTERNET_LED
TC_CFLAGS+=-DTCSUPPORT_FW_INTERNET_LED
endif
ifneq ($(strip $(TCSUPPORT_VLAN_DOT1P)),)
export TCSUPPORT_VLAN_DOT1P
TC_CFLAGS+=-DTCSUPPORT_VLAN_DOT1P
endif
ifneq ($(strip $(TCSUPPORT_VLAN_TPID)),)
export TCSUPPORT_VLAN_TPID
TC_CFLAGS+=-DTCSUPPORT_VLAN_TPID
endif
ifneq ($(strip $(CWMP_REDIRECT)),)
export CWMP_REDIRECT
TC_CFLAGS+=-DCWMP_REDIRECT
endif
ifneq ($(strip $(TCSUPPORT_CROSS_REBOOT)),)
export TCSUPPORT_CROSS_REBOOT
TC_CFLAGS+=-DTCSUPPORT_CROSS_REBOOT
endif
ifneq ($(strip $(AZTECH_CWMP_REORDER)),)
export AZTECH_CWMP_REORDER
TC_CFLAGS+=-DAZTECH_CWMP_REORDER
endif
ifneq ($(strip $(TCSUPPORT_SAGECOM_CWMP)),)
export TCSUPPORT_SAGECOM_CWMP
TC_CFLAGS+=-DTCSUPPORT_SAGECOM_CWMP
endif
ifneq ($(strip $(TCSUPPORT_FON_MODEL_A)),)
export TCSUPPORT_FON_MODEL_A=1
TC_CFLAGS+=-DTCSUPPORT_FON_MODEL_A
endif
ifneq ($(strip $(TCSUPPORT_FON_MODEL_B)),)
export TCSUPPORT_FON_MODEL_B=1
TC_CFLAGS+=-DTCSUPPORT_FON_MODEL_B
endif
ifneq ($(strip $(TCSUPPORT_FON_CHILLI_ENHANCE)),)
export TCSUPPORT_FON_CHILLI_ENHANCE=1
TC_CFLAGS+=-DTCSUPPORT_FON_CHILLI_ENHANCE
endif
ifneq ($(strip $(TCSUPPORT_OOM_RB_NEXT)),)
export TCSUPPORT_OOM_RB_NEXT=1
TC_CFLAGS += -DTCSUPPORT_OOM_RB_NEXT
endif
ifneq ($(strip $(TCSUPPORT_WAN_ETHER_LED)),)
export TCSUPPORT_WAN_ETHER_LED=1
TC_CFLAGS+=-DTCSUPPORT_WAN_ETHER_LED
endif
ifneq ($(strip $(TCSUPPORT_MT7530_SWITCH_API)),)
export TCSUPPORT_MT7530_SWITCH_API=1
TC_CFLAGS+=-DTCSUPPORT_MT7530_SWITCH_API
endif
ifneq ($(strip $(TCSUPPORT_CWMP_FAULT_RESPONSE)),)
export TCSUPPORT_CWMP_FAULT_RESPONSE
TC_CFLAGS+=-DTCSUPPORT_CWMP_FAULT_RESPONSE
endif
ifneq ($(strip $(TCSUPPORT_DHCP_NOFORWARD)),)
export TCSUPPORT_DHCP_NOFORWARD
TC_CFLAGS+=-DTCSUPPORT_DHCP_NOFORWARD
endif
ifneq ($(strip $(TCSUPPORT_POWERSAVE_ENABLE)),)
export TCSUPPORT_POWERSAVE_ENABLE=1
TC_CFLAGS+=-DTCSUPPORT_POWERSAVE_ENABLE
endif
ifneq ($(strip $(TCSUPPORT_NEW_SPIFLASH)),)
export TCSUPPORT_NEW_SPIFLASH=1
TC_CFLAGS+=-DTCSUPPORT_NEW_SPIFLASH
endif
ifneq ($(strip $(TCSUPPORT_NEW_SPIFLASH_DEBUG)),)
export TCSUPPORT_NEW_SPIFLASH_DEBUG=1
TC_CFLAGS+=-DTCSUPPORT_NEW_SPIFLASH_DEBUG
endif
ifneq ($(strip $(TCSUPPORT_CZ_H108N_COC_FOR_SDR)),)
export TCSUPPORT_CZ_H108N_COC_FOR_SDR=1
TC_CFLAGS+=-DTCSUPPORT_CZ_H108N_COC_FOR_SDR
endif
ifneq ($(strip $(TCSUPPORT_CHT_ARP)),)
export TCSUPPORT_CHT_ARP=1
TC_CFLAGS+=-DTCSUPPORT_CHT_ARP
endif
ifneq ($(strip $(WIZARD_OI_GUI)),)
export WIZARD_OI_GUI=1
TC_CFLAGS+=-DWIZARD_OI_GUI
endif
ifneq ($(strip $(TCSUPPORT_CT_OMCI_CFG_SHRINK)),)
export TCSUPPORT_CT_OMCI_CFG_SHRINK=1
TC_CFLAGS+=-DTCSUPPORT_CT_OMCI_CFG_SHRINK
endif
ifneq ($(strip $(TCSUPPORT_OI_C9)),)
export TCSUPPORT_OI_C9=1
TC_CFLAGS+=-DTCSUPPORT_OI_C9
endif
ifneq ($(strip $(TCSUPPORT_OI_C7)),)
export TCSUPPORT_OI_C7=1
TC_CFLAGS+=-DTCSUPPORT_OI_C7
endif
ifneq ($(strip $(TCSUPPORT_UPNP_ENHANCE)),)
export TCSUPPORT_UPNP_ENHANCE=1
TC_CFLAGS+=-DTCSUPPORT_UPNP_ENHANCE
endif
ifneq ($(strip $(TCSUPPORT_WPS_GPIO_CO_USE)),)
export TCSUPPORT_WPS_GPIO_CO_USE=1
TC_CFLAGS+=-DTCSUPPORT_WPS_GPIO_CO_USE
endif
ifneq ($(strip $(TCSUPPORT_CZ_H168N)),)
export TCSUPPORT_CZ_H168N=1
TC_CFLAGS+=-DTCSUPPORT_CZ_H168N
endif
ifneq ($(strip $(TCSUPPORT_CZ_H108L)),)
export TCSUPPORT_CZ_H108L=1
TC_CFLAGS+=-DTCSUPPORT_CZ_H108L
endif
ifneq ($(strip $(TCSUPPORT_CZ_H108N)),)
export TCSUPPORT_CZ_H108N=1
TC_CFLAGS+=-DTCSUPPORT_CZ_H108N
endif
ifneq ($(strip $(TCSUPPORT_CZ_H108N_GB)),)
export TCSUPPORT_CZ_H108N_GB=1
TC_CFLAGS+=-DTCSUPPORT_CZ_H108N_GB
endif
ifneq ($(strip $(TCSUPPORT_DAYLIGHT_SOUTH_HEMI)),)
export TCSUPPORT_DAYLIGHT_SOUTH_HEMI=1
TC_CFLAGS+=-DTCSUPPORT_DAYLIGHT_SOUTH_HEMI
endif
ifneq ($(strip $(TCSUPPORT_ALC_OFF)),)
export TCSUPPORT_ALC_OFF=1
TC_CFLAGS+=-DTCSUPPORT_ALC_OFF
endif
ifneq ($(strip $(TCSUPPORT_WPS_BTN_NEWSPEC)),)
export TCSUPPORT_WPS_BTN_NEWSPEC=1
TC_CFLAGS+=-DTCSUPPORT_WPS_BTN_NEWSPEC
endif
ifneq ($(strip $(TCSUPPORT_ZEBRA_WORKAROUND)),)
export TCSUPPORT_ZEBRA_WORKAROUND=1
TC_CFLAGS+=-DTCSUPPORT_ZEBRA_WORKAROUND
endif
ifneq ($(strip $(TCSUPPORT_H108NS_OTE)),)
export TCSUPPORT_H108NS_OTE=1
TC_CFLAGS+=-DTCSUPPORT_H108NS_OTE
endif
ifneq ($(strip $(TCSUPPORT_USB_3G_DONGLE_PIN)),)
export TCSUPPORT_USB_3G_DONGLE_PIN=1
TC_CFLAGS+=-DTCSUPPORT_USB_3G_DONGLE_PIN
endif
ifneq ($(strip $(TCSUPPORT_FTP_CMD)),)
export TCSUPPORT_FTP_CMD=1
TC_CFLAGS+=-DTCSUPPORT_FTP_CMD
endif
#__Tina__, TCSUPPORT_FTP_CMD is not ori export&TC_CFLAGS
ifneq ($(strip $(TCSUPPORT_USB_FTP_SERVER)),)
export TCSUPPORT_FTP_CMD=1
TC_CFLAGS+=-DTCSUPPORT_FTP_CMD
export TCSUPPORT_USB_FTP_SERVER=1
TC_CFLAGS+=-DTCSUPPORT_USB_FTP_SERVER
endif
ifneq ($(strip $(TCSUPPORT_FTP_USB)),)
export TCSUPPORT_FTP_USB=1
TC_CFLAGS+=-DTCSUPPORT_FTP_USB
endif
ifneq ($(strip $(TCSUPPORT_WIZARD_FON_OI)),)
export TCSUPPORT_WIZARD_FON_OI=1
TC_CFLAGS+=-DTCSUPPORT_WIZARD_FON_OI
endif
ifneq ($(strip $(TCSUPPORT_IGMP_SET_GROUP)),)
export TCSUPPORT_IGMP_SET_GROUP=1
TC_CFLAGS+=-DTCSUPPORT_IGMP_SET_GROUP
endif
ifneq ($(strip $(TCSUPPORT_PPPOA_ENHANCE)),)
export TCSUPPORT_PPPOA_ENHANCE=1
TC_CFLAGS+=-DTCSUPPORT_PPPOA_ENHANCE
endif
ifneq ($(strip $(TCSUPPORT_MBUF_ENHANCE)),)
export TCSUPPORT_MBUF_ENHANCE=1
TC_CFLAGS+=-DTCSUPPORT_MBUF_ENHANCE
endif
ifneq ($(strip $(TCSUPPORT_OMCI)),)
export TCSUPPORT_OMCI
TC_CFLAGS+=-DTCSUPPORT_OMCI
ifneq ($(strip $(TCSUPPORT_OMCI_EXTENDED_MSG)),)
export TCSUPPORT_OMCI_EXTENDED_MSG
TC_CFLAGS+=-DTCSUPPORT_OMCI_EXTENDED_MSG
endif
ifneq ($(strip $(TCSUPPORT_OMCI_CTC)),)
export TCSUPPORT_OMCI_CTC
TC_CFLAGS+=-DTCSUPPORT_OMCI_CTC
endif
ifneq ($(strip $(TCSUPPORT_EPONCMD)),)
export TCSUPPORT_EPONCMD
TC_CFLAGS+=-DTCSUPPORT_EPONCMD
endif
ifneq ($(strip $(TCSUPPORT_EPON_OAM)),)
export TCSUPPORT_EPON_OAM
TC_CFLAGS+=-DTCSUPPORT_EPON_OAM
ifneq ($(strip $(TCSUPPORT_EPON_OAM_CTC)),)
export TCSUPPORT_EPON_OAM_CTC
TC_CFLAGS+=-DTCSUPPORT_EPON_OAM_CTC
endif
ifneq ($(strip $(TCSUPPORT_EPON_OAM_LAN_DBG)),)
export TCSUPPORT_EPON_OAM_LAN_DBG
TC_CFLAGS+=-DTCSUPPORT_EPON_OAM_LAN_DBG
endif
ifneq ($(strip $(TCSUPPORT_EPON_FPGA_WORKAROUND)),)
export TCSUPPORT_EPON_FPGA_WORKAROUND
TC_CFLAGS+=-DTCSUPPORT_EPON_FPGA_WORKAROUND
endif
endif
ifneq ($(strip $(TCSUPPORT_OMCI_DOT1AG)),)
export TCSUPPORT_OMCI_DOT1AG
TC_CFLAGS+=-DTCSUPPORT_OMCI_DOT1AG
endif
ifneq ($(strip $(TCSUPPORT_HGU_OMCI_MIB_UPLOAD_PPTP_ETH_UNI)),)
export TCSUPPORT_HGU_OMCI_MIB_UPLOAD_PPTP_ETH_UNI
TC_CFLAGS+=-DTCSUPPORT_HGU_OMCI_MIB_UPLOAD_PPTP_ETH_UNI
endif
ifneq ($(strip $(TCSUPPORT_OMCI_ALCATEL)),)
export TCSUPPORT_OMCI_ALCATEL
TC_CFLAGS+=-DTCSUPPORT_OMCI_ALCATEL
endif
ifneq ($(strip $(TCSUPPORT_HUAWEI_OLT_VENDOR_SPECIFIC_ME)),)
export TCSUPPORT_HUAWEI_OLT_VENDOR_SPECIFIC_ME
TC_CFLAGS+=-DTCSUPPORT_HUAWEI_OLT_VENDOR_SPECIFIC_ME
endif
ifneq ($(strip $(TCSUPPORT_UPSTREAM_VLAN_POLICER)),)
export TCSUPPORT_UPSTREAM_VLAN_POLICER
TC_CFLAGS+=-DTCSUPPORT_UPSTREAM_VLAN_POLICER
endif
ifneq ($(strip $(TCSUPPORT_LAN_VLAN)),)
export TCSUPPORT_LAN_VLAN
TC_CFLAGS+=-DTCSUPPORT_LAN_VLAN
endif
ifneq ($(strip $(TCSUPPORT_LAN_VLAN_RANGE)),)
export TCSUPPORT_LAN_VLAN_RANGE
TC_CFLAGS+=-DTCSUPPORT_LAN_VLAN_RANGE
endif
ifneq ($(strip $(TCSUPPORT_OMCI_LAN_DEBUG)),)
export TCSUPPORT_OMCI_LAN_DEBUG
TC_CFLAGS+=-DTCSUPPORT_OMCI_LAN_DEBUG
endif
endif
ifneq ($(strip $(TCSUPPORT_PONMGR)),)
export TCSUPPORT_PONMGR
TC_CFLAGS+=-DTCSUPPORT_PONMGR
endif
ifneq ($(strip $(TCSUPPORT_PMMGR)),)
export TCSUPPORT_PMMGR
TC_CFLAGS+=-DTCSUPPORT_PMMGR
TC_CFLAGS+=-DPMMGR_DEBUG
endif
ifneq ($(strip $(TCSUPPORT_XPON_IGMP)),)
export TCSUPPORT_XPON_IGMP
TC_CFLAGS+=-DTCSUPPORT_XPON_IGMP
endif
ifneq ($(strip $(TCSUPPORT_XPON_IGMP_CHT)),)
export TCSUPPORT_XPON_IGMP_CHT
TC_CFLAGS+=-DTCSUPPORT_XPON_IGMP_CHT
endif
ifneq ($(strip $(TCSUPPORT_XPON_LED)),)
export TCSUPPORT_XPON_LED=1
TC_CFLAGS+=-DTCSUPPORT_XPON_LED
endif
ifneq ($(strip $(TCSUPPORT_EPON_DUMMY)),)
export TCSUPPORT_EPON_DUMMY=1
TC_CFLAGS+=-DTCSUPPORT_EPON_DUMMY
endif
ifneq ($(strip $(TCSUPPORT_PON_TEST)),)
export TCSUPPORT_PON_TEST=1
TC_CFLAGS+=-DTCSUPPORT_PON_TEST
endif
ifneq ($(strip $(TCSUPPORT_CD_HTTP_PORT)),)
export TCSUPPORT_CD_HTTP_PORT=1
TC_CFLAGS+=-DTCSUPPORT_CD_HTTP_PORT
endif
ifneq ($(strip $(TCSUPPORT_FON_V2)),)
export TCSUPPORT_FON_V2=1
TC_CFLAGS+=-DTCSUPPORT_FON_V2
endif
ifneq ($(strip $(TCSUPPORT_FON_V2_MODEL_D_OTE)),)
export TCSUPPORT_FON_V2_MODEL_D_OTE=1
TC_CFLAGS+=-DTCSUPPORT_FON_V2_MODEL_D_OTE
endif
ifneq ($(strip $(TCSUPPORT_CD_DDNS)),)
export TCSUPPORT_CD_DDNS=1
TC_CFLAGS+=-DTCSUPPORT_CD_DDNS
endif
ifneq ($(strip $(TCSUPPORT_CD_WIND)),)
export TCSUPPORT_CD_WIND=1
TC_CFLAGS+=-DTCSUPPORT_CD_WIND
endif
ifneq ($(strip $(TCSUPPORT_CT_WAN_PTM)),)
export TCSUPPORT_CT_WAN_PTM=1
TC_CFLAGS+=-DTCSUPPORT_CT_WAN_PTM
export TCSUPPORT_IGMP_QUICK_LEAVE=1
TC_CFLAGS+=-DTCSUPPORT_IGMP_QUICK_LEAVE
endif
ifneq ($(strip $(TCSUPPORT_CT_VLAN_BIND)),)
export TCSUPPORT_CT_VLAN_BIND=1
TC_CFLAGS+=-DTCSUPPORT_CT_VLAN_BIND
endif
ifneq ($(strip $(TCSUPPORT_CT_FULL_ROUTE)),)
export TCSUPPORT_CT_FULL_ROUTE=1
TC_CFLAGS+=-DTCSUPPORT_CT_FULL_ROUTE
endif
ifneq ($(strip $(TCSUPPORT_CT_WAN_STAT)),)
export TCSUPPORT_CT_WAN_STAT=1
TC_CFLAGS+=-DTCSUPPORT_CT_WAN_STAT
endif
ifneq ($(strip $(TCSUPPORT_CT_DUAL_IMAGE)),)
export TCSUPPORT_CT_DUAL_IMAGE=1
TC_CFLAGS+=-DTCSUPPORT_CT_DUAL_IMAGE
endif
ifneq ($(strip $(TCSUPPORT_CT_WAN_CHILD_PREFIX)),)
export TCSUPPORT_CT_WAN_CHILD_PREFIX
TC_CFLAGS+=-DTCSUPPORT_CT_WAN_CHILD_PREFIX
endif
ifneq ($(strip $(TCSUPPORT_CT_HWQOS)),)
export TCSUPPORT_CT_HWQOS=1
TC_CFLAGS+=-DTCSUPPORT_CT_HWQOS
endif
ifneq ($(strip $(TCSUPPORT_CT_DHCP6C_STATUS_CODE)),)
export TCSUPPORT_CT_DHCP6C_STATUS_CODE
TC_CFLAGS+=-DTCSUPPORT_CT_DHCP6C_STATUS_CODE
endif
ifneq ($(strip $(TCSUPPORT_CT_E8B_ADSL)),)
export TCSUPPORT_CT_E8B_ADSL=1
TC_CFLAGS+=-DTCSUPPORT_CT_E8B_ADSL
endif
ifneq ($(strip $(TCSUPPORT_CT_IPV4_RADIO)),)
export TCSUPPORT_CT_IPV4_RADIO=1
TC_CFLAGS+=-DTCSUPPORT_CT_IPV4_RADIO
endif
ifneq ($(strip $(TCSUPPORT_CT_SYSTEM_EX)),)
export TCSUPPORT_CT_SYSTEM_EX=1
TC_CFLAGS+=-DTCSUPPORT_CT_SYSTEM_EX
endif
ifneq ($(strip $(TCSUPPORT_CT_DSLITE)),)
export TCSUPPORT_CT_DSLITE=1
TC_CFLAGS+=-DTCSUPPORT_CT_DSLITE
endif
ifneq ($(strip $(TCSUPPORT_CT_BRIDGEARP_NOFWD_LAN)),)
export TCSUPPORT_CT_BRIDGEARP_NOFWD_LAN=1
TC_CFLAGS+=-DTCSUPPORT_CT_BRIDGEARP_NOFWD_LAN
endif
ifneq ($(strip $(TCSUPPORT_CT_DSL_EX)),)
export TCSUPPORT_CT_DSL_EX=1
TC_CFLAGS+=-DTCSUPPORT_CT_DSL_EX
endif
ifneq ($(strip $(TCSUPPORT_CT_UPNP_DM)),)
export TCSUPPORT_CT_UPNP_DM=1
TC_CFLAGS+=-DTCSUPPORT_CT_UPNP_DM
endif
ifneq ($(strip $(TCSUPPORT_CT_SERVICELIST_E8C)),)
export TCSUPPORT_CT_SERVICELIST_E8C=1
TC_CFLAGS+=-DTCSUPPORT_CT_SERVICELIST_E8C
endif
ifneq ($(strip $(TCSUPPORT_CT_CWMP_ZIPROMFILE)),)
export TCSUPPORT_CT_CWMP_ZIPROMFILE=1
TC_CFLAGS+=-DTCSUPPORT_CT_CWMP_ZIPROMFILE
endif
ifneq ($(strip $(TCSUPPORT_CT_VOIP_H248)),)
export TCSUPPORT_CT_VOIP_H248=1
TC_CFLAGS+=-DTCSUPPORT_CT_VOIP_H248
ifneq ($(strip $(VP_MEGACO)),)
export VP_MEGACO=1
TC_CFLAGS+=-DVP_MEGACO
endif
endif
ifneq ($(strip $(TCSUPPORT_CT_VOIP_SIP)),)
export TCSUPPORT_CT_VOIP_SIP=1
TC_CFLAGS+=-DTCSUPPORT_CT_VOIP_SIP
ifneq ($(strip $(TCSUPPORT_VOIP_IMSSIP)),)
export TCSUPPORT_VOIP_IMSSIP=1
TC_CFLAGS+=-DTCSUPPORT_VOIP_IMSSIP
NUM_CHANNELS=2
export NUM_CHANNELS
TC_CFLAGS += -DNUM_CHANNELS=$(NUM_CHANNELS)
ifneq ($(strip $(VOIP_USE_LAN_IP)),)
TC_CFLAGS += -DVOIP_USE_LAN_IP
endif
endif
endif
ifneq ($(strip $(TCSUPPORT_CT_VOIP_QOS)),)
export TCSUPPORT_CT_VOIP_QOS=1
TC_CFLAGS+=-DTCSUPPORT_CT_VOIP_QOS
endif
ifneq ($(strip $(TCSUPPORT_CT_FTP_BACKDOOR)),)
export TCSUPPORT_CT_FTP_BACKDOOR=1
TC_CFLAGS+=-DTCSUPPORT_CT_FTP_BACKDOOR
endif
ifneq ($(strip $(TCSUPPORT_CT_DHCP_PORT_FILTER)),)
export TCSUPPORT_CT_DHCP_PORT_FILTER=1
TC_CFLAGS+=-DTCSUPPORT_CT_DHCP_PORT_FILTER
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_CY)),)
export TCSUPPORT_CT_PON_CY=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_CY
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_CY_JX)),)
export TCSUPPORT_HWNAT_WIFI=1
export TCSUPPORT_CT_PON_CY_JX=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_CY_JX
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_CJZ)),)
export TCSUPPORT_CT_PON_CJZ
TC_CFLAGS+=-DTCSUPPORT_CT_PON_CJZ
endif
ifneq ($(strip $(TCSUPPORT_CT_SFU_SK)),)
export TCSUPPORT_CT_SFU_SK=1
TC_CFLAGS+=-DTCSUPPORT_CT_SFU_SK
endif
ifneq ($(strip $(TCSUPPORT_CT_SFU_SX)),)
export TCSUPPORT_CT_SFU_SX=1
TC_CFLAGS+=-DTCSUPPORT_CT_SFU_SX
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_SK)),)
export TCSUPPORT_CT_PON_SK=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_SK
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_CN_JS)),)
export TCSUPPORT_CT_PON_CN_JS=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_CN_JS
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_C9)),)
export TCSUPPORT_CT_PON_C9
TC_CFLAGS+=-DTCSUPPORT_CT_PON_C9
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_C5)),)
export TCSUPPORT_CT_PON_C5
TC_CFLAGS+=-DTCSUPPORT_CT_PON_C5
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_C7)),)
export TCSUPPORT_CT_PON_C7=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_C7
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_SMALLSYSTEM)),)
export TCSUPPORT_CT_PON_SMALLSYSTEM
TC_CFLAGS+=-DTCSUPPORT_CT_PON_SMALLSYSTEM
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_BIGSYSTEM)),)
export TCSUPPORT_CT_PON_BIGSYSTEM=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_BIGSYSTEM
endif
ifneq ($(strip $(TCSUPPORT_CY)),)
export TCSUPPORT_CY=1
export TCSUPPORT_CY
TC_CFLAGS+=-DTCSUPPORT_CY
endif
ifneq ($(strip $(TCSUPPORT_CY_PON)),)
export TCSUPPORT_CY_PON=1
TC_CFLAGS+=-DTCSUPPORT_CY_PON
endif
ifneq ($(strip $(TCSUPPORT_HW_SW_FWVER)),)
export TCSUPPORT_HW_SW_FWVER=1
TC_CFLAGS+=-DTCSUPPORT_HW_SW_FWVER
endif
ifneq ($(strip $(TCSUPPORT_C7)),)
export TCSUPPORT_C7=1
export TCSUPPORT_C7
TC_CFLAGS+=-DTCSUPPORT_C7
endif
ifneq ($(strip $(TCSUPPORT_CT_PROLINE_SUPPORT)),)
export TCSUPPORT_CT_PROLINE_SUPPORT=1
TC_CFLAGS+=-DTCSUPPORT_CT_PROLINE_SUPPORT
endif
ifneq ($(strip $(TCSUPPORT_CT_PPPINFORM)),)
export TCSUPPORT_CT_PPPINFORM=1
TC_CFLAGS+=-DTCSUPPORT_CT_PPPINFORM
endif
ifneq ($(strip $(TCSUPPORT_CT_AUTOREGISTER)),)
export TCSUPPORT_CT_AUTOREGISTER=1
TC_CFLAGS+=-DTCSUPPORT_CT_AUTOREGISTER
endif
ifneq ($(strip $(TCSUPPORT_CT_FJ)),)
export TCSUPPORT_CT_FJ
TC_CFLAGS+=-DTCSUPPORT_CT_FJ
endif
ifneq ($(strip $(TCSUPPORT_CCT)),)
export TCSUPPORT_CCT
TC_CFLAGS+=-DTCSUPPORT_CCT
endif
ifneq ($(strip $(TCSUPPORT_RESERVEAREA_EXTEND)),)
export TCSUPPORT_RESERVEAREA_EXTEND=1
TC_CFLAGS+=-DTCSUPPORT_RESERVEAREA_EXTEND
endif
ifneq ($(strip $(TCSUPPORT_CT_DEV_ACCESS_TYPE)),)
export TCSUPPORT_CT_DEV_ACCESS_TYPE=1
TC_CFLAGS+=-DTCSUPPORT_CT_DEV_ACCESS_TYPE
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_YN)),)
export TCSUPPORT_CT_PON_YN=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_YN
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_NX)),)
export TCSUPPORT_CT_PON_NX=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_NX
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_GS)),)
export TCSUPPORT_CT_PON_GS=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_GS
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_C9_HUN)),)
export TCSUPPORT_CT_PON_C9_HUN
TC_CFLAGS+=-DTCSUPPORT_CT_PON_C9_HUN
endif
ifneq ($(strip $(TCSUPPORT_CT_DEVREG_PROV_CODE)),)
export TCSUPPORT_CT_DEVREG_PROV_CODE=1
TC_CFLAGS+=-DTCSUPPORT_CT_DEVREG_PROV_CODE
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_GD)),)
export TCSUPPORT_CT_PON_GD=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_GD
export TCSUPPORT_CWMP_PRECISE_TIME
TC_CFLAGS+=-DTCSUPPORT_CWMP_PRECISE_TIME
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_GDV20)),)
export TCSUPPORT_CT_PON_GDV20=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_GDV20
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_CQ)),)
export TCSUPPORT_CT_PON_CQ=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_CQ
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_SC)),)
export TCSUPPORT_CT_PON_SC=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_SC
export TCSUPPORT_CT_PPP_ONDEMAND_WEBUI=1
TC_CFLAGS+=-DTCSUPPORT_CT_PPP_ONDEMAND_WEBUI
endif
ifneq ($(strip $(TCSUPPORT_CT_UPG_PINGPONG)),)
export TCSUPPORT_CT_UPG_PINGPONG=1
TC_CFLAGS+=-DTCSUPPORT_CT_UPG_PINGPONG
endif
ifneq ($(strip $(TCSUPPORT_CT_REMOTE_UPG_WEBREDIRECT)),)
export TCSUPPORT_CT_REMOTE_UPG_WEBREDIRECT=1
TC_CFLAGS+=-DTCSUPPORT_CT_REMOTE_UPG_WEBREDIRECT
endif
ifneq ($(strip $(TCSUPPORT_CD_CWMP_ADSL)),)
export TCSUPPORT_CD_CWMP_ADSL=1
TC_CFLAGS+=-DTCSUPPORT_CD_CWMP_ADSL
endif
ifneq ($(strip $(TCSUPPORT_CD_MAC2SSID)),)
export TCSUPPORT_CD_MAC2SSID=1
TC_CFLAGS+=-DTCSUPPORT_CD_MAC2SSID
endif
ifneq ($(strip $(TCSUPPORT_CD_PVC2_ROUTE)),)
export TCSUPPORT_CD_PVC2_ROUTE=1
TC_CFLAGS+=-DTCSUPPORT_CD_PVC2_ROUTE
endif
ifneq ($(strip $(TCSUPPORT_LED_SWITCH_BUTTON)),)
export TCSUPPORT_LED_SWITCH_BUTTON=1
TC_CFLAGS+=-DTCSUPPORT_LED_SWITCH_BUTTON
endif
ifneq ($(strip $(TCSUPPORT_CUC_TIME_DISPLAY)),)
export TCSUPPORT_CUC_TIME_DISPLAY
TC_CFLAGS+=-DTCSUPPORT_CUC_TIME_DISPLAY
endif
ifneq ($(strip $(TCSUPPORT_CT_LONG_RESETBTN)),)
export TCSUPPORT_CT_LONG_RESETBTN=1
TC_CFLAGS+=-DTCSUPPORT_CT_LONG_RESETBTN
endif
ifneq ($(strip $(TCSUPPORT_CT_PPP_ONDEMAND)),)
export TCSUPPORT_CT_PPP_ONDEMAND=1
TC_CFLAGS+=-DTCSUPPORT_CT_PPP_ONDEMAND
endif
ifneq ($(strip $(TCSUPPORT_CT_ADV_DNSPROXY)),)
export TCSUPPORT_CT_ADV_DNSPROXY=1
TC_CFLAGS+=-DTCSUPPORT_CT_ADV_DNSPROXY
endif
ifneq ($(strip $(TCSUPPORT_CY_E8_SFU)),)
export TCSUPPORT_CY_E8_SFU=1
TC_CFLAGS+=-DTCSUPPORT_CY_E8_SFU
endif
ifneq ($(strip $(TCSUPPORT_CT_SFU_C9)),)
export TCSUPPORT_CT_SFU_C9=1
TC_CFLAGS+=-DTCSUPPORT_CT_SFU_C9
endif
ifneq ($(strip $(TCSUPPORT_CT_ECN_GZ)),)
export TCSUPPORT_CT_ECN_GZ=1
TC_CFLAGS+=-DTCSUPPORT_CT_ECN_GZ
endif
ifneq ($(strip $(TCSUPPORT_CT_SIMCARD_SEPARATION)),)
export TCSUPPORT_CT_SIMCARD_SEPARATION
TC_CFLAGS+=-DTCSUPPORT_CT_SIMCARD_SEPARATION
endif
ifneq ($(strip $(TCSUPPORT_CT_BLOCK_PROCESS)),)
export TCSUPPORT_CT_BLOCK_PROCESS
TC_CFLAGS+=-DTCSUPPORT_CT_BLOCK_PROCESS
endif
ifneq ($(strip $(TCSUPPORT_CT_NEWGUI)),)
export TCSUPPORT_CT_NEWGUI=1
TC_CFLAGS+=-DTCSUPPORT_CT_NEWGUI
endif
ifneq ($(strip $(TCSUPPORT_CT_2PORTS)),)
export TCSUPPORT_CT_2PORTS
TC_CFLAGS+=-DTCSUPPORT_CT_2PORTS
endif
ifneq ($(strip $(TCSUPPORT_CT_1PORT)),)
export TCSUPPORT_CT_1PORT=1
TC_CFLAGS+=-DTCSUPPORT_CT_1PORT
endif
ifneq ($(strip $(TCSUPPORT_CT_1FXS)),)
export TCSUPPORT_CT_1FXS
TC_CFLAGS+=-DTCSUPPORT_CT_1FXS
endif
ifneq ($(strip $(TCSUPPORT_DOT11N_SPEC_COMPLY)),)
export TCSUPPORT_DOT11N_SPEC_COMPLY=1
export TCSUPPORT_HTBW_40M
TC_CFLAGS+=-DTCSUPPORT_DOT11N_SPEC_COMPLY
TC_CFLAGS+=-DTCSUPPORT_HTBW_40M
endif
ifneq ($(strip $(TCSUPPORT_WPA2_PRE_AUTH)),)
export TCSUPPORT_WPA2_PRE_AUTH=1
TC_CFLAGS+=-DTCSUPPORT_WPA2_PRE_AUTH
endif
ifneq ($(strip $(TCSUPPORT_C1_MS)),)
export TCSUPPORT_C1_MS=1
TC_CFLAGS+=-DTCSUPPORT_C1_MS
endif
ifneq ($(strip $(TCSUPPORT_C1_ZY)),)
export TCSUPPORT_C1_ZY=1
TC_CFLAGS+=-DTCSUPPORT_C1_ZY
endif
ifneq ($(strip $(TCSUPPORT_WEB_LOGOUT)),)
export TCSUPPORT_WEB_LOGOUT=1
TC_CFLAGS+=-DTCSUPPORT_WEB_LOGOUT
endif
ifneq ($(strip $(TCSUPPORT_CT_LOOPDETECT)),)
export TCSUPPORT_CT_LOOPDETECT=1
TC_CFLAGS+=-DTCSUPPORT_CT_LOOPDETECT
endif
ifneq ($(strip $(TCSUPPORT_CG_DS_ADD_TAG)),)
export TCSUPPORT_CG_DS_ADD_TAG=1
TC_CFLAGS+=-DTCSUPPORT_CG_DS_ADD_TAG
endif
ifneq ($(strip $(TCSUPPORT_WAN_UPSTREAM_REMARK)),)
export TCSUPPORT_WAN_UPSTREAM_REMARK=1
TC_CFLAGS+=-DTCSUPPORT_WAN_UPSTREAM_REMARK
endif
ifneq ($(strip $(TCSUPPORT_MT7520S)),)
export TCSUPPORT_MT7520S=1
TC_CFLAGS+=-DTCSUPPORT_MT7520S
endif
ifneq ($(strip $(TCSUPPORT_CHS)),)
export TCSUPPORT_CHS=1
TC_CFLAGS+=-DTCSUPPORT_CHS
endif
ifneq ($(strip $(TCSUPPORT_NOT_CARE_VER_DY_STALIST)),)
export TCSUPPORT_NOT_CARE_VER_DY_STALIST=1
TC_CFLAGS+=-DTCSUPPORT_NOT_CARE_VER_DY_STALIST
endif
ifneq ($(strip $(TCSUPPORT_CT_DIAG_MICROSECOND)),)
export TCSUPPORT_CT_DIAG_MICROSECOND=1
TC_CFLAGS+=-DTCSUPPORT_CT_DIAG_MICROSECOND
endif
ifneq ($(strip $(TCSUPPORT_CT_MONITORCOLLECTOR)),)
export TCSUPPORT_CT_MONITORCOLLECTOR=1
TC_CFLAGS+=-DTCSUPPORT_CT_MONITORCOLLECTOR
endif
ifneq ($(strip $(TCSUPPORT_CT_PPPOE_EMULATOR)),)
export TCSUPPORT_CT_PPPOE_EMULATOR
TC_CFLAGS+=-DTCSUPPORT_CT_PPPOE_EMULATOR
endif
ifneq ($(strip $(TCSUPPORT_CT_PPPOE_IPV6_EMULATOR)),)
export TCSUPPORT_CT_PPPOE_IPV6_EMULATOR=1
TC_CFLAGS+=-DTCSUPPORT_CT_PPPOE_IPV6_EMULATOR
endif
ifneq ($(strip $(TCSUPPORT_ASB_VECTOR)),)
export TCSUPPORT_ASB_VECTOR=1
TC_CFLAGS+=-DTCSUPPORT_ASB_VECTOR
endif
ifneq ($(strip $(TCSUPPORT_CT_UPLOAD_ALLINONE)),)
export TCSUPPORT_CT_UPLOAD_ALLINONE=1
TC_CFLAGS+=-DTCSUPPORT_CT_UPLOAD_ALLINONE
endif
ifneq ($(strip $(TCSUPPORT_CT_WANNINDEX_INCREASE)),)
export TCSUPPORT_CT_WANNINDEX_INCREASE=1
TC_CFLAGS+=-DTCSUPPORT_CT_WANNINDEX_INCREASE
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_NMG)),)
export TCSUPPORT_CT_PON_NMG=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_NMG
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_SN)),)
export TCSUPPORT_CT_PON_SN=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_SN
endif
ifneq ($(strip $(TCSUPPORT_CT_PHONEAPP)),)
export TCSUPPORT_CT_PHONEAPP=1
TC_CFLAGS+=-DTCSUPPORT_CT_PHONEAPP
export TCSUPPORT_TRACEROUTE=1
TC_CFLAGS+=-DTCSUPPORT_TRACEROUTE
endif
ifneq ($(strip $(TCSUPPORT_CT_JOYME)),)
export TCSUPPORT_CT_JOYME=1
TC_CFLAGS+=-DTCSUPPORT_CT_JOYME
endif
ifneq ($(strip $(TCSUPPORT_CT_JOYME_BANDWIDTH)),)
export TCSUPPORT_CT_JOYME_BANDWIDTH=1
TC_CFLAGS+=-DTCSUPPORT_CT_JOYME_BANDWIDTH
endif
ifneq ($(strip $(TCSUPPORT_CT_OSGI)),)
export TCSUPPORT_CT_OSGI=1
TC_CFLAGS+=-DTCSUPPORT_CT_OSGI
endif
ifneq ($(strip $(TCSUPPORT_CT_DHCP_FORCERENEW)),)
export TCSUPPORT_CT_DHCP_FORCERENEW=1
TC_CFLAGS+=-DTCSUPPORT_CT_DHCP_FORCERENEW
endif
ifneq ($(strip $(TCSUPPORT_CT_DHCP_ARPPING)),)
export TCSUPPORT_CT_DHCP_ARPPING=1
TC_CFLAGS+=-DTCSUPPORT_CT_DHCP_ARPPING
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_BIND2)),)
export TCSUPPORT_CT_PON_BIND2=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_BIND2
endif
ifneq ($(strip $(TCSUPPORT_CT_ITMS_TMOUT)),)
export TCSUPPORT_CT_ITMS_TMOUT=1
TC_CFLAGS+=-DTCSUPPORT_CT_ITMS_TMOUT
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_JS)),)
export TCSUPPORT_CT_PON_JS=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_JS
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_JS_IP)),)
export TCSUPPORT_CT_PON_JS_IP=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_JS_IP
endif
ifneq ($(strip $(TCSUPPORT_CT_VOIP_CRYPT)),)
export TCSUPPORT_CT_VOIP_CRYPT=1
TC_CFLAGS+=-DTCSUPPORT_CT_VOIP_CRYPT
endif
ifneq ($(strip $(TCSUPPORT_CUC_PON_SFU)),)
export TCSUPPORT_CUC_PON_SFU=1
TC_CFLAGS+=-DTCSUPPORT_CUC_PON_SFU
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_GX)),)
export TCSUPPORT_CT_PON_GX=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_GX
endif
ifneq ($(strip $(TCSUPPORT_C5_XPON_AUTH_LED)),)
export TCSUPPORT_C5_XPON_AUTH_LED=1
TC_CFLAGS+=-DTCSUPPORT_C5_XPON_AUTH_LED
endif
ifneq ($(strip $(TCSUPPORT_CT_C9)),)
export TCSUPPORT_CT_C9=1
TC_CFLAGS+=-DTCSUPPORT_CT_C9
endif
ifneq ($(strip $(TCSUPPORT_C9_ROST_LED)),)
export TCSUPPORT_C9_ROST_LED=1
TC_CFLAGS+=-DTCSUPPORT_C9_ROST_LED
endif
ifneq ($(strip $(TCSUPPORT_CT_PORTSLIMIT)),)
export TCSUPPORT_CT_PORTSLIMIT=1
TC_CFLAGS+=-DTCSUPPORT_CT_PORTSLIMIT
endif
ifneq ($(strip $(TCSUPPORT_BOTH_SIPH248)),)
export TCSUPPORT_BOTH_SIPH248=1
TC_CFLAGS+=-DTCSUPPORT_BOTH_SIPH248
endif
ifneq ($(strip $(TCSUPPORT_C7_CU)),)
export TCSUPPORT_C7_CU
TC_CFLAGS+=-DTCSUPPORT_C7_CU
endif
ifneq ($(strip $(TCSUPPORT_CT_IPOE_EMULATOR)),)
export TCSUPPORT_CT_IPOE_EMULATOR=1
TC_CFLAGS+=-DTCSUPPORT_CT_IPOE_EMULATOR
endif
ifneq ($(strip $(TCSUPPORT_TR69_IP_HOST)),)
export TCSUPPORT_TR69_IP_HOST
TC_CFLAGS+=-DTCSUPPORT_TR69_IP_HOST
endif
ifneq ($(strip $(TCSUPPORT_PON_FH)),)
export TCSUPPORT_PON_FH=1
TC_CFLAGS+=-DTCSUPPORT_PON_FH
endif
ifneq ($(strip $(TCSUPPORT_ENGLISH_ONLY)),)
export TCSUPPORT_ENGLISH_ONLY=1
TC_CFLAGS+=-DTCSUPPORT_ENGLISH_ONLY
endif
ifneq ($(strip $(TCSUPPORT_CT_C5_HEN_SFU)),)
export TCSUPPORT_CT_C5_HEN_SFU=1
TC_CFLAGS+=-DTCSUPPORT_CT_C5_HEN_SFU
endif
ifneq ($(strip $(TCSUPPORT_MT7570)),)
export TCSUPPORT_MT7570=1
TC_CFLAGS+=-DTCSUPPORT_MT7570
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_JX)),)
export TCSUPPORT_CT_PON_JX=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_JX
endif
ifneq ($(strip $(TCSUPPORT_CT_STBMAC_REPORT)),)
export TCSUPPORT_CT_STBMAC_REPORT=1
TC_CFLAGS+=-DTCSUPPORT_CT_STBMAC_REPORT
endif
ifneq ($(strip $(TCSUPPORT_GPIO40)),)
export TCSUPPORT_GPIO40=1
TC_CFLAGS+=-DTCSUPPORT_GPIO40
endif
ifneq ($(strip $(TCSUPPORT_GPIO25)),)
export TCSUPPORT_GPIO25=1
TC_CFLAGS+=-DTCSUPPORT_GPIO25
endif
ifneq ($(strip $(TCSUPPORT_CUC_C5_JZ_INVERSE)),)
export TCSUPPORT_CUC_C5_JZ_INVERSE=1
TC_CFLAGS+=-DTCSUPPORT_CUC_C5_JZ_INVERSE
endif
ifneq ($(strip $(TCSUPPORT_CT_PMINFORM)),)
export TCSUPPORT_CT_PMINFORM=1
TC_CFLAGS+=-DTCSUPPORT_CT_PMINFORM
endif
ifneq ($(strip $(TCSUPPORT_CT_ADSL_HN)),)
export TCSUPPORT_CT_ADSL_HN=1
TC_CFLAGS+=-DTCSUPPORT_CT_ADSL_HN
endif
ifneq ($(strip $(TCSUPPORT_C7_CUC)),)
export TCSUPPORT_C7_CUC=1
TC_CFLAGS+=-DTCSUPPORT_C7_CUC
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_ONUCONFIG)),)
export TCSUPPORT_CT_PON_ONUCONFIG=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_ONUCONFIG
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_HUB)),)
export TCSUPPORT_CT_PON_HUB=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_HUB
endif
ifneq ($(strip $(TCSUPPORT_CT_PPP_ONDEMAND_WEBUI)),)
export TCSUPPORT_CT_PPP_ONDEMAND_WEBUI=1
TC_CFLAGS+=-DTCSUPPORT_CT_PPP_ONDEMAND_WEBUI
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_FHT)),)
export TCSUPPORT_CT_PON_FHT=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_FHT
endif
ifneq ($(strip $(TCSUPPORT_CT_TR143_WGET_DOWNLOAD)),)
export TCSUPPORT_CT_TR143_WGET_DOWNLOAD=1
TC_CFLAGS+=-DTCSUPPORT_CT_TR143_WGET_DOWNLOAD
endif
ifneq ($(strip $(TCSUPPORT_CT_ADSL_TJ)),)
export TCSUPPORT_CT_ADSL_TJ=1
TC_CFLAGS+=-DTCSUPPORT_CT_ADSL_TJ
endif
ifneq ($(strip $(TCSUPPORT_CT_STB_TEST)),)
export TCSUPPORT_CT_STB_TEST=1
TC_CFLAGS+=-DTCSUPPORT_CT_STB_TEST
endif
ifneq ($(strip $(TCSUPPORT_CT_ADSL_BIND1)),)
export TCSUPPORT_CT_ADSL_BIND1=1
TC_CFLAGS+=-DTCSUPPORT_CT_ADSL_BIND1
endif
ifneq ($(strip $(TCSUPPORT_CT_NAMECHGNOTIFY)),)
export TCSUPPORT_CT_NAMECHGNOTIFY=1
TC_CFLAGS+=-DTCSUPPORT_CT_NAMECHGNOTIFY
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_CA)),)
export TCSUPPORT_CT_PON_CA=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_CA
endif
ifneq ($(strip $(TCSUPPORT_CMCC)),)
export TCSUPPORT_CMCC=1
TC_CFLAGS+=-DTCSUPPORT_CMCC
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_HLJ)),)
export TCSUPPORT_CT_PON_HLJ=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_HLJ
endif
ifneq ($(strip $(TCSUPPORT_CT_DS_LIMIT)),)
export TCSUPPORT_CT_DS_LIMIT=1
TC_CFLAGS+=-DTCSUPPORT_CT_DS_LIMIT
endif
ifneq ($(strip $(TCSUPPORT_PON_IP_HOST_AUTOWAN_VOICE)),)
export TCSUPPORT_PON_IP_HOST_AUTOWAN_VOICE=1
TC_CFLAGS+=-DTCSUPPORT_PON_IP_HOST_AUTOWAN_VOICE
endif
ifneq ($(strip $(TCSUPPORT_GPON_GREENDROP_OPEN)),)
export TCSUPPORT_GPON_GREENDROP_OPEN=1
TC_CFLAGS+=-DTCSUPPORT_GPON_GREENDROP_OPEN
endif
ifneq ($(strip $(TCSUPPORT_C1_ZY_SFU)),)
export TCSUPPORT_C1_ZY_SFU=1
TC_CFLAGS+=-DTCSUPPORT_C1_ZY_SFU
endif
ifneq ($(strip $(TCSUPPORT_C1_ZY_HGU)),)
export TCSUPPORT_C1_ZY_HGU=1
TC_CFLAGS+=-DTCSUPPORT_C1_ZY_HGU
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_CY_JX)),)
export TCSUPPORT_CT_PON_CY_JX=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_CY_JX
endif
ifneq ($(strip $(TCSUPPORT_CT_TRACEROUTEIPV6)),)
export TCSUPPORT_CT_TRACEROUTEIPV6=1
TC_CFLAGS+=-DTCSUPPORT_CT_TRACEROUTEIPV6
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_CAU)),)
export TCSUPPORT_CT_PON_CAU=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_CAU
endif
ifneq ($(strip $(TCSUPPORT_CT_PPPERRCODE_ENHANCE)),)
export TCSUPPORT_CT_PPPERRCODE_ENHANCE=1
TC_CFLAGS+=-DTCSUPPORT_CT_PPPERRCODE_ENHANCE
endif
ifneq ($(strip $(TCSUPPORT_CT_BRIDGE_PPPSTATUS)),)
export TCSUPPORT_CT_BRIDGE_PPPSTATUS=1
TC_CFLAGS+=-DTCSUPPORT_CT_BRIDGE_PPPSTATUS
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_CJ)),)
export TCSUPPORT_CT_PON_CJ=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_CJ
endif
ifneq ($(strip $(TCSUPPORT_CT_PON_BIND2_WEB)),)
export TCSUPPORT_CT_PON_BIND2_WEB=1
TC_CFLAGS+=-DTCSUPPORT_CT_PON_BIND2_WEB
endif
ifneq ($(strip $(TCSUPPORT_SEPERATED_ETH_ITF)),)
export TCSUPPORT_SEPERATED_ETH_ITF=1
TC_CFLAGS+=-DTCSUPPORT_SEPERATED_ETH_ITF
endif
ifneq ($(strip $(TCSUPPORT_WAN2LAN_EXT)),)
export TCSUPPORT_WAN2LAN_EXT=1
TC_CFLAGS+=-DTCSUPPORT_WAN2LAN_EXT
endif
ifneq ($(strip $(TCSUPPORT_XPON_HAL_API_EXT)),)
export TCSUPPORT_XPON_HAL_API_EXT=1
export TCSUPPORT_CT_HWNAT_OFFLOAD=1
export TCSUPPORT_CT_SWQOS=1
TC_CFLAGS+=-DTCSUPPORT_XPON_HAL_API_EXT
TC_CFLAGS+=-DTCSUPPORT_CT_HWNAT_OFFLOAD
TC_CFLAGS+=-DTCSUPPORT_CT_SWQOS
endif
ifneq ($(strip $(TCSUPPORT_XPON_HAL_API_QOS)),)
export TCSUPPORT_XPON_HAL_API_QOS=1
TC_CFLAGS+=-DTCSUPPORT_XPON_HAL_API_QOS
endif
ifneq ($(strip $(TCSUPPORT_IS_FH_PON)),)
export TCSUPPORT_IS_FH_PON=1
TC_CFLAGS+=-DTCSUPPORT_IS_FH_PON
endif
ifneq ($(strip $(TCSUPPORT_FH_ENV)),)
export TCSUPPORT_FH_ENV=1
TC_CFLAGS+=-DTCSUPPORT_FH_ENV
endif
ifneq ($(strip $(TCSUPPORT_CT_MAXNET_DPI)),)
export TCSUPPORT_CT_MAXNET_DPI=1
TC_CFLAGS+=-DTCSUPPORT_CT_MAXNET_DPI
endif
ifneq ($(strip $(TCSUPPORT_CT_CUSTOMMENU)),)
export TCSUPPORT_CT_CUSTOMMENU=1
TC_CFLAGS+=-DTCSUPPORT_CT_CUSTOMMENU
endif
#=========ZyXEL compile flags==============
ifneq ($(strip $(ZYXEL)),)
export ZYXEL=1
TC_CFLAGS+=-DZYXEL
endif
ifneq ($(strip $(ZYXEL_SUPPORT_DEFCFG)),)
export ZYXEL_SUPPORT_DEFCFG=1
TC_CFLAGS+=-DZYXEL_SUPPORT_DEFCFG
endif
ifneq ($(strip $(ZYXEL_SUPPORT_ROMD)),)
export ZYXEL_SUPPORT_ROMD=1
TC_CFLAGS+=-DZYXEL_SUPPORT_ROMD
endif
ifneq ($(strip $(ZYXEL_SUPPORT_ROMFILE2)),)
export ZYXEL_SUPPORT_ROMFILE2=1
TC_CFLAGS+=-DZYXEL_SUPPORT_ROMFILE2
endif
ifneq ($(strip $(ZYXEL_SUPPORT_WWANPKG)),)
export ZYXEL_SUPPORT_WWANPKG=1
TC_CFLAGS+=-DZYXEL_SUPPORT_WWANPKG
endif
ifneq ($(strip $(ZYXEL_SUPPORT_DATA)),)
export ZYXEL_SUPPORT_DATA=1
TC_CFLAGS+=-DZYXEL_SUPPORT_DATA
endif
ifneq ($(strip $(ZYXEL_SUPPORT_DUAL_IMAGE)),)
export ZYXEL_SUPPORT_DUAL_IMAGE=1
TC_CFLAGS+=-DZYXEL_SUPPORT_DUAL_IMAGE
endif
ifneq ($(strip $(ZYXEL_SUPPORT_USB_PROTECTION_CIRCUIT)),)
export ZYXEL_SUPPORT_USB_PROTECTION_CIRCUIT
export ZYXEL_USB_OC_ENABLE_GPIO
TC_CFLAGS+=-DZYXEL_SUPPORT_USB_PROTECTION_CIRCUIT
TC_CFLAGS+=-DZYXEL_USB_OC_ENABLE_GPIO=$(ZYXEL_USB_OC_ENABLE_GPIO)
ifneq ($(strip $(ZYXEL_USB_OC_FLAG_SUPPORT)),)
export ZYXEL_USB_OC_FLAG_SUPPORT
export ZYXEL_USB_OC_FLAG_GPIO
TC_CFLAGS+=-DZYXEL_USB_OC_FLAG_SUPPORT
TC_CFLAGS+=-DZYXEL_USB_OC_FLAG_GPIO=$(ZYXEL_USB_OC_FLAG_GPIO)
endif
endif
ifneq ($(strip $(ZYXEL_CUSTOMIZE_LED_BEHAVIOR)),)
export ZYXEL_CUSTOMIZE_LED_BEHAVIOR
TC_CFLAGS+=-DZYXEL_CUSTOMIZE_LED_BEHAVIOR
endif
ifneq ($(strip $(ZYXEL_INVERSE_GPON_LOS_LED)),)
export ZYXEL_INVERSE_GPON_LOS_LED
TC_CFLAGS+=-DZYXEL_INVERSE_GPON_LOS_LED
endif
ifneq ($(strip $(ZYXEL_DISABLE_SECOND_PCI)),)
export ZYXEL_DISABLE_SECOND_PCI
TC_CFLAGS+=-DZYXEL_DISABLE_SECOND_PCI
endif
ifneq ($(strip $(ZYXEL_PCIE_RESET0_PIN_AS_GPIO_30)),)
export ZYXEL_PCIE_RESET0_PIN_AS_GPIO_30
TC_CFLAGS+=-DZYXEL_PCIE_RESET0_PIN_AS_GPIO_30
endif
ifneq ($(strip $(ZYXEL_PCIE_RESET1_PIN_AS_GPIO_31)),)
export ZYXEL_PCIE_RESET1_PIN_AS_GPIO_31
TC_CFLAGS+=-DZYXEL_PCIE_RESET1_PIN_AS_GPIO_31
endif
ifneq ($(strip $(ZYXEL_UPS_FEATURE)),)
export ZYXEL_UPS_FEATURE
TC_CFLAGS+=-DZYXEL_UPS_FEATURE
endif
ifneq ($(strip $(ZYXEL_LAN_WAN_WLAN_SHARE_THE_SAME_MAC)),)
export ZYXEL_LAN_WAN_WLAN_SHARE_THE_SAME_MAC
TC_CFLAGS+=-DZYXEL_LAN_WAN_WLAN_SHARE_THE_SAME_MAC
endif
ifneq ($(strip $(ZYXEL_GEMPORT_RATE_LIMIT)),)
export ZYXEL_GEMPORT_RATE_LIMIT
TC_CFLAGS+=-DZYXEL_GEMPORT_RATE_LIMIT
endif
ifneq ($(strip $(ZYXEL_BRIDGE_MAC_LIMIT)),)
export ZYXEL_BRIDGE_MAC_LIMIT=1
TC_CFLAGS+=-DZYXEL_BRIDGE_MAC_LIMIT
endif
export TC_CFLAGS