From 8265fdcc4dda2554d4f7774e53020136079639b2 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 21 Jul 2016 13:41:20 +0200 Subject: imagebuilder: strip DEVICE_ prefix from profiles (FS#55) Signed-off-by: Felix Fietkau --- include/image.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/image.mk b/include/image.mk index 43c144ad34..47cb1a58a9 100644 --- a/include/image.mk +++ b/include/image.mk @@ -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 -- cgit v1.2.3