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-a3cf2f4a3e73master
parent
a67797adae
commit
3166bd1ea8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue