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-Tag: v17.01.0-rc1~2876 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b0cf769008bc38f386c977f38f80de0fef098355;p=openwrt%2Fstaging%2Fpepe2k.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 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