imagebuilder: strip DEVICE_ prefix from profiles (FS#55)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
@@ -327,7 +327,7 @@ define Device/Export
|
||||
endef
|
||||
|
||||
ifdef IB
|
||||
DEVICE_CHECK_PROFILE = $(filter $(1),$(PROFILE))
|
||||
DEVICE_CHECK_PROFILE = $(filter $(1),DEVICE_$(PROFILE) $(PROFILE))
|
||||
else
|
||||
DEVICE_CHECK_PROFILE = $(CONFIG_TARGET_$(if $(CONFIG_TARGET_MULTI_PROFILE),DEVICE_)$(call target_conf,$(BOARD)$(if $(SUBTARGET),_$(SUBTARGET)))_$(1))
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user