image.mk: fix initramfs kernel build instructions leaking across device sections

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45156
This commit is contained in:
Felix Fietkau 2015-03-30 13:03:58 +00:00
parent 2b925161d8
commit 6d7dff8596

View file

@ -353,7 +353,7 @@ define Device/ExportVar
$(1) : $(2):=$$($(2))
endef
Device/Export = $(foreach var,$(DEVICE_VARS) KERNEL,$(call Device/ExportVar,$(1),$(var)))
Device/Export = $(foreach var,$(DEVICE_VARS) KERNEL KERNEL_INITRAMFS,$(call Device/ExportVar,$(1),$(var)))
define Device/Check
_TARGET = $$(if $$(filter $(PROFILE),$$(PROFILES)),install,install-disabled)