mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-05-31 07:50:52 +00:00
remove tune files and use oe-core ones
This removes hardfp support temporarely, will get added to oe-core at a later point Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
FEED_ARCH = "armv5te"
|
||||
PACKAGE_EXTRA_ARCHS += "armv4 armv4t armv5te"
|
||||
# For gcc 3.x you need:
|
||||
#TARGET_CC_ARCH = "-march=armv5te -mtune=arm926ejs"
|
||||
# For gcc 4.x you need:
|
||||
TARGET_CC_ARCH = "-march=armv5te -mtune=arm926ej-s"
|
||||
BASE_PACKAGE_ARCH = "armv5te"
|
||||
@@ -1,17 +0,0 @@
|
||||
# Instead of using -mfpu=vfp[2] we can use -mfpu=neon to make use of gcc intrinsics[1] and vectorize loops with -ftree-vectorize[3]
|
||||
# [1] http://gcc.gnu.org/onlinedocs/gcc/ARM-NEON-Intrinsics.html
|
||||
# [2] http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html
|
||||
# [3] https://support.codesourcery.com/GNUToolchain/kbentry29
|
||||
|
||||
# Can be 'softfp' or 'hardfp'
|
||||
ARM_FP_MODE ?= "softfp"
|
||||
|
||||
ARM_FP_OPT = "${@['-mfloat-abi=softfp', '-mfloat-abi=hard'][bb.data.getVar('ARM_FP_MODE', d, 1) == 'hardfp']}"
|
||||
ARM_FP_PACKAGESUFFIX = "${@['', '-hardfp'][bb.data.getVar('ARM_FP_MODE', d, 1) == 'hardfp']}"
|
||||
|
||||
TARGET_CC_ARCH = "-march=armv7-a -mtune=cortex-a8 -mfpu=neon ${ARM_FP_OPT}"
|
||||
|
||||
FEED_ARCH = "armv7a${ARM_FP_PACKAGESUFFIX}"
|
||||
BASE_PACKAGE_ARCH = "armv7a${ARM_FP_PACKAGESUFFIX}"
|
||||
|
||||
PACKAGE_EXTRA_ARCHS += "armv4 armv4t armv5te armv6 armv7 armv7a${ARM_FP_PACKAGESUFFIX}"
|
||||
Reference in New Issue
Block a user