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 6868617..7c11aa1 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 \