mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-03 07:41:05 +02:00
[ar71xx] fix image generation in the Image Builder environment
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26271 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
909ceae342
commit
957986717f
@ -394,6 +394,8 @@ ifdef CONFIG_PACKAGE_uboot-ar71xx-nbg460n_550n_550nh
|
|||||||
echo "Warning: $(KDIR)/vmlinux-$(2).bin.lzma is too big"; \
|
echo "Warning: $(KDIR)/vmlinux-$(2).bin.lzma is too big"; \
|
||||||
else if [ `stat -c%s $(KDIR)/root.$(1)` -gt 2752512 ]; then \
|
else if [ `stat -c%s $(KDIR)/root.$(1)` -gt 2752512 ]; then \
|
||||||
echo "Warning: $(KDIR)/root.$(1) is too big"; \
|
echo "Warning: $(KDIR)/root.$(1) is too big"; \
|
||||||
|
else if [ ! -f $(BIN_DIR)/$(IMG_PREFIX)-$(2)-u-boot.bin ]; then \
|
||||||
|
echo "Warning: $(IMG_PREFIX)-$(2)-u-boot.bin not found"; \
|
||||||
else \
|
else \
|
||||||
mkimage -A mips -O linux -T kernel -a 0x80060000 -C lzma -e \
|
mkimage -A mips -O linux -T kernel -a 0x80060000 -C lzma -e \
|
||||||
0x80060000 \
|
0x80060000 \
|
||||||
@ -408,7 +410,7 @@ ifdef CONFIG_PACKAGE_uboot-ar71xx-nbg460n_550n_550nh
|
|||||||
-b $(BIN_DIR)/$(IMG_PREFIX)-$(2)-u-boot.bin \
|
-b $(BIN_DIR)/$(IMG_PREFIX)-$(2)-u-boot.bin \
|
||||||
-r $(call imgname,$(1),$(2))-sysupgrade.bin:0x10000 \
|
-r $(call imgname,$(1),$(2))-sysupgrade.bin:0x10000 \
|
||||||
-o $(call imgname,$(1),$(2))-factory.bin; \
|
-o $(call imgname,$(1),$(2))-factory.bin; \
|
||||||
fi; fi
|
fi; fi; fi
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user