summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-26 22:22:44 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-26 22:22:44 +0000
commit4952c7e0fede3efbaf5bb9b1e153daa5071ef6a5 (patch)
treef705b0e1e1ea9aa10e4786212eed4a7685362e43 /meta/conf
parent36a7962e7428a79c5bde3f3b0fd36ce3ed19b439 (diff)
downloadpoky-4952c7e0fede3efbaf5bb9b1e153daa5071ef6a5.tar.gz
Totally rework task handling for machine/distro specific features. Create task-base.bb to handle this and update machine/distro files accordingly. MACHINE_FEATURES and DISTRO_FEATURES together combine to configure the machine specific task-base and other specific tasks can easily be created (task-base-oh-minimal is an exmaple)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@562 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/distro/poky.conf2
-rw-r--r--meta/conf/machine/include/handheld-common.conf23
-rw-r--r--meta/conf/machine/include/zaurus-clamshell-2.6.conf42
-rw-r--r--meta/conf/machine/ipaq-pxa270.conf7
-rw-r--r--meta/conf/machine/spitz.conf4
5 files changed, 12 insertions, 66 deletions
diff --git a/meta/conf/distro/poky.conf b/meta/conf/distro/poky.conf
index 4218ce80bc..4bfe462a40 100644
--- a/meta/conf/distro/poky.conf
+++ b/meta/conf/distro/poky.conf
@@ -171,3 +171,5 @@ PCMCIA_MANAGER ?= "pcmciautils"
171CVS_TARBALL_STASH += "http://www.o-hand.com/~richard/poky/sources/" 171CVS_TARBALL_STASH += "http://www.o-hand.com/~richard/poky/sources/"
172 172
173IMAGE_LINGUAS = "en-gb" 173IMAGE_LINGUAS = "en-gb"
174
175DISTRO_FEATURES = "alsa bluetooth ext2 irda pcmcia usbgadget usbhost wifi"
diff --git a/meta/conf/machine/include/handheld-common.conf b/meta/conf/machine/include/handheld-common.conf
deleted file mode 100644
index f8767d2ddf..0000000000
--- a/meta/conf/machine/include/handheld-common.conf
+++ /dev/null
@@ -1,23 +0,0 @@
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/zaurus-clamshell-2.6.conf b/meta/conf/machine/include/zaurus-clamshell-2.6.conf
index 3c19ef3da6..fa2adda6fb 100644
--- a/meta/conf/machine/include/zaurus-clamshell-2.6.conf
+++ b/meta/conf/machine/include/zaurus-clamshell-2.6.conf
@@ -6,41 +6,13 @@ PREFERRED_VERSION_wpa_supplicant = "0.4.7"
6 6
7PCMCIA_MANAGER ?= "pcmciautils" 7PCMCIA_MANAGER ?= "pcmciautils"
8 8
9BOOTSTRAP_EXTRA_RDEPENDS += "kernel udev sysfsutils spectrum-fw \ 9MACHINE_FEATURES = "kernel26 apm alsa pcmcia bluetooth irda usbgadget"
10${PCMCIA_MANAGER} apm wireless-tools irda-utils udev-utils keymaps hostap-utils prism3-firmware prism3-support \ 10MACHINE_FEATURES_akita = "kernel26 apm alsa pcmcia bluetooth irda usbgadget usbhost"
11ppp ppp-dialin openswan wpa-supplicant-nossl alsa-utils-alsactl alsa-utils-alsamixer module-init-tools alsa-conf zaurusd" 11MACHINE_FEATURES_spitz = "kernel26 apm alsa pcmcia bluetooth irda usbgadget usbhost ext2"
12 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 13
31# USB Gadget Modules 14MACHINE_EXTRA_RDEPENDS = "zaurusd"
32BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-gadgetfs kernel-module-g-file-storage \ 15MACHINE_EXTRA_RRECOMMENDS_c7x0 = "kernel-module-snd-soc-corgi"
33 kernel-module-g-serial kernel-module-g-ether" 16MACHINE_EXTRA_RRECOMMENDS_akita = "kernel-module-snd-soc-spitz"
17MACHINE_EXTRA_RRECOMMENDS_spitz = "kernel-module-snd-soc-spitz"
34 18
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/ipaq-pxa270.conf b/meta/conf/machine/ipaq-pxa270.conf
index ffa8b2d9c5..1aeb8f3f2b 100644
--- a/meta/conf/machine/ipaq-pxa270.conf
+++ b/meta/conf/machine/ipaq-pxa270.conf
@@ -4,11 +4,9 @@
4 4
5TARGET_ARCH = "arm" 5TARGET_ARCH = "arm"
6IPKG_EXTRA_ARCHS = "armv4 armv5te ipaqpxa hx4700" 6IPKG_EXTRA_ARCHS = "armv4 armv5te ipaqpxa hx4700"
7#use this for a hx47xx ipaq
8PREFERRED_PROVIDER_virtual/kernel = "handhelds-pxa-2.6"
9 7
10#use this for a hx2xxx ipaq 8#use this for a hx2xxx ipaq
11#PREFERRED_PROVIDER_virtual/kernel = "linux-openzaurus" 9PREFERRED_PROVIDER_virtual/kernel = "linux-openzaurus"
12 10
13PREFERRED_VERSION_orinoco-modules = "0.15rc1" 11PREFERRED_VERSION_orinoco-modules = "0.15rc1"
14 12
@@ -42,7 +40,8 @@ include conf/machine/include/tune-xscale.conf
42# Uncomment this to use iwmmxt optimizations. Remove the above xscale stuff first 40# Uncomment this to use iwmmxt optimizations. Remove the above xscale stuff first
43#include conf/machine/include/tune-iwmmxt.conf 41#include conf/machine/include/tune-iwmmxt.conf
44 42
45BOOTSTRAP_EXTRA_RRECOMMENDS += "${@linux_module_packages('${HX4700_MODULES}', d)}" 43BOOTSTRAP_EXTRA_RRECOMMENDS += ""
44#${@linux_module_packages('${HX4700_MODULES}', d)}
46HX4700_MODULES = "i2c-pxa asic3_mmc hx4700_bt hx4700_leds hx4700_navpt hx4700_pcmcia \ 45HX4700_MODULES = "i2c-pxa asic3_mmc hx4700_bt hx4700_leds hx4700_navpt hx4700_pcmcia \
47 hx4700_ts hx4700_wlan snd_hx4700_audio hx4700_power" 46 hx4700_ts hx4700_wlan snd_hx4700_audio hx4700_power"
48 47
diff --git a/meta/conf/machine/spitz.conf b/meta/conf/machine/spitz.conf
index f8b0572b42..6588702a84 100644
--- a/meta/conf/machine/spitz.conf
+++ b/meta/conf/machine/spitz.conf
@@ -6,10 +6,6 @@ include conf/machine/include/zaurus-clamshell.conf
6include conf/machine/include/zaurus-clamshell-2.6.conf 6include conf/machine/include/zaurus-clamshell-2.6.conf
7 7
8PIVOTBOOT_EXTRA_RDEPENDS += "pivotinit ${PCMCIA_MANAGER}" 8PIVOTBOOT_EXTRA_RDEPENDS += "pivotinit ${PCMCIA_MANAGER}"
9PIVOTBOOT_EXTRA_RRECOMMENDS += ""
10
11# Useful things for the built-in Harddisk
12BOOTSTRAP_EXTRA_RDEPENDS += "hdparm e2fsprogs e2fsprogs-e2fsck e2fsprogs-mke2fs"
13 9
14IMAGE_FSTYPES ?= "tar.gz" 10IMAGE_FSTYPES ?= "tar.gz"
15 11