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/fastpath/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/fastpath/Makefile')
-rw-r--r-- | target/linux/realtek/files/net/rtl/fastpath/Makefile | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/target/linux/realtek/files/net/rtl/fastpath/Makefile b/target/linux/realtek/files/net/rtl/fastpath/Makefile index 4d68e2183..9e108e6f9 100644 --- a/target/linux/realtek/files/net/rtl/fastpath/Makefile +++ b/target/linux/realtek/files/net/rtl/fastpath/Makefile @@ -2,23 +2,31 @@ # Makefile for the fastpath modules on top of IPv4. # +include $(DIR_ROOT)/.config + #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 -ifeq ($(CONFIG_RTL_8198),y) -TARGET = 98 -else -TARGET = 96C +ifeq ($(CONFIG_RTL_819XD),y) +TARGET = 9xD endif -ifeq ($(CONFIG_MODEL_RTL8198_MP),y) -TARGET = 98_MP +ifeq ($(CONFIG_RTL_8196E),y) +TARGET = 96E endif -ifeq ($(CONFIG_MODEL_RTL8196C_MP),y) -TARGET = 96C_MP +ifeq ($(CONFIG_RTL_8196C),y) +TARGET = 96E +endif + +ifeq ($(CONFIG_RTL_8198),y) +TARGET = 98 +endif + +ifeq "$(CONFIG_MODEL_RTL89xxC_SDK)" "y" +EXTRA_CFLAGS += --save-temps endif ifeq ($(CONFIG_RTL_IPTABLES_FAST_PATH),m) @@ -37,6 +45,9 @@ obj-$(CONFIG_RTL_IPTABLES_FAST_PATH) += $(TARGET)/fast_filter.o else obj-$(CONFIG_RTL_IPTABLES_FAST_PATH) += $(TARGET)/filter_v2.o endif +ifeq ($(CONFIG_RTL_FAST_PPPOE), y) +obj-$(CONFIG_RTL_IPTABLES_FAST_PATH) += $(TARGET)/fast_pppoe_core.o +endif endif obj-$(CONFIG_RTL_FAST_BRIDGE) += fast_br.o |