From: nbd Date: Mon, 30 Mar 2015 13:03:58 +0000 (+0000) Subject: image.mk: fix initramfs kernel build instructions leaking across device sections X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=260d9f8b0ca927294db2ce20f16469d4b2961da5;p=openwrt.git image.mk: fix initramfs kernel build instructions leaking across device sections Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45156 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/include/image.mk b/include/image.mk index 0d388ec666..08b516d854 100644 --- a/include/image.mk +++ b/include/image.mk @@ -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)