mvebu: fix OpenBlocks AX3 image
[openwrt/staging/rmilecki.git] / target / linux / mvebu / image / Makefile
index f3eda17a0bfc1d9fdd5a450efccded041e46b5b2..7900fb9ddb4f0e3a6f03034b3d60e26fcdd6fd38 100644 (file)
@@ -141,7 +141,7 @@ define Device/openblocks-ax3
   DEVICE_DTS := armada-xp-openblocks-ax3-4
   BLOCKSIZE := 128k
   PAGESIZE := 1
-  IMAGE/factory.img := append-kernel $$$$(KERNEL_SIZE) | append-ubi
+  IMAGE/factory.img := append-kernel | pad-to $$(BLOCKSIZE) | append-ubi
   DEVICE_TITLE := Plat'Home OpenBlocks AX3
 endef
 TARGET_DEVICES += openblocks-ax3