include/image.mk: allow including U-Boot environment in UBI
authorJohn Crispin <john@openwrt.org>
Sun, 20 Mar 2016 14:41:06 +0000 (14:41 +0000)
committerJohn Crispin <john@openwrt.org>
Sun, 20 Mar 2016 14:41:06 +0000 (14:41 +0000)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 49039

include/image.mk

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