From: Felix Fietkau <nbd@openwrt.org>
Date: Fri, 3 Apr 2015 15:22:26 +0000 (+0000)
Subject: image.mk: export the FILESYSTEM variable to build commands
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fa6d92f407d3fd4b942276da79f518296ad46046;p=lede.git

image.mk: export the FILESYSTEM variable to build commands

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

SVN-Revision: 45251
---

diff --git a/include/image.mk b/include/image.mk
index 8d201447fc..3ff8768a6a 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 KERNEL_INITRAMFS,$(call Device/ExportVar,$(1),$(var)))
+Device/Export = $(foreach var,$(DEVICE_VARS) KERNEL KERNEL_INITRAMFS FILESYSTEM,$(call Device/ExportVar,$(1),$(var)))
 
 define Device/Check
   _TARGET = $$(if $$(filter $(PROFILE),$$(PROFILES)),install,install-disabled)