summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/files/arch/rlx/Makefile.bsp
diff options
context:
space:
mode:
authorArtur Artamonov <freeartman@wechall.net>2013-09-27 11:51:33 +0300
committerArtur Artamonov <freeartman@wechall.net>2013-09-27 11:51:33 +0300
commitb88fd93a1f263f5728e106ea373fdbe1b3716930 (patch)
tree8c3a4485eb7dbefe9bab3b0be0cbd1bdb2c09423 /target/linux/realtek/files/arch/rlx/Makefile.bsp
parent121949f8fc696103181b55c205c19f92b53c4968 (diff)
bsp directory created depending on profile
Diffstat (limited to 'target/linux/realtek/files/arch/rlx/Makefile.bsp')
-rw-r--r--target/linux/realtek/files/arch/rlx/Makefile.bsp25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/realtek/files/arch/rlx/Makefile.bsp b/target/linux/realtek/files/arch/rlx/Makefile.bsp
new file mode 100644
index 000000000..1629eb5f9
--- /dev/null
+++ b/target/linux/realtek/files/arch/rlx/Makefile.bsp
@@ -0,0 +1,25 @@
+CURRENT_BSP:=bsp
+ifdef CONFIG_RTL_8196C
+CURRENT_BSP:=rtl8196c
+else
+ifdef CONFIG_RTL_8196E
+CURRENT_BSP:=rtl8196e
+else
+ifdef CONFIG_RTL_8196EU
+CURRENT_BSP:=rtl8196eu
+else
+ifdef CONFIG_RTL_8198
+CURRENT_BSP:=rtl8198
+else
+ifdef CONFIG_RTL_819XD
+CURRENT_BSP:=rtl819xD
+endif
+endif
+endif
+endif
+endif
+
+bsp:
+
+ rm -rf arch/rlx/bsp
+ ln -s ./bsp_$(CURRENT_BSP) arch/rlx/bsp