image.mk: include per-device profiles in image build profile check
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
91799d5198
commit
b0cf769008
1 changed files with 2 additions and 2 deletions
|
@ -475,8 +475,8 @@ define Device/Export
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Device/Check
|
define Device/Check
|
||||||
_TARGET = $$(if $$(and $$(filter $(SUBTARGET),$$(SUBTARGETS)),$$(filter $(PROFILE),$$(PROFILES))),install,install-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))),compile,compile-disabled)
|
_COMPILE_TARGET = $$(if $(if $(IB),,$(CONFIG_IB)$$(filter $(PROFILE),$$(PROFILES) DEVICE_$(1))),compile,compile-disabled)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifndef IB
|
ifndef IB
|
||||||
|
|
Loading…
Reference in a new issue