summaryrefslogtreecommitdiff
path: root/include/image.mk
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2014-06-27 10:32:09 +0000
committerImre Kaloz <kaloz@openwrt.org>2014-06-27 10:32:09 +0000
commitc026f34ce61baf3b94286e4ed5a957295de7f607 (patch)
treefbbfbcf52aee0ff7d670328240dda6aeaff93381 /include/image.mk
parenta51588a5f9a5c62206b467def65a13219f2fe0ad (diff)
downloadmtk-20170518-c026f34ce61baf3b94286e4ed5a957295de7f607.zip
mtk-20170518-c026f34ce61baf3b94286e4ed5a957295de7f607.tar.gz
mtk-20170518-c026f34ce61baf3b94286e4ed5a957295de7f607.tar.bz2
include UbinizeImage parameters' description in the file
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41356
Diffstat (limited to 'include/image.mk')
-rw-r--r--include/image.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/image.mk b/include/image.mk
index 3832b7a..71971e2 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -141,6 +141,11 @@ ifneq ($(CONFIG_NAND_SUPPORT),)
(cd "$(KDIR_TMP)"; $(TAR) cvf \
"$(BIN_DIR)/$(IMG_PREFIX)-$(1)-$(2)-sysupgrade.tar" sysupgrade-$(1))
endef
+# $(1) board name
+# $(2) ubinize-image options (e.g. --no-kernel and/or --uboot-env)
+# $(3) rootfstype (e.g. squashfs or ubifs)
+# $(4) kernel image file
+# $(5) options to pass-through to ubinize (i.e. $($(PROFILE)_UBI_OPTS)))
define Image/Build/UbinizeImage
sh $(TOPDIR)/scripts/ubinize-image.sh $(2) \
"$(KDIR)/root.$(3)" "$(4)" \