build firmware images for the Mamba (Linksys WRT1900AC)

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41387
This commit is contained in:
Imre Kaloz 2014-06-29 13:10:35 +00:00
parent 0bc385d064
commit 3e4932758e

View file

@ -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