From: Felix Fietkau Date: Wed, 11 May 2016 17:15:23 +0000 (+0200) Subject: image.mk: include per-device profiles in image build profile check X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=b0cf769008bc38f386c977f38f80de0fef098355;p=openwrt%2Fstaging%2Frmilecki.git image.mk: include per-device profiles in image build profile check Signed-off-by: Felix Fietkau --- diff --git a/include/image.mk b/include/image.mk index ed4f8e44ea7..67879b37805 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