diff options
-rw-r--r-- | target/linux/mvebu/image/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile index fb0dc4f1f0..9de7e96086 100644 --- a/target/linux/mvebu/image/Makefile +++ b/target/linux/mvebu/image/Makefile @@ -44,6 +44,11 @@ endef define Image/Build/squashfs $(STAGING_DIR_HOST)/bin/padjffs2 $(KDIR)/root.squashfs 128 $(foreach dtb,$(TARGET_DTBS),$(call Image/Build/UbinizeImage,$(dtb),,squashfs,$(UBI_OPTS));) + ( \ + dd if=$(KDIR)/uImage-armada-xp-mamba bs=3072k conv=sync; \ + dd if=$(BIN_DIR)/$(IMG_PREFIX)-armada-xp-mamba-squashfs-ubinized.bin \ + bs=2048 conv=sync; \ + ) > $(BIN_DIR)/$(IMG_PREFIX)-mamba-squashfs.img endef define Image/Build/Initramfs |