summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/files/arch/rlx/bsp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/realtek/files/arch/rlx/bsp/Makefile')
-rw-r--r--target/linux/realtek/files/arch/rlx/bsp/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/realtek/files/arch/rlx/bsp/Makefile b/target/linux/realtek/files/arch/rlx/bsp/Makefile
new file mode 100644
index 000000000..0542f0a9e
--- /dev/null
+++ b/target/linux/realtek/files/arch/rlx/bsp/Makefile
@@ -0,0 +1,18 @@
+include $(TOPDIR)/.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 := irq.o prom.o serial.o setup.o timer.o
+obj-$(CONFIG_PCI) += pci.o
+
+EXTRA_AFLAGS := $(CFLAGS)
+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