summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
commitb2f192faabe412adce79534e22efe9fb69ee40e2 (patch)
tree7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/conf/machine/include
parent2cf0eadf9f730027833af802d7e6c90b44248f80 (diff)
downloadpoky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf/machine/include')
-rw-r--r--meta/conf/machine/include/handheld-common.conf23
-rw-r--r--meta/conf/machine/include/ipaq-common.conf7
-rw-r--r--meta/conf/machine/include/ixp4xx.conf174
-rw-r--r--meta/conf/machine/include/poodle-2.6.conf43
-rw-r--r--meta/conf/machine/include/thinclient-common.conf19
-rw-r--r--meta/conf/machine/include/tosa-2.6.conf6
-rw-r--r--meta/conf/machine/include/tune-arm920t.conf2
-rw-r--r--meta/conf/machine/include/tune-arm926ejs.conf6
-rw-r--r--meta/conf/machine/include/tune-arm9tdmi.conf1
-rw-r--r--meta/conf/machine/include/tune-c3.conf3
-rw-r--r--meta/conf/machine/include/tune-ep9312.conf6
-rw-r--r--meta/conf/machine/include/tune-ppc603e.conf2
-rw-r--r--meta/conf/machine/include/tune-ppce500.conf2
-rw-r--r--meta/conf/machine/include/tune-sh3.conf1
-rw-r--r--meta/conf/machine/include/tune-sh4.conf1
-rw-r--r--meta/conf/machine/include/tune-strongarm.conf2
-rw-r--r--meta/conf/machine/include/tune-supersparc.conf2
-rw-r--r--meta/conf/machine/include/tune-xscale.conf3
-rw-r--r--meta/conf/machine/include/zaurus-clamshell-2.6.conf46
-rw-r--r--meta/conf/machine/include/zaurus-clamshell.conf29
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 @@
1HANDHELD_MODULES = "ipv6 \
2ipsec \
3nvrd \
4mip6-mn \
5tun \
6ide-cs ide-disk ide-probe-mod \
7loop \
8vfat ext2 \
9sunrpc nfs \
10btuart-cs dtl1-cs bt3c-cs rfcomm bnep l2cap sco hci_uart hidp \
11pcnet-cs serial-cs airo-cs \
12af_packet \
13ppp-async ppp-deflate ppp-mppe \
14ip-gre ip-tables ipip \
15irda irlan irnet irport irtty ircomm-tty \
16input uinput \
17"
18
19# Configuration bits for "generic handheld"
20BOOTSTRAP_EXTRA_RDEPENDS += "${PCMCIA_MANAGER} apm apmd network-suspend-scripts"
21BOOTSTRAP_EXTRA_RRECOMMENDS += "ppp wireless-tools irda-utils openswan wpa-supplicant-nossl lrzsz ppp-dialin ${@linux_module_packages('${HANDHELD_MODULES}', d)}"
22
23INHERIT += "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 @@
1IPAQ_MODULES = "apm h3600_generic_sleeve ipaq-sleeve ipaq-mtd-asset nvrd atmelwlandriver sa1100-rtc ipaq-hal h3600_ts usb-eth wavelan_cs keybdev"
2
3BOOTSTRAP_EXTRA_RRECOMMENDS += "kbdd bl hostap-modules-cs orinoco-modules-cs atmelwlandriver ${@linux_module_packages('${IPAQ_MODULES}', d)}"
4BOOTSTRAP_EXTRA_RRECOMMENDS_append_kernel24 += "mipv6"
5
6PREFERRED_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
18ARCH_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
25ARM_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
34THUMB_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
41DISTRO_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
47IXP4XX_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.
63OVERRIDE_THUMB = "${@['', ':thumb'][bb.data.getVar('ARM_INSTRUCTION_SET', d, 1) == 'thumb']}"
64OVERRIDE_INTERWORK = "${@['', ':thumb-interwork'][bb.data.getVar('THUMB_INTERWORK', d, 1) == 'yes']}"
65OVERRIDES = "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.
74ARM_INTERWORK_M_OPT = "${@['-mno-thumb-interwork', '-mthumb-interwork'][bb.data.getVar('THUMB_INTERWORK', d, 1) == 'yes']}"
75ARM_THUMB_M_OPT = "${@['-mno-thumb', '-mthumb'][bb.data.getVar('ARM_INSTRUCTION_SET', d, 1) == 'thumb']}"
76#
77TARGET_CC_ARCH = "-march=armv5te -mtune=xscale ${ARM_INTERWORK_M_OPT} ${ARM_THUMB_M_OPT}"
78TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale -mno-thumb-interwork -mno-thumb"
79TARGET_LD_ARCH = ""
80TARGET_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).
90FULL_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.
98TARGET_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.
104BYTE_SEX_CHAR = "${@['b', 'l'][bb.data.getVar('ARCH_BYTE_SEX', d, 1) == 'le']}"
105TARGET_PACKAGE_ARCH_BASE = "${@['armv5te', 'thumbv5t'][bb.data.getVar('ARM_INSTRUCTION_SET', d, 1) == 'thumb']}"
106TARGET_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.
112MACHINE_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}"
123ARM_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}"
124THUMB_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.
134IPKG_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.
149IPKG_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.
156SRCDATE_ipkg-utils ?= "20060106"
157SRCDATE_ipkg-utils-native ?= "20060106"
158SRCDATE_ipkg-link ?= "20060106"
159SRCDATE_irssi ?= "20050930"
160
161CVS_TARBALL_STASH = "http://sources.nslu2-linux.org/sources/"
162INHERIT += "nslu2-mirrors"
163
164PREFERRED_VERSION_ipkg ?= "0.99.154"
165PREFERRED_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.
172SERIAL_CONSOLE = "115200 ttyS0"
173KERNEL_CONSOLE = "ttyS0,115200n8"
174USE_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 @@
1PREFERRED_PROVIDER_virtual/kernel = "linux-openzaurus"
2
3PCMCIA_MANAGER ?= "pcmciautils"
4
5BOOTSTRAP_EXTRA_RDEPENDS += "kernel udev sysfsutils spectrum-fw \
6${PCMCIA_MANAGER} apm wireless-tools irda-utils udev-utils keymaps hostap-utils prism3-firmware prism3-support \
7ppp ppp-dialin alsa-utils-alsactl alsa-utils-alsamixer module-init-tools alsa-conf zaurusd"
8
9# Ethernet modules
10BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-pcnet-cs"
11# NFS Modules
12BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-nfs kernel-module-lockd kernel-module-sunrpc"
13# Crypto Modules
14BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-des kernel-module-md5"
15# SMB and CRAMFS
16BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-smbfs kernel-module-cramfs"
17# Serial Modules
18BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-8250 kernel-module-serial-cs"
19# Bluetooth Modules
20BOOTSTRAP_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
24BOOTSTRAP_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
28BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-gadgetfs kernel-module-g-file-storage \
29 kernel-module-g-serial kernel-module-g-ether"
30
31# Wireless Modules
32BOOTSTRAP_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"
39BOOTSTRAP_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 @@
1THINCLIENT_MODULES = "ipv6 \
2mip6-mn \
3tun \
4loop \
5vfat \
6sunrpc nfs \
7rfcomm bnep l2cap sco \
8af_packet \
9ppp-async ppp-deflate ppp-mppe \
10ip-gre ip-tables ipip \
11irda irlan irnet irport irtty \
12input uinput \
13"
14
15# Configuration bits for "generic thinclient"
16BOOTSTRAP_EXTRA_RDEPENDS += "apm"
17BOOTSTRAP_EXTRA_RRECOMMENDS += "ppp bluez-utils wireless-tools ${@linux_module_packages('${THINCLIENT_MODULES}', d)}"
18
19INHERIT += "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 @@
1include conf/machine/include/zaurus-clamshell-2.6.conf
2# wlan-ng Modules
3BOOTSTRAP_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 @@
1TARGET_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:
3TARGET_CC_ARCH = "-march=armv5te -mtune=arm926ejs"
4# For gcc 4.x you need:
5#TARGET_CC_ARCH = "-march=armv5te -mtune=arm926ej-s"
6PACKAGE_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 @@
1TARGET_CC_ARCH = "-march=c3 -mtune=c3"
2PACKAGE_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 @@
1TARGET_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
5PACKAGE_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 @@
1TARGET_CC_ARCH = "-mcpu=603e"
2PACKAGE_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 @@
1TARGET_CC_ARCH = "-mcpu=8540"
2PACKAGE_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 @@
1TARGET_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 @@
1TARGET_CC_ARCH = "-mcpu=supersparc"
2PACKAGE_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 @@
1TARGET_CC_ARCH = "-march=armv5te -mtune=xscale"
2PACKAGE_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
4PREFERRED_PROVIDER_virtual/kernel = "linux-openzaurus"
5PREFERRED_VERSION_wpa_supplicant = "0.4.7"
6
7PCMCIA_MANAGER ?= "pcmciautils"
8
9BOOTSTRAP_EXTRA_RDEPENDS += "kernel udev sysfsutils spectrum-fw \
10${PCMCIA_MANAGER} apm wireless-tools irda-utils udev-utils keymaps hostap-utils prism3-firmware prism3-support \
11ppp ppp-dialin openswan wpa-supplicant-nossl alsa-utils-alsactl alsa-utils-alsamixer module-init-tools alsa-conf zaurusd"
12
13# Ethernet modules
14BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-pcnet-cs"
15# NFS Modules
16BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-nfs kernel-module-lockd kernel-module-sunrpc"
17# Crypto Modules
18BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-des kernel-module-md5"
19# SMB and CRAMFS
20BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-smbfs kernel-module-cramfs"
21# Serial Modules
22BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-8250 kernel-module-serial-cs"
23# Bluetooth Modules
24BOOTSTRAP_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
28BOOTSTRAP_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
32BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-gadgetfs kernel-module-g-file-storage \
33 kernel-module-g-serial kernel-module-g-ether"
34
35# Wireless Modules
36BOOTSTRAP_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
42BOOTSTRAP_EXTRA_RDEPENDS_append_c7x0 = " kernel-module-snd-soc-corgi "
43BOOTSTRAP_EXTRA_RDEPENDS_append_akita = " kernel-module-snd-soc-spitz "
44BOOTSTRAP_EXTRA_RDEPENDS_append_spitz = " kernel-module-snd-soc-spitz "
45# For OSS
46BOOTSTRAP_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 @@
1TARGET_ARCH = "arm"
2IPKG_EXTRA_ARCHS = "armv4 armv5te"
3
4PREFERRED_PROVIDER_xserver = "xserver-kdrive"
5
6EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x4000 -n"
7EXTRA_IMAGEDEPENDS += "sharp-flash-header-c700 zaurus-updater"
8
9IMAGE_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
21GUI_MACHINE_CLASS = "bigscreen"
22GPE_EXTRA_INSTALL += "gaim sylpheed"
23
24include conf/machine/include/handheld-common.conf
25
26# Use tune-xscale per default. Machine independent feeds should be built with tune-strongarm.
27include conf/machine/include/tune-xscale.conf
28
29SERIAL_CONSOLE = "115200 ttyS0"