mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-10 06:21:55 +02:00
[target] ar71xx: fix WNDR3700 image generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18849 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
09d0d1d39f
commit
021f23792f
@ -237,14 +237,13 @@ wndr3700_mtdlayout=mtdparts=spi0.0:320k(u-boot)ro,128k(u-boot-env)ro,1024k(kerne
|
|||||||
define Image/Build/WNDR3700
|
define Image/Build/WNDR3700
|
||||||
$(call PatchKernelLzma,$(2),$(3) $(wndr3700_mtdlayout))
|
$(call PatchKernelLzma,$(2),$(3) $(wndr3700_mtdlayout))
|
||||||
$(call MkImageLzma,$(KDIR)/vmlinux-$(2).bin.lzma,$(KDIR)/vmlinux-$(2).uImage)
|
$(call MkImageLzma,$(KDIR)/vmlinux-$(2).bin.lzma,$(KDIR)/vmlinux-$(2).uImage)
|
||||||
mkdir $(KDIR)/wndr3700
|
mkdir -p $(KDIR)/wndr3700/image
|
||||||
mkdir $(KDIR)/wndr3700/image
|
|
||||||
$(STAGING_DIR_HOST)/bin/wndr3700 \
|
$(STAGING_DIR_HOST)/bin/wndr3700 \
|
||||||
$(KDIR)/vmlinux-$(2).uImage \
|
$(KDIR)/vmlinux-$(2).uImage \
|
||||||
$(KDIR)/wndr3700/image/uImage
|
$(KDIR)/wndr3700/image/uImage
|
||||||
$(STAGING_DIR_HOST)/bin/mksquashfs-lzma \
|
$(MKSQUASHFS_CMD) \
|
||||||
$(KDIR)/wndr3700 $(KDIR)/vmlinux-$(2).uImage.squashfs.tmp \
|
$(KDIR)/wndr3700 $(KDIR)/vmlinux-$(2).uImage.squashfs.tmp \
|
||||||
-nopad -noappend -root-owned -be
|
-nopad -noappend -root-owned $(SQUASHFS_OPTS)
|
||||||
-rm -rf $(KDIR)/wndr3700
|
-rm -rf $(KDIR)/wndr3700
|
||||||
mkimage -A mips -O linux -T filesystem -C none \
|
mkimage -A mips -O linux -T filesystem -C none \
|
||||||
-a 0xbf070000 -e 0xbf070000 \
|
-a 0xbf070000 -e 0xbf070000 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user