The ubinized filesystems should be used for generating the
final images, so store them in KDIR instead. Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43778 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
27f57bec0e
commit
826c6d187c
|
@ -154,7 +154,7 @@ ifneq ($(CONFIG_NAND_SUPPORT),)
|
||||||
define Image/Build/UbinizeImage
|
define Image/Build/UbinizeImage
|
||||||
sh $(TOPDIR)/scripts/ubinize-image.sh $(2) \
|
sh $(TOPDIR)/scripts/ubinize-image.sh $(2) \
|
||||||
"$(KDIR)/root.$(3)" \
|
"$(KDIR)/root.$(3)" \
|
||||||
"$(BIN_DIR)/$(IMG_PREFIX)-$(1)-$(3)-ubinized.bin" \
|
"$(KDIR)/$(IMG_PREFIX)-$(1)-$(3)-ubinized.bin" \
|
||||||
$(4)
|
$(4)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ define Image/Build/squashfs
|
||||||
$(foreach dtb,$(TARGET_DTBS),$(call Image/Build/UbinizeImage,$(dtb),,squashfs,$(UBI_OPTS));)
|
$(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=$(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; \
|
bs=2048 conv=sync; \
|
||||||
) > $(BIN_DIR)/$(IMG_PREFIX)-armada-xp-mamba-squashfs-factory.img
|
) > $(BIN_DIR)/$(IMG_PREFIX)-armada-xp-mamba-squashfs-factory.img
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in New Issue