samsung: add subtarget condition for device

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@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2019-12-28 16:08:38 +01:00
parent 6e70e4a071
commit 1b44ecc2d7
1 changed files with 4 additions and 0 deletions

View File

@ -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))