English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Diff of /branches/common-nfo/mk/targets.mk

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3426 by tg, Wed Jul 18 12:45:43 2007 UTC revision 3427 by tg, Wed Aug 8 11:08:41 2007 UTC
# Line 28  $(1)/$(2)/$(3)-install: Line 28  $(1)/$(2)/$(3)-install:
28          @$(TRACE) target/linux/$(2)-$(1)-install          @$(TRACE) target/linux/$(2)-$(1)-install
29          $(MAKE) -C $(2)-$(1) BOARD="$(2)" DEVICE="$(3)" install          $(MAKE) -C $(2)-$(1) BOARD="$(2)" DEVICE="$(3)" install
30    
31    $(1)/$(2)/$(3)-noinstall:
32            @$(TRACE) target/linux/$(2)-$(1)-noinstall
33            $(MAKE) -C $(2)-$(1) BOARD="$(2)" DEVICE="$(3)" noinstall
34    
35  ifeq ($(FWRT_LINUX_$(4)),y)  ifeq ($(FWRT_LINUX_$(4)),y)
36  clean: $(1)/$(2)/$(3)-clean  clean: $(1)/$(2)/$(3)-clean
37  prepare: $(1)/$(2)/$(3)-prepare  prepare: $(1)/$(2)/$(3)-prepare
38  compile: $(1)/$(2)/$(3)-compile  compile: $(1)/$(2)/$(3)-compile
39  install: $(1)/$(2)/$(3)-install  install: $(1)/$(2)/$(3)-install
40    noinstall: $(1)/$(2)/$(3)-noinstall
41  endif  endif
42    
43  .PHONY: $(1)/$(2)/$(3)-clean $(1)/$(2)/$(3)-prepare \  .PHONY: $(1)/$(2)/$(3)-clean $(1)/$(2)/$(3)-prepare \
# Line 41  endif Line 46  endif
46  endif  endif
47  endef  endef
48    
 define nokerneltarget_template  
 ifeq ($(FWRT_LINUX_$(4)),y)  
 KERNEL:=$(1)  
 BOARD:=$(2)  
 DEVICE:=$(3)  
 endif  
 endef  
   
   
49  # asus models  # asus models
50  $(eval $(call target_template,2.4,brcm,asus-wl-hdd,2_4_BRCM_ASUS_WLHDD))  $(eval $(call target_template,2.4,brcm,asus-wl-hdd,2_4_BRCM_ASUS_WLHDD))
51  $(eval $(call target_template,2.4,brcm,asus-wl500g,2_4_BRCM_ASUS_WL500G))  $(eval $(call target_template,2.4,brcm,asus-wl500g,2_4_BRCM_ASUS_WL500G))
# Line 72  $(eval $(call target_template,2.6,rb,rb5 Line 68  $(eval $(call target_template,2.6,rb,rb5
68  $(eval $(call target_template,2.6,x86,wrap,2_6_X86_WRAP))  $(eval $(call target_template,2.6,x86,wrap,2_6_X86_WRAP))
69  $(eval $(call target_template,2.6,x86,cryptotoken,2_6_X86_CRYPTOTOKEN))  $(eval $(call target_template,2.6,x86,cryptotoken,2_6_X86_CRYPTOTOKEN))
70  # nokernel targets  # nokernel targets
71  $(eval $(call nokerneltarget_template,2.4,pkgmips,mips,NOKERNEL_MIPS))  $(eval $(call target_template,2.4,pkgmips,mips,NOKERNEL_MIPS_24))
72  $(eval $(call nokerneltarget_template,2.4,pkgarmeb,armeb,NOKERNEL_ARMEB))  $(eval $(call target_template,2.4,pkgarmeb,armeb,NOKERNEL_ARMEB_24))
73  $(eval $(call nokerneltarget_template,2.4,pkgarm,arm,NOKERNEL_ARM))  $(eval $(call target_template,2.4,pkgarm,arm,NOKERNEL_ARM_24))
74  $(eval $(call nokerneltarget_template,2.4,pkgcris,cris,NOKERNEL_CRIS))  $(eval $(call target_template,2.4,pkgcris,cris,NOKERNEL_CRIS_24))
75  $(eval $(call nokerneltarget_template,2.4,pkgavr32,avr32,NOKERNEL_AVR32))  $(eval $(call target_template,2.4,pkgavr32,avr32,NOKERNEL_AVR32_24))
76  $(eval $(call nokerneltarget_template,2.4,pkgpowerpc,powerpc,NOKERNEL_POWERPC))  $(eval $(call target_template,2.4,pkgpowerpc,powerpc,NOKERNEL_POWERPC_24))
77  $(eval $(call nokerneltarget_template,2.4,pkgi386,i386,NOKERNEL_I386))  $(eval $(call target_template,2.4,pkgi386,i386,NOKERNEL_I386_24))
78    $(eval $(call target_template,2.6,pkgmips,mips,NOKERNEL_MIPS_26))
79    $(eval $(call target_template,2.6,pkgarmeb,armeb,NOKERNEL_ARMEB_26))
80    $(eval $(call target_template,2.6,pkgarm,arm,NOKERNEL_ARM_26))
81    $(eval $(call target_template,2.6,pkgcris,cris,NOKERNEL_CRIS_26))
82    $(eval $(call target_template,2.6,pkgavr32,avr32,NOKERNEL_AVR32_26))
83    $(eval $(call target_template,2.6,pkgpowerpc,powerpc,NOKERNEL_POWERPC_26))
84    $(eval $(call target_template,2.6,pkgi386,i386,NOKERNEL_I386_26))
85    
86    
87  define rootfs_template  define rootfs_template
# Line 90  endef Line 93  endef
93    
94  $(eval $(call rootfs_template,jffs2,JFFS2,rootfstype=jffs2 root=/dev/mtdblock2))  $(eval $(call rootfs_template,jffs2,JFFS2,rootfstype=jffs2 root=/dev/mtdblock2))
95  $(eval $(call rootfs_template,squashfs,SQUASHFS,rootfstype=squashfs root=/dev/mtdblock2))  $(eval $(call rootfs_template,squashfs,SQUASHFS,rootfstype=squashfs root=/dev/mtdblock2))
96    $(eval $(call rootfs_template,ramovl,RAMOVL,rootfstype=squashfs root=/dev/mtdblock2))
97  $(eval $(call rootfs_template,nfs,NFS,root=/dev/nfs ip=dhcp))  $(eval $(call rootfs_template,nfs,NFS,root=/dev/nfs ip=dhcp))
98  $(eval $(call rootfs_template,ext2-cf,EXT2_CF,root=/dev/cfa2))  $(eval $(call rootfs_template,ext2-cf,EXT2_CF,root=/dev/cfa2))
99  $(eval $(call rootfs_template,yaffs2,YAFFS2,root=/dev/mtdblock1))  $(eval $(call rootfs_template,yaffs2,YAFFS2,root=/dev/mtdblock1))

Legend:
Removed from v.3426  
changed lines
  Added in v.3427

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20