summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/files/arch/rlx/bsp/Makefile
diff options
context:
space:
mode:
authorArtur Artamonov <freeartman@wechall.net>2013-08-22 09:32:02 +0300
committerArtur Artamonov <freeartman@wechall.net>2013-08-22 09:32:02 +0300
commit2d0b9e4ca9625491611a722c22cfa48601d0669b (patch)
treef889eea124984b0266998fe4a53b5f282639b9ad /target/linux/realtek/files/arch/rlx/bsp/Makefile
parentd4bc867ac3afd260e4256e1463b273083769a363 (diff)
[realte] merged bspfiles for 96c/9xD
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