summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/files/arch/rlx/Makefile.bsp
diff options
context:
space:
mode:
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