aboutsummaryrefslogtreecommitdiffstats
path: root/include/image.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-05-22 22:02:31 +0200
committerFelix Fietkau <nbd@nbd.name>2016-06-07 08:58:40 +0200
commitf8ebbbc568c166e59f1302e0abb817060313fd9d (patch)
treec8b4ee2d13dac0da5023c19e6eb6da4dfb564057 /include/image.mk
parent9ae952cf8cf2f0d7df95434c8b16d13bc1b47fca (diff)
downloadupstream-f8ebbbc568c166e59f1302e0abb817060313fd9d.tar.gz
upstream-f8ebbbc568c166e59f1302e0abb817060313fd9d.tar.bz2
upstream-f8ebbbc568c166e59f1302e0abb817060313fd9d.zip
build: implement support for selecting multiple device profiles
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include/image.mk')
-rw-r--r--include/image.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image.mk b/include/image.mk
index 365098d5c0..aeff95d093 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -482,7 +482,7 @@ endef
ifdef IB
DEVICE_CHECK_PROFILE = $(filter $(1),$(PROFILE))
else
- DEVICE_CHECK_PROFILE = $(CONFIG_TARGET_$(call target_conf,$(BOARD)$(if $(SUBTARGET),_$(SUBTARGET)))_$(1))
+ DEVICE_CHECK_PROFILE = $(CONFIG_TARGET_$(if $(CONFIG_TARGET_MULTI_PROFILE),DEVICE_)$(call target_conf,$(BOARD)$(if $(SUBTARGET),_$(SUBTARGET)))_$(1))
endif
define Device/Check