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

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45156 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2015-03-30 13:03:58 +00:00
parent a67797adae
commit 3166bd1ea8
1 changed files with 1 additions and 1 deletions

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)