Changeset 38149


Ignore:
Timestamp:
2013-09-24T08:13:14+02:00 (4 years ago)
Author:
juhosg
Message:

ar71xx: image: use the board name for temporary mtdpart files

Signed-off-by: Gabor Juhos <juhosg@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/image/Makefile

    r38148 r38149  
    492492        $(call Sysupgrade/KRuImage,$(1),$(2),0,$$$$(($(fwsize)-4*64*1024)),64) 
    493493        if [ -e "$(call sysupname,$(1),$(2))" ]; then \ 
    494                 dd if=$(call sysupname,$(1),$(2)) of=$(KDIR_TMP)/$(1)-mtdpart-kernel.bin bs=1024k count=1; \ 
    495                 dd if=$(call sysupname,$(1),$(2)) of=$(KDIR_TMP)/$(1)-mtdpart-rootfs.bin bs=1024k skip=1; \ 
     494                dd if=$(call sysupname,$(1),$(2)) of=$(KDIR_TMP)/$(2)-mtdpart-kernel.bin bs=1024k count=1; \ 
     495                dd if=$(call sysupname,$(1),$(2)) of=$(KDIR_TMP)/$(2)-mtdpart-rootfs.bin bs=1024k skip=1; \ 
    496496                $(STAGING_DIR_HOST)/bin/mkfwimage \ 
    497497                        -B $(4) -v $(5).$(6).v6.0.0-OpenWrt-$(REVISION) \ 
    498                         -k $(KDIR_TMP)/$(1)-mtdpart-kernel.bin \ 
    499                         -r $(KDIR_TMP)/$(1)-mtdpart-rootfs.bin \ 
     498                        -k $(KDIR_TMP)/$(2)-mtdpart-kernel.bin \ 
     499                        -r $(KDIR_TMP)/$(2)-mtdpart-rootfs.bin \ 
    500500                        -o $(call factoryname,$(1),$(2)); \ 
    501501        fi 
Note: See TracChangeset for help on using the changeset viewer.