summaryrefslogtreecommitdiffstats
path: root/include/image-legacy.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-07-22 14:04:16 +0200
committerFelix Fietkau <nbd@nbd.name>2016-07-29 10:18:26 +0200
commitc0dceae4bbb3aab0c4fcaf229925e8916d286797 (patch)
tree107b7c1b063f01db17735494c1a3e8dff8b08e85 /include/image-legacy.mk
parent653cb2594d34439f292cf973747ee84bb266ca9e (diff)
downloadmaster-31e0f0ae-c0dceae4bbb3aab0c4fcaf229925e8916d286797.tar.gz
master-31e0f0ae-c0dceae4bbb3aab0c4fcaf229925e8916d286797.tar.bz2
master-31e0f0ae-c0dceae4bbb3aab0c4fcaf229925e8916d286797.zip
build: minor cleanup of redundant code
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include/image-legacy.mk')
-rw-r--r--include/image-legacy.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image-legacy.mk b/include/image-legacy.mk
index da8279c263..9ace98fbe5 100644
--- a/include/image-legacy.mk
+++ b/include/image-legacy.mk
@@ -36,7 +36,7 @@ endif
LegacyDevice/Dump = $(Device/Dump)
define LegacyDevice/Check
- _PROFILE_SET = $$(strip $$(foreach profile,$$(PROFILES) DEVICE_$(1),$$(call DEVICE_CHECK_PROFILE,$$(profile))))
+ $(Device/Check/Common)
_TARGET_PREPARE := $$(if $$(_PROFILE_SET),legacy-images-prepare,prepare-disabled)
_TARGET := $$(if $$(_PROFILE_SET),legacy-images,install-disabled)
$$(if $$(_PROFILE_SET),install: legacy-images-make)