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
This commit is contained in:
Marcin Juszkiewicz 2007-12-19 12:00:04 +00:00
parent a54c23a08d
commit 2f039d93e3
1 changed files with 1 additions and 0 deletions

View 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 ?= ""