diff --git a/include/image.mk b/include/image.mk index bab7f533a27aec4a6f9e1c743b13b4c6ca7161c8..8cc6e38cad672fb6fadff018c38cfaf2e1ddcfa8 100644 --- a/include/image.mk +++ b/include/image.mk @@ -353,7 +353,7 @@ define Device/Init PAGESIZE := SUBPAGESIZE := VID_HDR_OFFSET := - UBINIZE_OPTS := -E 5 + UBINIZE_OPTS := UBINIZE_PARTS := MKUBIFS_OPTS := diff --git a/target/linux/bcm53xx/image/Makefile b/target/linux/bcm53xx/image/Makefile index 2f45a7b440597b7c478d1dba569ad6fcc1ec8c00..e2665acefa4a6d013bbd22e86c9f765d06859351 100644 --- a/target/linux/bcm53xx/image/Makefile +++ b/target/linux/bcm53xx/image/Makefile @@ -85,7 +85,6 @@ define Device/Default IMAGES := trx BLOCKSIZE := 128k PAGESIZE := 2048 - UBINIZE_OPTS := IMAGE/trx := append-ubi | trx-nand endef diff --git a/target/linux/imx6/image/Makefile b/target/linux/imx6/image/Makefile index 86e3308c79fb934d3fc2bcceb2b7407b34687deb..3ff1d363d9845c4b04ef38ef42b594223cf2d719 100644 --- a/target/linux/imx6/image/Makefile +++ b/target/linux/imx6/image/Makefile @@ -94,7 +94,6 @@ define Device/ventana kobs-ng KERNEL += | boot-overlay IMAGES := nand.ubi bootfs.tar.gz - UBINIZE_OPTS := UBINIZE_PARTS = boot=$$(KDIR_KERNEL_IMAGE).boot.ubifs=15 IMAGE/nand.ubi := append-ubi IMAGE/bootfs.tar.gz := bootfs.tar.gz | install-dtb diff --git a/target/linux/kirkwood/image/Makefile b/target/linux/kirkwood/image/Makefile index 33eaa4f4b258e8e07ee6a6a25a935e8d4cf1469b..03a9873c9f3ee66d8de616d69aea496f153d2fc4 100644 --- a/target/linux/kirkwood/image/Makefile +++ b/target/linux/kirkwood/image/Makefile @@ -28,6 +28,7 @@ define Device/Default SUBPAGESIZE := 512 BLOCKSIZE := 128k IMAGES := sysupgrade.tar + UBINIZE_OPTS := -E 5 IMAGE/sysupgrade.tar := sysupgrade-tar endef diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile index 7900fb9ddb4f0e3a6f03034b3d60e26fcdd6fd38..c855cca42cc4f917ff35f762e64c2804c0153091 100644 --- a/target/linux/mvebu/image/Makefile +++ b/target/linux/mvebu/image/Makefile @@ -71,6 +71,7 @@ endef define Device/UBI-factory $(Device/UBI) + UBINIZE_OPTS := -E 5 IMAGES += factory.img IMAGE/factory.img := append-kernel $$$$(KERNEL_SIZE) | append-ubi | pad-to $$$$(PAGESIZE) endef diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index 769b86b81bcb90bdd698d66f169a2a620c3920f0..ceed8ab4f1799aadafea6d4dbfaac8e60b4d220f 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -146,6 +146,7 @@ define Device/wf-2881 FILESYSTEMS := squashfs IMAGE_SIZE := 129280k KERNEL := $(KERNEL_DTB) | pad-offset $$(BLOCKSIZE) 64 | uImage lzma + UBINIZE_OPTS := -E 5 IMAGE/sysupgrade.bin := append-kernel | append-ubi | check-size $$$$(IMAGE_SIZE) DEVICE_TITLE := NETIS WF-2881 DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev