include UbinizeImage parameters' description in the file
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41356
This commit is contained in:
parent
a51588a5f9
commit
c026f34ce6
1 changed files with 5 additions and 0 deletions
|
@ -141,6 +141,11 @@ ifneq ($(CONFIG_NAND_SUPPORT),)
|
||||||
(cd "$(KDIR_TMP)"; $(TAR) cvf \
|
(cd "$(KDIR_TMP)"; $(TAR) cvf \
|
||||||
"$(BIN_DIR)/$(IMG_PREFIX)-$(1)-$(2)-sysupgrade.tar" sysupgrade-$(1))
|
"$(BIN_DIR)/$(IMG_PREFIX)-$(1)-$(2)-sysupgrade.tar" sysupgrade-$(1))
|
||||||
endef
|
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
|
define Image/Build/UbinizeImage
|
||||||
sh $(TOPDIR)/scripts/ubinize-image.sh $(2) \
|
sh $(TOPDIR)/scripts/ubinize-image.sh $(2) \
|
||||||
"$(KDIR)/root.$(3)" "$(4)" \
|
"$(KDIR)/root.$(3)" "$(4)" \
|
||||||
|
|
Loading…
Reference in a new issue