Ticket #6755: patch_file

File patch_file, 981 bytes (added by liukang1985@…, 8 years ago)

the patch based on trunk version 19880

Line 
1--- target/linux/brcm63xx/image/Makefile        2010-02-27 15:06:41.000000000 +0800
2+++ target/linux/brcm63xx/image/Makefile.new    2010-02-28 10:01:47.000000000 +0800
3@@ -45,6 +45,15 @@
4                -v 8 -m IMAGE -k 0x20000 -n $(4) -t $(5)
5 endef
6 
7+define Image/Build/RG100A
8+       # Generate the tagged image
9+       $(STAGING_DIR_HOST)/bin/imagetag -i $(KDIR)/vmlinux.lzma.cfe -f $(KDIR)/root.$(1) \
10+               -o $(BIN_DIR)/openwrt-$(6)-$(1)-$(7)-cfe.bin \
11+               -b $(2) -c $(3) -e $(LOADADDR) -l $(LOADADDR) \
12+               -k 0x20000 -n $(4) -t $(5)
13+endef
14+
15+
16 define Image/Build/RedBoot
17        cp $(KDIR)/vmlinux.elf $(BIN_DIR)/openwrt-$(1)-vmlinux.elf
18        gzip -9 -c $(KDIR)/vmlinux > $(KDIR)/vmlinux.bin.gz
19@@ -171,6 +180,10 @@
20        # Pirelli A226G
21        $(call Image/Build/CFEAGPF,$(1),DWV-S0,6358,0x10000,bccfe,,bccfe)
22        $(call Image/Build/CFEAGPF,$(1),DWV-S0,6358,0x10000,ag306,DWV_96358,a226g)
23+       
24+       # RG100A,DB120 etc.
25+       $(call Image/Build/RG100A,$(1),96358VW2,6358,0x20000,bc310,rg100a,bc310)
26+
27 endef
28 
29 $(eval $(call BuildImage))