diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2014-12-26 13:45:18 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2014-12-26 13:45:18 +0000 |
commit | cb25eaf86dba2c6185b8901705d243acf697b289 (patch) | |
tree | d4960836d7ec841d460813ad5941615964956153 /target/linux | |
parent | 826c6d187c64b0e1163ade4cdc246a90cac42263 (diff) | |
download | master-187ad058-cb25eaf86dba2c6185b8901705d243acf697b289.tar.gz master-187ad058-cb25eaf86dba2c6185b8901705d243acf697b289.tar.bz2 master-187ad058-cb25eaf86dba2c6185b8901705d243acf697b289.zip |
[mvebu]: only call UbinizeImage and BuildSysUpgrade for boards we support them on
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43779 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/mvebu/image/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile index c2dcd8cd06..92571e2153 100644 --- a/target/linux/mvebu/image/Makefile +++ b/target/linux/mvebu/image/Makefile @@ -10,6 +10,8 @@ include $(INCLUDE_DIR)/image.mk TARGET_DTBS := armada-xp-db armada-370-db armada-xp-openblocks-ax3-4 armada-370-mirabox \ armada-370-rd armada-xp-gp armada-xp-mamba +NANDBOARDS := armada-xp-mamba + LOADADDR:=0x00008000 JFFS2_BLOCKSIZE = 128k @@ -43,7 +45,7 @@ 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));) + $(foreach nandboard,$(NANDBOARDS),$(call Image/Build/UbinizeImage,$(nandboard),,squashfs,$(UBI_OPTS));) ( \ dd if=$(KDIR)/uImage-armada-xp-mamba bs=3072k conv=sync; \ dd if=$(KDIR)/$(IMG_PREFIX)-armada-xp-mamba-squashfs-ubinized.bin \ @@ -62,7 +64,7 @@ endef define Image/Build $(call Image/Build/$(1)) dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync - $(foreach dtb,$(TARGET_DTBS),$(call BuildSysupgrade,$(1),$(dtb));) + $(foreach nandboard,$(NANDBOARDS),$(call BuildSysupgrade,$(1),$(nandboard));) ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),) $(call Image/Build/Initramfs) endif |