diff options
author | Roman Yeryomin <roman@advem.lv> | 2013-05-17 20:40:24 +0300 |
---|---|---|
committer | Roman Yeryomin <roman@advem.lv> | 2013-05-17 20:40:24 +0300 |
commit | e6d87036412b952cb083eff2dc716aee97a771f2 (patch) | |
tree | 273dd3daaa85553832d3cc6d48276229dc7fbe09 /target/linux/realtek/files/net/rtl/features/Makefile | |
parent | a18fec42221baa52fff4c5ffd45ec8f32e3add36 (diff) |
Move to rsdk 3.2.4. Compiles cleanly.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux/realtek/files/net/rtl/features/Makefile')
-rw-r--r-- | target/linux/realtek/files/net/rtl/features/Makefile | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/target/linux/realtek/files/net/rtl/features/Makefile b/target/linux/realtek/files/net/rtl/features/Makefile index 1e34bfa4f..229e483b2 100644 --- a/target/linux/realtek/files/net/rtl/features/Makefile +++ b/target/linux/realtek/files/net/rtl/features/Makefile @@ -3,17 +3,27 @@ # #EXTRA_CFLAGS += -I $(DIR_LINUX)/drivers/net/rtl819x -EXTRA_CFLAGS += -I $(TOPDIR)/net +EXTRA_CFLAGS += -I $(DIR_LINUX)/net EXTRA_CFLAGS += -D__KERNEL__ #EXTRA_CFLAGS += -Wno-implicit -Werror #EXTRA_CFLAGS += -DCONFIG_RTK_IPTABLES_FAST_PATH #EXTRA_CFLAGS += -DCONFIG_FAST_PATH_MODULE +ifeq ($(CONFIG_RTL_819XD),y) +TARGET = 9xD +endif + +ifeq ($(CONFIG_RTL_8196E),y) +TARGET = 96E +endif + ifeq ($(CONFIG_RTL_8198),y) TARGET = 98 -else -TARGET = 96C +endif + +ifeq ($(CONFIG_RTL_8196C),y) +TARGET = 96E endif EFEATURES_OBJ=rtl_features.o rtl_ps_hooks.o |