summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/files/arch/rlx/bsp_rtl819xD
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/realtek/files/arch/rlx/bsp_rtl819xD')
-rw-r--r--target/linux/realtek/files/arch/rlx/bsp_rtl819xD/Makefile18
-rw-r--r--target/linux/realtek/files/arch/rlx/bsp_rtl819xD/setup.c2
2 files changed, 7 insertions, 13 deletions
diff --git a/target/linux/realtek/files/arch/rlx/bsp_rtl819xD/Makefile b/target/linux/realtek/files/arch/rlx/bsp_rtl819xD/Makefile
index d32d4c5d5..04c487630 100644
--- a/target/linux/realtek/files/arch/rlx/bsp_rtl819xD/Makefile
+++ b/target/linux/realtek/files/arch/rlx/bsp_rtl819xD/Makefile
@@ -1,26 +1,18 @@
-# Realtek Semiconductor Corp.
-#
-# Tony Wu (tonywu@realtek.com)
-# Oct. 18, 2008
-#
+include $(TOPDIR)/.config
-#
-# RTL8198
-#
-include $(DIR_LINUX)/.config
-core-y += arch/rlx/bsp/
cflags-y += -Iinclude/asm-rlx -Iarch/rlx/bsp/
+#load-y += 0xffffffff80000000
load-y += 0x80000000
extra-y += vmlinux.lds
-obj-y := prom.o setup.o irq.o timer.o serial.o
+obj-y := irq.o prom.o serial.o setup.o timer.o dev_usb.o
obj-$(CONFIG_PCI) += pci.o
EXTRA_AFLAGS := $(CFLAGS)
-EXTRA_CFLAGS += -I$(DIR_LINUX)/drivers/net/rtl819x/AsicDriver
-EXTRA_CFLAGS += -I$(DIR_LINUX)/drivers/net/rtl819x/common
+EXTRA_CFLAGS += -I$(TOPDIR)/drivers/net/rtl819x/AsicDriver
+EXTRA_CFLAGS += -I$(TOPDIR)/drivers/net/rtl819x/common
ifdef CONFIG_RTL_819X_SWCORE
EXTRA_CFLAGS += -DCONFIG_RTL_819X_SWCORE
endif
diff --git a/target/linux/realtek/files/arch/rlx/bsp_rtl819xD/setup.c b/target/linux/realtek/files/arch/rlx/bsp_rtl819xD/setup.c
index c6f147ad5..932e9aa2b 100644
--- a/target/linux/realtek/files/arch/rlx/bsp_rtl819xD/setup.c
+++ b/target/linux/realtek/files/arch/rlx/bsp_rtl819xD/setup.c
@@ -185,3 +185,5 @@ void __init bsp_setup(void)
}
#endif
}
+
+pure_initcall(rtl819x_add_device_usb);