summaryrefslogtreecommitdiff
path: root/meta/conf
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-06-29 07:44:00 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-06-29 07:44:00 +0000
commit5b14520d3f8ee8a1cff3418777b5c97dc2fa8227 (patch)
treef0d2674d9e1b9fc7e171084e844be77df2e78f1c /meta/conf
parent025ff894a018e6cebbf8666eaec02de6866311de (diff)
downloadopenembedded-core-5b14520d3f8ee8a1cff3418777b5c97dc2fa8227.tar.gz
openembedded-core-5b14520d3f8ee8a1cff3418777b5c97dc2fa8227.tar.bz2
openembedded-core-5b14520d3f8ee8a1cff3418777b5c97dc2fa8227.zip
bitbake.conf: task-base stuff
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2056 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/bitbake.conf35
1 files changed, 33 insertions, 2 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index f75e7c59de..0389c578b0 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -397,8 +397,8 @@ SLOT = "0"
# Other
-export PKG_CONFIG_DIR = "${STAGING_DATADIR}/pkgconfig"
-export PKG_CONFIG_PATH = "${PKG_CONFIG_DIR}"
+export PKG_CONFIG_DIR = "${STAGING_LIBDIR}/pkgconfig"
+export PKG_CONFIG_PATH = "${PKG_CONFIG_DIR}:${STAGING_DATADIR}/pkgconfig"
export PKG_CONFIG_DISABLE_UNINSTALLED = "yes"
export QMAKE_MKSPEC_PATH = "${STAGING_DIR}/${BUILD_SYS}/share/qmake"
@@ -453,3 +453,34 @@ IMAGE_ROOTFS_SIZE_ext3.gz ?= "65536"
# Magic Cookie for SANITY CHECK
##################################################################
OES_BITBAKE_CONF = "1"
+
+##################################################################
+# Task-base stuff
+##################################################################
+
+MACHINE_FEATURES ?= "kernel26"
+DISTRO_FEATURES ?= ""
+
+# This is used to limit what packages goes into images built, so set big by default
+ROOT_FLASH_SIZE ?= "256"
+
+GUI_MACHINE_CLASS ?= "smallscreen"
+
+DISTRO_EXTRA_RDEPENDS ?= ""
+DISTRO_EXTRA_RRECOMMENDS ?= ""
+MACHINE_EXTRA_RDEPENDS ?= ""
+MACHINE_EXTRA_RRECOMMENDS ?= ""
+MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""
+
+COMBINED_FEATURES = "\
+ ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "alsa", d)} \
+ ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "bluetooth", d)} \
+ ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "ext2", d)} \
+ ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "irda", d)} \
+ ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "pcmcia", d)} \
+ ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "pci", d)} \
+ ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "usbgadget", d)} \
+ ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "usbhost", d)} \
+ ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "wifi", d)}"
+