[OpenWrt-Devel] [PATCH v3] export KERNEL_INITRAMFS_IMAGE

YounJae Rho luxflow at live.com
Sun Jan 3 21:49:38 EST 2016


`Build/ubnt-erx-factory-kernel` in `target\linux\ramips\image\Makefile` 
references `$(KERNEL_INITRAMFS_IMAGE)`
which is not exported

Signed-off-by: YounJae Rho <luxflow at live.com>
---
  tested with git am in trunk commit 57693a7c8

  include/image.mk | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/image.mk b/include/image.mk
index 5ef8002..053bb08 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -454,7 +454,7 @@ define Device/ExportVar

  endef
  define Device/Export
-  $(foreach var,$(DEVICE_VARS) DEVICE_NAME KERNEL 
KERNEL_INITRAMFS,$(call Devic e/ExportVar,$(1),$(var)))
+  $(foreach var,$(DEVICE_VARS) DEVICE_NAME KERNEL KERNEL_INITRAMFS 
KERNEL_INITR AMFS_IMAGE,$(call Device/ExportVar,$(1),$(var)))
    $(1) : FILESYSTEM:=$(2)
  endef

--
2.5.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list