[OpenWrt-Devel] [PATCH 2/2] samsung: add subtarget condition for device
Adrian Schmutzler
freifunk at adrianschmutzler.de
Sat Dec 28 11:25:51 EST 2019
The only device in samsung target is meant to be built with s5pv210
subtarget. Thus, though this won't make a difference for a
one-subtarget target, already add the condition to the Makefile to
make the assignment obvious.
Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
target/linux/samsung/image/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/target/linux/samsung/image/Makefile b/target/linux/samsung/image/Makefile
index 53509ef137..3648562704 100644
--- a/target/linux/samsung/image/Makefile
+++ b/target/linux/samsung/image/Makefile
@@ -17,6 +17,8 @@ define Device/Default
DEVICE_DTS = $$(SOC)_$(1)
endef
+ifeq ($(SUBTARGET),s5pv210)
+
define Device/embedsky_tq210
DEVICE_VENDOR := EmbedSky
DEVICE_MODEL := TQ210
@@ -24,4 +26,6 @@ define Device/embedsky_tq210
endef
TARGET_DEVICES += embedsky_tq210
+endif
+
$(eval $(call BuildImage))
--
2.20.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list