summaryrefslogtreecommitdiff
path: root/include/image.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-25 17:58:00 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-25 17:58:00 +0000
commitd973d160bf2d938b75e46c81d17baaeca51a1188 (patch)
treed65cc3968ce88f122c57358cdc9c79ff737eb34b /include/image.mk
parent48c69e3022b2548d8e9deeef10d969a446c752ab (diff)
downloadmtk-20170518-d973d160bf2d938b75e46c81d17baaeca51a1188.zip
mtk-20170518-d973d160bf2d938b75e46c81d17baaeca51a1188.tar.gz
mtk-20170518-d973d160bf2d938b75e46c81d17baaeca51a1188.tar.bz2
include/image.mk: define variable FILESYSTEM
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
Diffstat (limited to 'include/image.mk')
-rw-r--r--include/image.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/image.mk b/include/image.mk
index 8d21f24..b78576e 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -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)))