source: freewrt/mk/targets.mk@ 3f0223f

freewrt_1_0 freewrt_2_0
Last change on this file since 3f0223f was 1993322, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

remove squashfs symlinks root filesystem, it is ugly and overlay works stable and fine. 1.0.3 will come without squashfs-symlinks filesystem support. it is removed in trunk already. I never suggest to use symlinks method and we should not support it anymore

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@2403 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 2.4 KB
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/license for details.
6
7define target_template
8ifeq ($(FWRT_LINUX_$(4)),y)
9KERNEL:=$(1)
10BOARD:=$(2)
11MODEL:=$(3)
12FWRT_LAN:=$(5)
13FWRT_WAN:=$(6)
14FWRT_WLAN:=$(7)
15FWRT_SWITCH:=$(8)
16endif
17endef
18
19# asus models
20$(eval $(call target_template,2.4,brcm,asus-wl500g,2_4_BRCM_ASUS_WL500G,eth0,eth1,eth2,n))
21$(eval $(call target_template,2.4,brcm,asus-wl500g-deluxe,2_4_BRCM_ASUS_WL500G_DELUXE,eth0.0,eth0.1,eth1,y))
22$(eval $(call target_template,2.4,brcm,asus-wl500g-premium,2_4_BRCM_ASUS_WL500G_PREMIUM,eth0.0,eth0.1,eth2,y))
23# linksys models
24$(eval $(call target_template,2.4,brcm,linksys-wrt54gs-10,2_4_BRCM_LINKSYS_WRT54GS_10,eth0.0,eth0.1,eth1,y))
25$(eval $(call target_template,2.4,brcm,linksys-wrt54gs-11,2_4_BRCM_LINKSYS_WRT54GS_11,eth0.0,eth0.1,eth1,y))
26$(eval $(call target_template,2.4,brcm,linksys-wrt54gs-4,2_4_BRCM_LINKSYS_WRT54GS_4,eth0.0,eth0.1,eth1,r))
27$(eval $(call target_template,2.4,brcm,linksys-wrt54g-20,2_4_BRCM_LINKSYS_WRT54G_20,eth0.0,eth0.1,eth1,y))
28$(eval $(call target_template,2.4,brcm,linksys-wrt54g-22,2_4_BRCM_LINKSYS_WRT54G_22,eth0.0,eth0.1,eth1,y))
29$(eval $(call target_template,2.4,brcm,linksys-wrt54g-30,2_4_BRCM_LINKSYS_WRT54G_30,eth0.0,eth0.1,eth1,y))
30$(eval $(call target_template,2.4,brcm,linksys-wrt54g-31,2_4_BRCM_LINKSYS_WRT54G_31,eth0.0,eth0.1,eth1,y))
31$(eval $(call target_template,2.4,brcm,linksys-wrt54g-4,2_4_BRCM_LINKSYS_WRT54G_4,eth0.0,eth0.1,eth1,y))
32$(eval $(call target_template,2.4,brcm,linksys-wrt54gl,2_4_BRCM_LINKSYS_WRT54GL,eth0.0,eth0.1,eth1,r))
33$(eval $(call target_template,2.4,brcm,linksys-wrt54g3g,2_4_BRCM_LINKSYS_WRT54G3G,eth0.0,eth0.1,eth1,y))
34# netgear models
35$(eval $(call target_template,2.4,brcm,netgear-wgt634u,2_4_BRCM_NETGEAR_WGT634U,eth0.0,eth0.1,ath0,r))
36
37# set kernel version
38ifeq ($(KERNEL),2.4)
39KERNEL_VERSION=2.4.33.3
40KERNEL_RELEASE=1
41KERNEL_MOD_SUFFIX=o
42endif
43
44# set architecture
45ifeq ($(BOARD),brcm)
46CPU_ARCH=mipsel
47KERNEL_ARCH=mips
48endif
49
50
51export BOARD
52export CPU_ARCH
53export KERNEL_ARCH
54export KERNEL
55export KERNEL_VERSION
56export MODEL
57export FWRT_LAN
58export FWRT_WAN
59export FWRT_WLAN
60export FWRT_SWITCH
61
62define rootfs_template
63ifeq ($(FWRT_TARGET_ROOTFS_$(2)),y)
64FS:=$(1)
65endif
66endef
67
68$(eval $(call rootfs_template,jffs2,JFFS2))
69$(eval $(call rootfs_template,squashfs-overlay,SQUASHFS_OVERLAY))
70
71export FS
72
73FWRT_VERSION=1.0
74export FWRT_VERSION
Note: See TracBrowser for help on using the repository browser.