diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:38:32 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:50:20 +0100 |
commit | e2e6f6fe07049f33cb6348780fa975162752e421 (patch) | |
tree | b1813295411235d1297a0ed642b1346b24fdfb12 /meta/conf/machine/include/tune-cortexm3.inc | |
download | poky-e2e6f6fe07049f33cb6348780fa975162752e421.tar.gz |
initial commit of Enea Linux 3.1
Migrated from the internal git server on the dora-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/conf/machine/include/tune-cortexm3.inc')
-rw-r--r-- | meta/conf/machine/include/tune-cortexm3.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-cortexm3.inc b/meta/conf/machine/include/tune-cortexm3.inc new file mode 100644 index 0000000000..cbc4c0dd49 --- /dev/null +++ b/meta/conf/machine/include/tune-cortexm3.inc | |||
@@ -0,0 +1,14 @@ | |||
1 | DEFAULTTUNE ?= "cortexm3" | ||
2 | |||
3 | require conf/machine/include/arm/arch-armv7a.inc | ||
4 | |||
5 | TUNEVALID[cortexm3] = "Enable Cortex-M3 specific processor optimizations" | ||
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexm3", " -mtune=cortex-m3", "", d)}" | ||
7 | |||
8 | TUNEVALID[armv7m] = "Enable Cortex-M3 specific processor optimizations" | ||
9 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "armv7m", " -march=armv7-m", "", d)}" | ||
10 | |||
11 | AVAILTUNES += "cortexm3" | ||
12 | ARMPKGARCH_tune-cortexm3 = "armv7m" | ||
13 | TUNE_FEATURES_tune-cortexm3 = "armv7m vfp cortexm3" | ||
14 | PACKAGE_EXTRA_ARCHS_tune-cortexm3 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} armv7m-vfp" | ||