image.mk: fix make variable/command context leakage between LegacyDevice templates

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2016-06-17 19:30:43 +02:00
parent 9a0381f969
commit 3004275c17
1 changed files with 1 additions and 0 deletions

View File

@ -481,6 +481,7 @@ define LegacyDevice
$(call LegacyDevice/$(1),$(1))
$(call LegacyDevice/Check,$(1))
$(call LegacyDevice/$(if $(DUMP),Dump,Build),$(1))
endef
define BuildImage