diff options
Diffstat (limited to 'meta/conf/machine/include')
20 files changed, 378 insertions, 0 deletions
diff --git a/meta/conf/machine/include/handheld-common.conf b/meta/conf/machine/include/handheld-common.conf new file mode 100644 index 0000000000..f8767d2ddf --- /dev/null +++ b/meta/conf/machine/include/handheld-common.conf | |||
@@ -0,0 +1,23 @@ | |||
1 | HANDHELD_MODULES = "ipv6 \ | ||
2 | ipsec \ | ||
3 | nvrd \ | ||
4 | mip6-mn \ | ||
5 | tun \ | ||
6 | ide-cs ide-disk ide-probe-mod \ | ||
7 | loop \ | ||
8 | vfat ext2 \ | ||
9 | sunrpc nfs \ | ||
10 | btuart-cs dtl1-cs bt3c-cs rfcomm bnep l2cap sco hci_uart hidp \ | ||
11 | pcnet-cs serial-cs airo-cs \ | ||
12 | af_packet \ | ||
13 | ppp-async ppp-deflate ppp-mppe \ | ||
14 | ip-gre ip-tables ipip \ | ||
15 | irda irlan irnet irport irtty ircomm-tty \ | ||
16 | input uinput \ | ||
17 | " | ||
18 | |||
19 | # Configuration bits for "generic handheld" | ||
20 | BOOTSTRAP_EXTRA_RDEPENDS += "${PCMCIA_MANAGER} apm apmd network-suspend-scripts" | ||
21 | BOOTSTRAP_EXTRA_RRECOMMENDS += "ppp wireless-tools irda-utils openswan wpa-supplicant-nossl lrzsz ppp-dialin ${@linux_module_packages('${HANDHELD_MODULES}', d)}" | ||
22 | |||
23 | INHERIT += "linux_modules" | ||
diff --git a/meta/conf/machine/include/ipaq-common.conf b/meta/conf/machine/include/ipaq-common.conf new file mode 100644 index 0000000000..eb696cf9f9 --- /dev/null +++ b/meta/conf/machine/include/ipaq-common.conf | |||
@@ -0,0 +1,7 @@ | |||
1 | IPAQ_MODULES = "apm h3600_generic_sleeve ipaq-sleeve ipaq-mtd-asset nvrd atmelwlandriver sa1100-rtc ipaq-hal h3600_ts usb-eth wavelan_cs keybdev" | ||
2 | |||
3 | BOOTSTRAP_EXTRA_RRECOMMENDS += "kbdd bl hostap-modules-cs orinoco-modules-cs atmelwlandriver ${@linux_module_packages('${IPAQ_MODULES}', d)}" | ||
4 | BOOTSTRAP_EXTRA_RRECOMMENDS_append_kernel24 += "mipv6" | ||
5 | |||
6 | PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive" | ||
7 | |||
diff --git a/meta/conf/machine/include/ixp4xx.conf b/meta/conf/machine/include/ixp4xx.conf new file mode 100644 index 0000000000..93befb92ce --- /dev/null +++ b/meta/conf/machine/include/ixp4xx.conf | |||
@@ -0,0 +1,174 @@ | |||
1 | #@TYPE: Machine configuration | ||
2 | #@NAME: ixp4xx | ||
3 | #@DESCRIPTION: genric machine configuration for ixp4xx platforms | ||
4 | |||
5 | #------------------------------------------------------------------------------- | ||
6 | # INPUTS | ||
7 | #------------------------------------------------------------------------------- | ||
8 | # conf/${DISTRO}.conf is included after this file and should be used to modify | ||
9 | # variables identified as 'INPUTS' to the required values for the DISTRO, this | ||
10 | # will cause the board specific settings (which depend for the most part on the | ||
11 | # exact CPU used) to be set correctly within this file. The results are the | ||
12 | # variables identifies here as 'OUTPUTS' | ||
13 | # | ||
14 | #variable = "default" | ||
15 | # <possible values> | ||
16 | # description | ||
17 | |||
18 | ARCH_BYTE_SEX = "be" | ||
19 | # "be" "le" | ||
20 | # The memory byte sex and (on correctly implemented hardware - the IXP4XX is | ||
21 | # correct) the byte sex of the buses within the system. 'be' (big-endian) | ||
22 | # means that the first byte is the most significant byte on a bus, 'le' | ||
23 | # (little-endian) means that the first byte is the least significant byte. | ||
24 | |||
25 | ARM_INSTRUCTION_SET = "arm" | ||
26 | # "arm" "thumb" | ||
27 | # The instruction set the compiler should use when generating application | ||
28 | # code. The kernel is always compiled with arm code at present. arm code | ||
29 | # is the original 32 bit ARM instruction set, thumb code is the 16 bit | ||
30 | # encoded RISC sub-set. Thumb code is smaller (maybe 70% of the ARM size) | ||
31 | # but requires more instructions (140% for 70% smaller code) so may be | ||
32 | # slower. | ||
33 | |||
34 | THUMB_INTERWORK = "yes" | ||
35 | # "yes" "no" | ||
36 | # Whether to compile with code to allow interworking between the two | ||
37 | # instruction sets. This allows thumb code to be executed on a primarily | ||
38 | # arm system and vice versa. It is strongly recommended that DISTROs not | ||
39 | # turn this off - the actual cost is very small. | ||
40 | |||
41 | DISTRO_BASE = "" | ||
42 | # "" ":<base>" | ||
43 | # If given this must be the name of a 'distro' to add to the bitbake OVERRIDES | ||
44 | # after ${DISTRO}, this allows different distros to share a common base of | ||
45 | # overrides. The value given must include a leading ':' or chaos will result. | ||
46 | |||
47 | IXP4XX_SUFFIX = "${MACHINE_ARCH}" | ||
48 | # <string> | ||
49 | # Kernel suffix - 'ixp4xxbe' or 'ixp4xxle' for a truely generic image, controls | ||
50 | # the suffix on the name of the generated zImage, override in the DISTRO | ||
51 | # configuration if patches or defconfig are changed for the DISTRO. | ||
52 | |||
53 | #------------------------------------------------------------------------------- | ||
54 | # OUTPUTS | ||
55 | #------------------------------------------------------------------------------- | ||
56 | |||
57 | #OVERRIDES | ||
58 | # The standard ':' separated list of overrides used by bitbake - see the | ||
59 | # basic setting in bitbake.conf. This list is based on that used for the | ||
60 | # standard setting however :<base>, :thumb and :thumb-interwork will be | ||
61 | # inserted at appropriate points if a base distro, default use of thumb or | ||
62 | # arm/thumb interworking are enabled in the inputs. | ||
63 | OVERRIDE_THUMB = "${@['', ':thumb'][bb.data.getVar('ARM_INSTRUCTION_SET', d, 1) == 'thumb']}" | ||
64 | OVERRIDE_INTERWORK = "${@['', ':thumb-interwork'][bb.data.getVar('THUMB_INTERWORK', d, 1) == 'yes']}" | ||
65 | OVERRIDES = "local:${MACHINE}:ixp4xx:${DISTRO}${DISTRO_BASE}:${TARGET_OS}:${TARGET_ARCH}${OVERRIDE_THUMB}${OVERRIDE_INTERWORK}:build-${BUILD_OS}:fail-fast" | ||
66 | |||
67 | # TARGET_CC_ARCH | ||
68 | # TARGET_CC_KERNEL_ARCH | ||
69 | # TARGET_LD_ARCH | ||
70 | # TARGET_LD_KERNEL_ARCH | ||
71 | # Compiler and linker options for application code and kernel code. These | ||
72 | # options ensure that the compiler has the correct settings for the selected | ||
73 | # instruction set and interworking. | ||
74 | ARM_INTERWORK_M_OPT = "${@['-mno-thumb-interwork', '-mthumb-interwork'][bb.data.getVar('THUMB_INTERWORK', d, 1) == 'yes']}" | ||
75 | ARM_THUMB_M_OPT = "${@['-mno-thumb', '-mthumb'][bb.data.getVar('ARM_INSTRUCTION_SET', d, 1) == 'thumb']}" | ||
76 | # | ||
77 | TARGET_CC_ARCH = "-march=armv5te -mtune=xscale ${ARM_INTERWORK_M_OPT} ${ARM_THUMB_M_OPT}" | ||
78 | TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale -mno-thumb-interwork -mno-thumb" | ||
79 | TARGET_LD_ARCH = "" | ||
80 | TARGET_LD_KERNEL_ARCH = "" | ||
81 | |||
82 | # FULL_OPTIMIZATION | ||
83 | # Optimization settings. Os works fine and is significantly better than O2. | ||
84 | # The other settings are somewhat arbitrary. The optimisations chosen here | ||
85 | # include the ones which 'break' symbolic debugging (because the compiler does | ||
86 | # not include enough information to allow the debugger to know where given | ||
87 | # values are.) The -fno options are an attempt to cancel explicit use of space | ||
88 | # consuming options found in some packages (this isn't a complete list, this is | ||
89 | # just the ones which package writers seem to know about and abuse). | ||
90 | FULL_OPTIMIZATION = "-Os -fomit-frame-pointer -frename-registers \ | ||
91 | -fno-unroll-loops -fno-inline-functions \ | ||
92 | -fweb -funit-at-a-time" | ||
93 | |||
94 | # TARGET_ARCH | ||
95 | # The correct setting for the system endianness (ARCH_BYTE_SEX). This will | ||
96 | # be arm (le) or armeb (be) - it is difficult to be more precise in the | ||
97 | # setting because of the large number of ways it is used within OpenEmbedded. | ||
98 | TARGET_ARCH = "${@['armeb', 'arm'][bb.data.getVar('ARCH_BYTE_SEX', d, 1) == 'le']}" | ||
99 | |||
100 | # TARGET_PACKAGE_ARCH [not used] | ||
101 | # The correct setting for the generated packages. This corresponds to the | ||
102 | # -march flag passed to the compiler because that limits the architectures | ||
103 | # on which the generated code will run. | ||
104 | BYTE_SEX_CHAR = "${@['b', 'l'][bb.data.getVar('ARCH_BYTE_SEX', d, 1) == 'le']}" | ||
105 | TARGET_PACKAGE_ARCH_BASE = "${@['armv5te', 'thumbv5t'][bb.data.getVar('ARM_INSTRUCTION_SET', d, 1) == 'thumb']}" | ||
106 | TARGET_PACKAGE_ARCH = "${TARGET_PACKAGE_ARCH_BASE}${BYTE_SEX_CHAR}" | ||
107 | |||
108 | # MACHINE_ARCH | ||
109 | # The correct setting for packages which are specific to the machine, this | ||
110 | # defaults to ${MACHINE} in bitbake.conf, however it is set to ixp4xx here | ||
111 | # because everything built here is no more specific than that. | ||
112 | MACHINE_ARCH = "ixp4xx${ARCH_BYTE_SEX}" | ||
113 | |||
114 | # IPKG_EXTRA_ARCHS | ||
115 | # The full list of package architectures which should run on the system. | ||
116 | # This takes into account both the board level issues and the INPUTS set | ||
117 | # by the distro. The arm list is derived from the architecture settings | ||
118 | # known to gcc, the thumb list is then derived from that (only the 't' | ||
119 | # architectures of course). | ||
120 | #[not used]: TARGET_ARCH is handled below because it is also currently | ||
121 | # used for thumb packages. | ||
122 | #ARM_ARCHITECTURES = "${TARGET_ARCH} armv2${BYTE_SEX_CHAR} armv2a${BYTE_SEX_CHAR} armv3${BYTE_SEX_CHAR} armv3m${BYTE_SEX_CHAR} armv4${BYTE_SEX_CHAR} armv4t${BYTE_SEX_CHAR} armv5${BYTE_SEX_CHAR} armv5t${BYTE_SEX_CHAR} armv5e${BYTE_SEX_CHAR} armv5te${BYTE_SEX_CHAR} xscale${BYTE_SEX_CHAR}" | ||
123 | ARM_ARCHITECTURES = "armv2${BYTE_SEX_CHAR} armv2a${BYTE_SEX_CHAR} armv3${BYTE_SEX_CHAR} armv3m${BYTE_SEX_CHAR} armv4${BYTE_SEX_CHAR} armv4t${BYTE_SEX_CHAR} armv5${BYTE_SEX_CHAR} armv5t${BYTE_SEX_CHAR} armv5e${BYTE_SEX_CHAR} armv5te${BYTE_SEX_CHAR} xscale${BYTE_SEX_CHAR}" | ||
124 | THUMB_ARCHITECTURES = "thumbe${BYTE_SEX_CHAR} thumbv4t${BYTE_SEX_CHAR} thumbv5t${BYTE_SEX_CHAR}" | ||
125 | |||
126 | # NOTE: this list contains just the things which rootfs_ipk.bbclass does | ||
127 | # not add, rootfs_ipk.bbclass evaluates: | ||
128 | # | ||
129 | # ipkgarchs="all any noarch ${TARGET_ARCH} ${IPKG_EXTRA_ARCHS} ${MACHINE}" | ||
130 | # | ||
131 | # This is a priority ordered list - most desireable architecture at the end, | ||
132 | # so put <ARM_INSTRUCTION_SET>_ARCHITECTURES at the end and, if | ||
133 | # THUMB_INTERWORK precede this with the other architectures. | ||
134 | IPKG_EXTRA_ARCHS = "ixp4xx ${MACHINE} \ | ||
135 | ${@(lambda arch_thumb, arch_arm, is_arm, interwork: \ | ||
136 | (interwork and (is_arm and arch_thumb or arch_arm) + ' ' or '') \ | ||
137 | + '${TARGET_ARCH} ' + (is_arm and arch_arm or arch_thumb)) \ | ||
138 | (bb.data.getVar('THUMB_ARCHITECTURES', d, 1), \ | ||
139 | bb.data.getVar('ARM_ARCHITECTURES', d, 1), \ | ||
140 | bb.data.getVar('ARM_INSTRUCTION_SET', d, 1) != 'thumb', \ | ||
141 | bb.data.getVar('THUMB_INTERWORK', d, 1) == 'yes')} \ | ||
142 | ${MACHINE_ARCH} ${MACHINE}${ARCH_BYTE_SEX}" | ||
143 | |||
144 | # IPKG_ARCH_LIST [not used] | ||
145 | # This is used to override the ipkgarchs settings in rootfs_ipk.bbclass, allowing | ||
146 | # the removal of the raw "${MACHINE}" from the end of the list. ${MACHINE} and | ||
147 | # ixp4xx are included at the start (lower priority) as the non-byte-sex specific | ||
148 | # versions. | ||
149 | IPKG_ARCH_LIST = "all any noarch ixp4xx ${MACHINE} ${IPKG_EXTRA_ARCHS}" | ||
150 | |||
151 | #------------------------------------------------------------------------------- | ||
152 | # Package versions | ||
153 | #------------------------------------------------------------------------------- | ||
154 | # Warning: these are shared across the different machine and distro | ||
155 | # configurations but can be overridden therein if required. | ||
156 | SRCDATE_ipkg-utils ?= "20060106" | ||
157 | SRCDATE_ipkg-utils-native ?= "20060106" | ||
158 | SRCDATE_ipkg-link ?= "20060106" | ||
159 | SRCDATE_irssi ?= "20050930" | ||
160 | |||
161 | CVS_TARBALL_STASH = "http://sources.nslu2-linux.org/sources/" | ||
162 | INHERIT += "nslu2-mirrors" | ||
163 | |||
164 | PREFERRED_VERSION_ipkg ?= "0.99.154" | ||
165 | PREFERRED_VERSION_ipkg-native ?= "0.99.154" | ||
166 | |||
167 | #------------------------------------------------------------------------------- | ||
168 | # Board defaults | ||
169 | #------------------------------------------------------------------------------- | ||
170 | # These values are board specific but they seem to be common to a large number | ||
171 | # of boards so are reasonable defaults. | ||
172 | SERIAL_CONSOLE = "115200 ttyS0" | ||
173 | KERNEL_CONSOLE = "ttyS0,115200n8" | ||
174 | USE_VT = "0" | ||
diff --git a/meta/conf/machine/include/poodle-2.6.conf b/meta/conf/machine/include/poodle-2.6.conf new file mode 100644 index 0000000000..9076355522 --- /dev/null +++ b/meta/conf/machine/include/poodle-2.6.conf | |||
@@ -0,0 +1,43 @@ | |||
1 | PREFERRED_PROVIDER_virtual/kernel = "linux-openzaurus" | ||
2 | |||
3 | PCMCIA_MANAGER ?= "pcmciautils" | ||
4 | |||
5 | BOOTSTRAP_EXTRA_RDEPENDS += "kernel udev sysfsutils spectrum-fw \ | ||
6 | ${PCMCIA_MANAGER} apm wireless-tools irda-utils udev-utils keymaps hostap-utils prism3-firmware prism3-support \ | ||
7 | ppp ppp-dialin alsa-utils-alsactl alsa-utils-alsamixer module-init-tools alsa-conf zaurusd" | ||
8 | |||
9 | # Ethernet modules | ||
10 | BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-pcnet-cs" | ||
11 | # NFS Modules | ||
12 | BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-nfs kernel-module-lockd kernel-module-sunrpc" | ||
13 | # Crypto Modules | ||
14 | BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-des kernel-module-md5" | ||
15 | # SMB and CRAMFS | ||
16 | BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-smbfs kernel-module-cramfs" | ||
17 | # Serial Modules | ||
18 | BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-8250 kernel-module-serial-cs" | ||
19 | # Bluetooth Modules | ||
20 | BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-bluetooth kernel-module-l2cap kernel-module-rfcomm kernel-module-hci-vhci \ | ||
21 | kernel-module-bnep kernel-module-hidp kernel-module-hci-uart kernel-module-sco \ | ||
22 | kernel-module-bt3c-cs kernel-module-bluecard-cs kernel-module-btuart-cs kernel-module-dtl1-cs" | ||
23 | # Infrared Modules | ||
24 | BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-pxaficp-ir kernel-module-irda kernel-module-ircomm \ | ||
25 | kernel-module-ircomm-tty kernel-module-irlan kernel-module-irnet kernel-module-ir-usb" | ||
26 | |||
27 | # USB Gadget Modules | ||
28 | BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-gadgetfs kernel-module-g-file-storage \ | ||
29 | kernel-module-g-serial kernel-module-g-ether" | ||
30 | |||
31 | # Wireless Modules | ||
32 | BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-hostap kernel-module-hostap-cs \ | ||
33 | kernel-module-hermes kernel-module-orinoco \ | ||
34 | kernel-module-orinoco-cs kernel-module-spectrum-cs \ | ||
35 | hostap-conf orinoco-conf" | ||
36 | |||
37 | # Sound Modules | ||
38 | ###BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-snd-mixer-oss kernel-module-snd-pcm-oss" | ||
39 | BOOTSTRAP_EXTRA_SOUND = "kernel-module-soundcore kernel-module-snd kernel-module-snd-page-alloc kernel-module-snd-timer \ | ||
40 | kernel-module-snd-pcm \ | ||
41 | kernel-module-snd-soc-core kernel-module-snd-soc-pxa2xx kernel-module-snd-soc-pxa2xx-i2s" | ||
42 | |||
43 | ###BOOTSTRAP_EXTRA_RDEPENDS_append_poodle += "${BOOTSTRAP_EXTRA_SOUND} kernel-module-snd-soc-poodle kernel-module-snd-soc-wm8731 " | ||
diff --git a/meta/conf/machine/include/thinclient-common.conf b/meta/conf/machine/include/thinclient-common.conf new file mode 100644 index 0000000000..4a96b42525 --- /dev/null +++ b/meta/conf/machine/include/thinclient-common.conf | |||
@@ -0,0 +1,19 @@ | |||
1 | THINCLIENT_MODULES = "ipv6 \ | ||
2 | mip6-mn \ | ||
3 | tun \ | ||
4 | loop \ | ||
5 | vfat \ | ||
6 | sunrpc nfs \ | ||
7 | rfcomm bnep l2cap sco \ | ||
8 | af_packet \ | ||
9 | ppp-async ppp-deflate ppp-mppe \ | ||
10 | ip-gre ip-tables ipip \ | ||
11 | irda irlan irnet irport irtty \ | ||
12 | input uinput \ | ||
13 | " | ||
14 | |||
15 | # Configuration bits for "generic thinclient" | ||
16 | BOOTSTRAP_EXTRA_RDEPENDS += "apm" | ||
17 | BOOTSTRAP_EXTRA_RRECOMMENDS += "ppp bluez-utils wireless-tools ${@linux_module_packages('${THINCLIENT_MODULES}', d)}" | ||
18 | |||
19 | INHERIT += "linux_modules" | ||
diff --git a/meta/conf/machine/include/tosa-2.6.conf b/meta/conf/machine/include/tosa-2.6.conf new file mode 100644 index 0000000000..c7805c36fe --- /dev/null +++ b/meta/conf/machine/include/tosa-2.6.conf | |||
@@ -0,0 +1,6 @@ | |||
1 | include conf/machine/include/zaurus-clamshell-2.6.conf | ||
2 | # wlan-ng Modules | ||
3 | BOOTSTRAP_EXTRA_RDEPENDS += "wlan-ng-modules-usb" | ||
4 | |||
5 | # WM97xx Modules | ||
6 | #BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-wm97xx-core kernel-module-wm9705 kernel-module-pxa-wm97xx" | ||
diff --git a/meta/conf/machine/include/tune-arm920t.conf b/meta/conf/machine/include/tune-arm920t.conf new file mode 100644 index 0000000000..936b137517 --- /dev/null +++ b/meta/conf/machine/include/tune-arm920t.conf | |||
@@ -0,0 +1,2 @@ | |||
1 | TARGET_CC_ARCH = "-march=armv4t -mtune=arm920t" | ||
2 | |||
diff --git a/meta/conf/machine/include/tune-arm926ejs.conf b/meta/conf/machine/include/tune-arm926ejs.conf new file mode 100644 index 0000000000..c1462ee148 --- /dev/null +++ b/meta/conf/machine/include/tune-arm926ejs.conf | |||
@@ -0,0 +1,6 @@ | |||
1 | #if gcc breaks change arm926ejs to arm926ej-s | ||
2 | # For gcc 3.x you need: | ||
3 | TARGET_CC_ARCH = "-march=armv5te -mtune=arm926ejs" | ||
4 | # For gcc 4.x you need: | ||
5 | #TARGET_CC_ARCH = "-march=armv5te -mtune=arm926ej-s" | ||
6 | PACKAGE_ARCH = "armv5te" | ||
diff --git a/meta/conf/machine/include/tune-arm9tdmi.conf b/meta/conf/machine/include/tune-arm9tdmi.conf new file mode 100644 index 0000000000..cfc3bad1c1 --- /dev/null +++ b/meta/conf/machine/include/tune-arm9tdmi.conf | |||
@@ -0,0 +1 @@ | |||
TARGET_CC_ARCH = "-mcpu=arm9tdmi -mtune=arm9tdmi" | |||
diff --git a/meta/conf/machine/include/tune-c3.conf b/meta/conf/machine/include/tune-c3.conf new file mode 100644 index 0000000000..e6a522af10 --- /dev/null +++ b/meta/conf/machine/include/tune-c3.conf | |||
@@ -0,0 +1,3 @@ | |||
1 | TARGET_CC_ARCH = "-march=c3 -mtune=c3" | ||
2 | PACKAGE_ARCH = "i586" | ||
3 | |||
diff --git a/meta/conf/machine/include/tune-ep9312.conf b/meta/conf/machine/include/tune-ep9312.conf new file mode 100644 index 0000000000..f7a6fb845b --- /dev/null +++ b/meta/conf/machine/include/tune-ep9312.conf | |||
@@ -0,0 +1,6 @@ | |||
1 | TARGET_CC_ARCH = "-march=ep9312 -mtune=ep9312" | ||
2 | # add "-mfp=maverick" for newer gcc versions > 4.0 | ||
3 | |||
4 | #set arch to ep9312 for all generated packages | ||
5 | PACKAGE_ARCH = "ep9312" | ||
6 | |||
diff --git a/meta/conf/machine/include/tune-ppc603e.conf b/meta/conf/machine/include/tune-ppc603e.conf new file mode 100644 index 0000000000..7c8714cfc2 --- /dev/null +++ b/meta/conf/machine/include/tune-ppc603e.conf | |||
@@ -0,0 +1,2 @@ | |||
1 | TARGET_CC_ARCH = "-mcpu=603e" | ||
2 | PACKAGE_ARCH = "ppc603e" | ||
diff --git a/meta/conf/machine/include/tune-ppce500.conf b/meta/conf/machine/include/tune-ppce500.conf new file mode 100644 index 0000000000..11717eba70 --- /dev/null +++ b/meta/conf/machine/include/tune-ppce500.conf | |||
@@ -0,0 +1,2 @@ | |||
1 | TARGET_CC_ARCH = "-mcpu=8540" | ||
2 | PACKAGE_ARCH = "ppce500" | ||
diff --git a/meta/conf/machine/include/tune-sh3.conf b/meta/conf/machine/include/tune-sh3.conf new file mode 100644 index 0000000000..192dd8fd22 --- /dev/null +++ b/meta/conf/machine/include/tune-sh3.conf | |||
@@ -0,0 +1 @@ | |||
TARGET_CC_ARCH = "-ml -m3" | |||
diff --git a/meta/conf/machine/include/tune-sh4.conf b/meta/conf/machine/include/tune-sh4.conf new file mode 100644 index 0000000000..866f7f89d5 --- /dev/null +++ b/meta/conf/machine/include/tune-sh4.conf | |||
@@ -0,0 +1 @@ | |||
TARGET_CC_ARCH = "-ml -m4" | |||
diff --git a/meta/conf/machine/include/tune-strongarm.conf b/meta/conf/machine/include/tune-strongarm.conf new file mode 100644 index 0000000000..8654c996ef --- /dev/null +++ b/meta/conf/machine/include/tune-strongarm.conf | |||
@@ -0,0 +1,2 @@ | |||
1 | TARGET_CC_ARCH = "-march=armv4 -mtune=xscale" | ||
2 | |||
diff --git a/meta/conf/machine/include/tune-supersparc.conf b/meta/conf/machine/include/tune-supersparc.conf new file mode 100644 index 0000000000..1b1ec1207f --- /dev/null +++ b/meta/conf/machine/include/tune-supersparc.conf | |||
@@ -0,0 +1,2 @@ | |||
1 | TARGET_CC_ARCH = "-mcpu=supersparc" | ||
2 | PACKAGE_ARCH = "supersparc" | ||
diff --git a/meta/conf/machine/include/tune-xscale.conf b/meta/conf/machine/include/tune-xscale.conf new file mode 100644 index 0000000000..0b98f09fc8 --- /dev/null +++ b/meta/conf/machine/include/tune-xscale.conf | |||
@@ -0,0 +1,3 @@ | |||
1 | TARGET_CC_ARCH = "-march=armv5te -mtune=xscale" | ||
2 | PACKAGE_ARCH = "armv5te" | ||
3 | |||
diff --git a/meta/conf/machine/include/zaurus-clamshell-2.6.conf b/meta/conf/machine/include/zaurus-clamshell-2.6.conf new file mode 100644 index 0000000000..3c19ef3da6 --- /dev/null +++ b/meta/conf/machine/include/zaurus-clamshell-2.6.conf | |||
@@ -0,0 +1,46 @@ | |||
1 | # Zaurus Clamshell specific configuration for kernel 2.6 | ||
2 | # Don't forget to include zaurus-clamshell.conf as well | ||
3 | |||
4 | PREFERRED_PROVIDER_virtual/kernel = "linux-openzaurus" | ||
5 | PREFERRED_VERSION_wpa_supplicant = "0.4.7" | ||
6 | |||
7 | PCMCIA_MANAGER ?= "pcmciautils" | ||
8 | |||
9 | BOOTSTRAP_EXTRA_RDEPENDS += "kernel udev sysfsutils spectrum-fw \ | ||
10 | ${PCMCIA_MANAGER} apm wireless-tools irda-utils udev-utils keymaps hostap-utils prism3-firmware prism3-support \ | ||
11 | ppp ppp-dialin openswan wpa-supplicant-nossl alsa-utils-alsactl alsa-utils-alsamixer module-init-tools alsa-conf zaurusd" | ||
12 | |||
13 | # Ethernet modules | ||
14 | BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-pcnet-cs" | ||
15 | # NFS Modules | ||
16 | BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-nfs kernel-module-lockd kernel-module-sunrpc" | ||
17 | # Crypto Modules | ||
18 | BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-des kernel-module-md5" | ||
19 | # SMB and CRAMFS | ||
20 | BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-smbfs kernel-module-cramfs" | ||
21 | # Serial Modules | ||
22 | BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-8250 kernel-module-serial-cs" | ||
23 | # Bluetooth Modules | ||
24 | BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-bluetooth kernel-module-l2cap kernel-module-rfcomm kernel-module-hci-vhci \ | ||
25 | kernel-module-bnep kernel-module-hidp kernel-module-hci-uart kernel-module-sco \ | ||
26 | kernel-module-bt3c-cs kernel-module-bluecard-cs kernel-module-btuart-cs kernel-module-dtl1-cs" | ||
27 | # Infrared Modules | ||
28 | BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-pxaficp-ir kernel-module-irda kernel-module-ircomm \ | ||
29 | kernel-module-ircomm-tty kernel-module-irlan kernel-module-irnet kernel-module-ir-usb" | ||
30 | |||
31 | # USB Gadget Modules | ||
32 | BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-gadgetfs kernel-module-g-file-storage \ | ||
33 | kernel-module-g-serial kernel-module-g-ether" | ||
34 | |||
35 | # Wireless Modules | ||
36 | BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-hostap kernel-module-hostap-cs \ | ||
37 | kernel-module-hermes kernel-module-orinoco \ | ||
38 | kernel-module-orinoco-cs kernel-module-spectrum-cs \ | ||
39 | hostap-conf orinoco-conf" | ||
40 | |||
41 | # Sound Modules | ||
42 | BOOTSTRAP_EXTRA_RDEPENDS_append_c7x0 = " kernel-module-snd-soc-corgi " | ||
43 | BOOTSTRAP_EXTRA_RDEPENDS_append_akita = " kernel-module-snd-soc-spitz " | ||
44 | BOOTSTRAP_EXTRA_RDEPENDS_append_spitz = " kernel-module-snd-soc-spitz " | ||
45 | # For OSS | ||
46 | BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-snd-mixer-oss kernel-module-snd-pcm-oss" \ No newline at end of file | ||
diff --git a/meta/conf/machine/include/zaurus-clamshell.conf b/meta/conf/machine/include/zaurus-clamshell.conf new file mode 100644 index 0000000000..dfbbe5024e --- /dev/null +++ b/meta/conf/machine/include/zaurus-clamshell.conf | |||
@@ -0,0 +1,29 @@ | |||
1 | TARGET_ARCH = "arm" | ||
2 | IPKG_EXTRA_ARCHS = "armv4 armv5te" | ||
3 | |||
4 | PREFERRED_PROVIDER_xserver = "xserver-kdrive" | ||
5 | |||
6 | EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x4000 -n" | ||
7 | EXTRA_IMAGEDEPENDS += "sharp-flash-header-c700 zaurus-updater" | ||
8 | |||
9 | IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime \ | ||
10 | --output=${T}/${IMAGE_NAME}.rootfs.jffs2 ${EXTRA_IMAGECMD}; \ | ||
11 | cat ${STAGING_LIBDIR}/sharp-flash-header/header-c700.bin \ | ||
12 | ${T}/${IMAGE_NAME}.rootfs.jffs2 > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.img" | ||
13 | |||
14 | # add a summary to the jffs2 file to make it mount a lot faster | ||
15 | #EXTRA_IMAGECMD_jffs2 += "&& sumtool -i ${T}/${IMAGE_NAME}.rootfs.jffs2 \ | ||
16 | # -o ${T}/${IMAGE_NAME}.rootfs.jffs2.summary \ | ||
17 | # --eraseblock=0x4000" | ||
18 | #IMAGE_CMD_jffs2 += "; cat ${STAGING_LIBDIR}/sharp-flash-header/header-c700.bin \ | ||
19 | # ${T}/${IMAGE_NAME}.rootfs.jffs2.summary > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.summary.img" | ||
20 | |||
21 | GUI_MACHINE_CLASS = "bigscreen" | ||
22 | GPE_EXTRA_INSTALL += "gaim sylpheed" | ||
23 | |||
24 | include conf/machine/include/handheld-common.conf | ||
25 | |||
26 | # Use tune-xscale per default. Machine independent feeds should be built with tune-strongarm. | ||
27 | include conf/machine/include/tune-xscale.conf | ||
28 | |||
29 | SERIAL_CONSOLE = "115200 ttyS0" | ||