[OpenWrt-Devel] [PATCH 2/2] ipq806x: add UBI image generation

Mathieu Olivari mathieu at codeaurora.org
Thu Aug 20 21:34:27 EDT 2015


UBI image will be used to flash in NAND.

Signed-off-by: Mathieu Olivari <mathieu at codeaurora.org>
---
 target/linux/ipq806x/image/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/linux/ipq806x/image/Makefile b/target/linux/ipq806x/image/Makefile
index b64d629..698aeb9 100644
--- a/target/linux/ipq806x/image/Makefile
+++ b/target/linux/ipq806x/image/Makefile
@@ -34,6 +34,8 @@ define Device/Default
 	KERNEL_INITRAMFS_PREFIX := $$(IMG_PREFIX)-$(1)-initramfs
 	DEVICE_DTS :=
 	KERNEL_PREFIX := $$(IMAGE_PREFIX)
+	IMAGES:= ubinized.bin
+	IMAGE/ubinized.bin := ubinize-image squashfs
 endef
 DEVICE_VARS += DEVICE_DTS
 
-- 
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list