Changeset 30710


Ignore:
Timestamp:
2012-02-24T17:18:46+01:00 (6 years ago)
Author:
juhosg
Message:

ramips: fix FONERA20N image generation

File:
1 edited

Legend:

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

    r30706 r30710  
    166166 
    167167define BuildFirmware/Edimax 
    168         mkedimaximg -i $(call sysupname,$(1),$(2)) \ 
    169                 -o $(call imgname,$(1),$(2))-factory.bin \ 
    170                 -s $(3) -m $(4) -f $(5) -S $(6) 
     168        if [ -e "$(call sysupname,$(1),$(2))" ]; then \ 
     169                mkedimaximg -i $(call sysupname,$(1),$(2)) \ 
     170                        -o $(call imgname,$(1),$(2))-factory.bin \ 
     171                        -s $(3) -m $(4) -f $(5) -S $(6); \ 
     172        fi 
    171173endef 
    172174 
     
    179181 
    180182define BuildFirmware/FONERA20N 
    181         $(call Image/Build/Template/GENERIC_8M,$(1),fonera20n,FONERA20N,ttyS1,57600,phys) 
     183        $(call BuildFirmware/GENERIC_8M,$(1),fonera20n,FONERA20N,ttyS1,57600,phys) 
    182184        $(call BuildFirmware/Edimax,$(1),fonera20n,RSDK,NL1T,0x50000,0xc0000) 
    183185endef 
Note: See TracChangeset for help on using the changeset viewer.