From b0cf769008bc38f386c977f38f80de0fef098355 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 11 May 2016 19:15:23 +0200 Subject: [PATCH] image.mk: include per-device profiles in image build profile check Signed-off-by: Felix Fietkau --- include/image.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/image.mk b/include/image.mk index ed4f8e44ea..67879b3780 100644 --- a/include/image.mk +++ b/include/image.mk @@ -475,8 +475,8 @@ define Device/Export endef define Device/Check - _TARGET = $$(if $$(and $$(filter $(SUBTARGET),$$(SUBTARGETS)),$$(filter $(PROFILE),$$(PROFILES))),install,install-disabled) - _COMPILE_TARGET = $$(if $(if $(IB),,$(CONFIG_IB)$$(filter $(PROFILE),$$(PROFILES))),compile,compile-disabled) + _TARGET = $$(if $$(and $$(filter $(SUBTARGET),$$(SUBTARGETS)),$$(filter $(PROFILE),$$(PROFILES) DEVICE_$(1))),install,install-disabled) + _COMPILE_TARGET = $$(if $(if $(IB),,$(CONFIG_IB)$$(filter $(PROFILE),$$(PROFILES) DEVICE_$(1))),compile,compile-disabled) endef ifndef IB