include/image.mk: allow including U-Boot environment in UBI

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 49039
This commit is contained in:
John Crispin 2016-03-20 14:41:06 +00:00
parent 04f33f7349
commit 4fe3fda78a

View file

@ -379,6 +379,7 @@ endef
define Build/append-ubi define Build/append-ubi
sh $(TOPDIR)/scripts/ubinize-image.sh \ sh $(TOPDIR)/scripts/ubinize-image.sh \
$(if $(UBOOTENV_IN_UBI),--uboot-env) \
$(if $(KERNEL_IN_UBI),--kernel $(word 1,$^)) \ $(if $(KERNEL_IN_UBI),--kernel $(word 1,$^)) \
$(word 2,$^) \ $(word 2,$^) \
$@.tmp \ $@.tmp \