include/image.mk: define variable FILESYSTEM
authorFelix Fietkau <nbd@openwrt.org>
Wed, 25 Mar 2015 17:58:00 +0000 (17:58 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 25 Mar 2015 17:58:00 +0000 (17:58 +0000)
Set it to the filesystem which is build. mktplinkfw need to know which filesystem
is used.
FILESYSTEM can be squashfs, jffs2-64k, ...

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 44997

include/image.mk

index 8d21f24c240d852259ed30588da42e484bb37fc8..b78576e03af0345b2e6b4c678c32422b2b98a902 100644 (file)
@@ -388,6 +388,7 @@ define Device/Build/kernel
 endef
 
 define Device/Build/image
+  FILESYSTEM := $(1)
   $$(_TARGET): $(BIN_DIR)/$(call IMAGE_NAME,$(1),$(2))
   $(eval $(call Device/Export,$(KDIR)/$(KERNEL_IMAGE)))
   $(eval $(call Device/Export,$(KDIR)/$(KERNEL_INITRAMFS_IMAGE)))