X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=include%2Fimage-legacy.mk;fp=include%2Fimage-legacy.mk;h=9ace98fbe57e7047a0b231251c3d7be2cc66442c;hp=da8279c2634145ee70da2bd5281b6f7de4f029c4;hb=c0dceae4bbb3aab0c4fcaf229925e8916d286797;hpb=653cb2594d34439f292cf973747ee84bb266ca9e 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)