summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-12-19 12:00:04 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-12-19 12:00:04 +0000
commit2f039d93e367e94e7c1f4d729dcd93abf6a3b9d2 (patch)
tree83d259b47a992d7ed32919a637577fd7ae245e03
parenta54c23a08dead254b5f269e46f6dd2591ac369e5 (diff)
downloadpoky-2f039d93e367e94e7c1f4d729dcd93abf6a3b9d2.tar.gz
bitbake.conf: introduce CPU_FEATURES variable for listing features of target processor
This variable makes building for ARM targets easier. For example to build for ARMv6 cpu with VFP all you need is CPU_FEATURES = "vfp". Adding Thumb support is just adding "thumb" to the list. Tested on ARMv6 build with four combinations: "", "thumb", "vfp", "vfp thumb". All resulting images works in QEmu. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3355 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/conf/bitbake.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 20425d8050..a23682e31a 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -600,3 +600,4 @@ COMBINED_FEATURES = "\
600 ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "usbhost", d)} \ 600 ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "usbhost", d)} \
601 ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "wifi", d)}" 601 ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "wifi", d)}"
602 602
603CPU_FEATURES ?= ""