include/image.mk: allow including U-Boot environment in UBI
[openwrt.git] / 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 \