Changeset 7731


Ignore:
Timestamp:
2007-06-25T17:36:31+02:00 (11 years ago)
Author:
nbd
Message:

make the broadcom firmware image code more sane and also fix jffs2-256k related bugs (#1888)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm-2.4/image/Makefile

    r7486 r7731  
    5454endef 
    5555 
    56 define Image/Build 
    57         $(STAGING_DIR)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).trx -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux.lzma $(call trxalign/$(1),$(1))  
    58 ifneq ($(1),jffs2-128k) 
     56 
     57define Image/Build/jffs2-128k 
     58        $(call Image/Build/CyberTAN,$(1),wrt54gs,W54S,4.80.1,$(patsubst jffs2-%,jffs2,$(1))) 
     59        $(call Image/Build/CyberTAN,$(1),wrtsl54gs,W54U,2.08.1,$(patsubst jffs2-%,jffs2,$(1))) 
     60  ifeq ($(KERNEL),2.6) 
     61        $(call Image/Build/wgt634u,$(1),$(patsubst jffs2-%,jffs2,$(1))) 
     62  endif 
     63endef 
     64 
     65define Image/Build/jffs2-64k 
    5966        $(call Image/Build/CyberTAN,$(1),wrt54g3g,W54F,2.01.1,$(patsubst jffs2-%,jffs2,$(1))) 
    6067        $(call Image/Build/CyberTAN,$(1),wrt54g,W54G,4.60.1,$(patsubst jffs2-%,jffs2,$(1))) 
     
    6471        $(call Image/Build/Motorola,$(1),wa840g,2,$(patsubst jffs2-%,jffs2,$(1))) 
    6572        $(call Image/Build/Motorola,$(1),we800g,3,$(patsubst jffs2-%,jffs2,$(1))) 
    66 endif 
    67 ifneq ($(1),jffs2-64k) 
    68         $(call Image/Build/CyberTAN,$(1),wrt54gs,W54S,4.80.1,$(patsubst jffs2-%,jffs2,$(1))) 
    69         $(call Image/Build/CyberTAN,$(1),wrtsl54gs,W54U,2.08.1,$(patsubst jffs2-%,jffs2,$(1))) 
    70 ifeq ($(KERNEL),2.6) 
    71         $(call Image/Build/wgt634u,$(1),$(patsubst jffs2-%,jffs2,$(1))) 
    72 endif 
    73 endif 
     73endef 
     74 
     75define Image/Build/squashfs 
     76        $(call Image/Build/jffs2-64k,$(1)) 
     77        $(call Image/Build/jffs2-128k,$(1)) 
     78endef 
     79 
     80define Image/Build 
     81        $(STAGING_DIR)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).trx -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux.lzma $(call trxalign/$(1),$(1)) 
     82        $(call Image/Build/$(1),$(1)) 
    7483        $(call Image/Build/Motorola,$(1),wr850g,1,$(1)) 
    75         $(call Image/Build/USR,$(1),usr5461,$(1))  
     84        $(call Image/Build/USR,$(1),usr5461,$(1)) 
    7685endef 
    7786 
Note: See TracChangeset for help on using the changeset viewer.