]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake.conf: introduce CPU_FEATURES variable for listing features of target processor
authorMarcin Juszkiewicz <hrw@openedhand.com>
Wed, 19 Dec 2007 12:00:04 +0000 (12:00 +0000)
committerMarcin Juszkiewicz <hrw@openedhand.com>
Wed, 19 Dec 2007 12:00:04 +0000 (12:00 +0000)
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

meta/conf/bitbake.conf

index 20425d80502880c94012b9df169acb13f1b67576..a23682e31a52d707b5bbe02372e913b6f117ae26 100644 (file)
@@ -600,3 +600,4 @@ COMBINED_FEATURES = "\
     ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "usbhost", d)} \
     ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "wifi", d)}"
 
+CPU_FEATURES ?= ""