The ubinized filesystems should be used for generating the final images, so store...
authorImre Kaloz <kaloz@openwrt.org>
Fri, 26 Dec 2014 13:33:22 +0000 (13:33 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Fri, 26 Dec 2014 13:33:22 +0000 (13:33 +0000)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 43778

include/image.mk
target/linux/mvebu/image/Makefile

index 12322bdb8d8464ca87906d68775c0b92d4b68f08..f9b8998ed4bae6729c7732521735f1bda1b44731 100644 (file)
@@ -154,7 +154,7 @@ ifneq ($(CONFIG_NAND_SUPPORT),)
    define Image/Build/UbinizeImage
        sh $(TOPDIR)/scripts/ubinize-image.sh $(2) \
                "$(KDIR)/root.$(3)" \
-               "$(BIN_DIR)/$(IMG_PREFIX)-$(1)-$(3)-ubinized.bin" \
+               "$(KDIR)/$(IMG_PREFIX)-$(1)-$(3)-ubinized.bin" \
                $(4)
    endef
 
index 9d3b6353a67ae87ff095b099a285613fc4d727fc..c2dcd8cd0634b2f43c940ff7775d73cb95cc1340 100644 (file)
@@ -46,7 +46,7 @@ define Image/Build/squashfs
        $(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 \
+               dd if=$(KDIR)/$(IMG_PREFIX)-armada-xp-mamba-squashfs-ubinized.bin \
                bs=2048 conv=sync; \
        ) > $(BIN_DIR)/$(IMG_PREFIX)-armada-xp-mamba-squashfs-factory.img
 endef