diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-08-05 10:31:52 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-08-05 10:31:52 +0000 |
commit | 98b954f5087917ab98cbc0b97fe08d0a0114084f (patch) | |
tree | 135190f8c14636d9f5ecafc3323a879346d3b43e /target/linux/ar71xx | |
parent | ab08c44cc9af6d7d4afd327765394c2c7cec1ca6 (diff) | |
download | master-187ad058-98b954f5087917ab98cbc0b97fe08d0a0114084f.tar.gz master-187ad058-98b954f5087917ab98cbc0b97fe08d0a0114084f.tar.bz2 master-187ad058-98b954f5087917ab98cbc0b97fe08d0a0114084f.zip |
ar71xx: fix image generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27907 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r-- | target/linux/ar71xx/image/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 7f68ee5971..569f2bd12d 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefile @@ -60,12 +60,12 @@ endef define MkuImageLzma $(call PatchKernelLzma,$(1),$(2)) - $(call MkImage,lzma,$(KDIR)/vmlinux-$(1).bin.lzma,$(KDIR)/vmlinux-$(1).uImage) + $(call MkuImage,lzma,$(KDIR)/vmlinux-$(1).bin.lzma,$(KDIR)/vmlinux-$(1).uImage) endef define MkuImageGzip $(call PatchKernelGzip,$(1),$(2)) - $(call MkImage,gzip,$(KDIR)/vmlinux-$(1).bin.gz,$(KDIR)/vmlinux-$(1).uImage) + $(call MkuImage,gzip,$(KDIR)/vmlinux-$(1).bin.gz,$(KDIR)/vmlinux-$(1).uImage) endef define CatFiles @@ -218,10 +218,10 @@ ubntxm_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1024k(kernel), define Image/Build/UBNTXM $(call MkuImageLzma,$(2),$(3) $(ubntxm_mtdlayout)) $(call Sysupgrade/KR,$(1),$(2),1048576,6684672) - dd if=$(KDIR)/vmlinux-$(2).uImage.bin of=$(KDIR)/vmlinux-$(2).uImage bs=1024k conv=sync + dd if=$(KDIR)/vmlinux-$(2).uImage of=$(KDIR)/vmlinux-$(2).uImage.bin bs=1024k conv=sync -$(STAGING_DIR_HOST)/bin/mkfwimage \ -B $(4) -v $(5).$(6).OpenWrt.$(REVISION) \ - -k $(KDIR)/vmlinux-$(2).uImage \ + -k $(KDIR)/vmlinux-$(2).uImage.bin \ -r $(BIN_DIR)/$(IMG_PREFIX)-root.$(1) \ -o $(call factoryname,$(1),$(2)) endef @@ -352,7 +352,7 @@ define Image/Build/Zcomax if [ -e "$(call sysupname,$(1),$(2))" ]; then \ $(STAGING_DIR_HOST)/bin/mkzcfw \ -B $(2) \ - -k $(KDIR)/vmlinux-$(2).uImage.bin \ + -k $(KDIR)/vmlinux-$(2).uImage \ -r $(BIN_DIR)/$(IMG_PREFIX)-root.$(1) \ -o $(call imgname,$(1),$(2))-factory.img; \ fi |