mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
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:
@@ -600,3 +600,4 @@ COMBINED_FEATURES = "\
|
|||||||
${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "usbhost", d)} \
|
${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "usbhost", d)} \
|
||||||
${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "wifi", d)}"
|
${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "wifi", d)}"
|
||||||
|
|
||||||
|
CPU_FEATURES ?= ""
|
||||||
|
|||||||
Reference in New Issue
Block a user