Changeset 9089


Ignore:
Timestamp:
2007-10-02T11:09:55+02:00 (9 years ago)
Author:
juhosg
Message:

[adm5120] make image names shorten

Location:
trunk/target/linux/adm5120/image
Files:
2 edited

Legend:

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

    r8922 r9089  
    1313 
    1414define imgname 
    15 $(IMGNAME)-$(patsubst jffs2-%,jffs2,$(1))-$(2) 
     15$(IMGNAME)-$(2)-$(patsubst jffs2-%,jffs2,$(1)) 
    1616endef 
    1717 
     
    3636define Image/Build/LZMAKernel 
    3737        $(LOADER_MAKE) TARGET_DIR=$(BIN_DIR) \ 
    38                 LOADER=openwrt-$(BOARD)-$(KERNEL)-ramfs-lzma-$(1).$(2) \ 
     38                LOADER=openwrt-$(BOARD)-$(KERNEL)-$(1)-ramfs.$(2) \ 
    3939                LOADER_DATA=$(KDIR)/vmlinux.lzma \ 
    4040                LZMA_TEXT_START=$(3) LZMA_STARTUP_ORG=$(4) \ 
  • trunk/target/linux/adm5120/image/router_le.mk

    r8771 r9089  
    227227# 
    228228define Image/Build/Board/RB1xx/Initramfs 
    229         $(CP) $(KDIR)/vmlinux.elf $(IMGNAME)-ramfs-rb1xx.elf 
     229        $(CP) $(KDIR)/vmlinux.elf $(call imgname,netboot,rb1xx) 
    230230endef 
    231231 
     
    267267        $(call Image/Build/Group/Cellvision,$(1)) 
    268268        $(call Image/Build/Group/Infineon,$(1)) 
     269        $(call Image/Build/Board/RB1xx/$(1)) 
    269270endef 
    270271 
     
    312313endef 
    313314 
    314 ifeq ($(PROFILE),Routerboard) 
     315ifeq ($(PROFILE),RouterBoard) 
    315316  define Image/cmdline/yaffs2 
    316         root=/dev/mtdblock1 rootfstype=yaffs2 init=/etc/preinit 
     317        root=/dev/mtdblock3 rootfstype=yaffs2 init=/etc/preinit 
    317318  endef 
    318319 
    319320  define Image/BuildKernel/RouterBoard 
    320         $(CP) $(KDIR)/vmlinux.elf $(IMGNAME)-rb1xx-vmlinux 
    321         $(STAGING_DIR_HOST)/bin/patch-cmdline $(KDIR)/vmlinux.elf \ 
     321        $(CP) $(KDIR)/vmlinux.elf $(call imgname,kernel,rb1xx) 
     322        $(STAGING_DIR_HOST)/bin/patch-cmdline $(call imgname,kernel,rb1xx) \ 
    322323                '$(strip $(call Image/cmdline/yaffs2))' 
    323324  endef 
Note: See TracChangeset for help on using the changeset viewer.