Browse Source

kirkwood: only add UBI EOF markers for devices that need it

Fixes issues where the second-stage u-boot already uses UBI.

Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau 9 years ago
parent
commit
3be4c6ca93
1 changed files with 2 additions and 1 deletions
  1. 2 1
      target/linux/kirkwood/image/Makefile

+ 2 - 1
target/linux/kirkwood/image/Makefile

@@ -28,7 +28,6 @@ define Device/Default
   SUBPAGESIZE := 512
   BLOCKSIZE := 128k
   IMAGES := sysupgrade.tar
-  UBINIZE_OPTS := -E 5
   IMAGE/sysupgrade.tar := sysupgrade-tar
 endef
 
@@ -60,6 +59,7 @@ define Device/linksys-audi
   KERNEL_SIZE := 2624k
   FILESYSTEMS := squashfs
   IMAGES += factory.bin
+  UBINIZE_OPTS := -E 5
   IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi
 endef
 
@@ -70,6 +70,7 @@ define Device/linksys-viper
   KERNEL_SIZE := 2688k
   FILESYSTEMS := squashfs
   IMAGES += factory.bin
+  UBINIZE_OPTS := -E 5
   IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi
 endef