include/image.mk: allow including U-Boot environment in UBI
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 20 Mar 2016 14:41:06 +0000 (14:41 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 20 Mar 2016 14:41:06 +0000 (14:41 +0000)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49039 3c298f89-4303-0410-b956-a3cf2f4a3e73

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 \