summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Bach <pascal.bach@siemens.com>2016-08-19 14:55:13 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2016-08-31 18:21:59 +0200
commitc0e4ad71a461f50d06d6c141e965c1f892b850a0 (patch)
treede6cf7733176ae65cc6086bc6e84d5f518d28b9a
parentdcba10c69c123f36ba40812270eceedbefc4f498 (diff)
downloadmeta-openembedded-c0e4ad71a461f50d06d6c141e965c1f892b850a0.tar.gz
nodejs, arm: map TUNE_FEATURES to --with-arm-fpu parameters
The same code is used in the nodejs recipe from meta-nodejs Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs_4.4.7.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_4.4.7.bb b/meta-oe/recipes-devtools/nodejs/nodejs_4.4.7.bb
index 95a204855..88b0e87d3 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_4.4.7.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_4.4.7.bb
@@ -30,7 +30,11 @@ def map_nodejs_arch(a, d):
30 elif re.match('powerpc$', a): return 'ppc' 30 elif re.match('powerpc$', a): return 'ppc'
31 return a 31 return a
32 32
33ARCHFLAGS_arm = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--with-arm-float-abi=hard', '--with-arm-float-abi=softfp', d)}" 33ARCHFLAGS_arm = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--with-arm-float-abi=hard', '--with-arm-float-abi=softfp', d)} \
34 ${@bb.utils.contains('TUNE_FEATURES', 'neon', '--with-arm-fpu=neon', \
35 bb.utils.contains('TUNE_FEATURES', 'vfpv3d16', '--with-arm-fpu=vfpv3-d16', \
36 bb.utils.contains('TUNE_FEATURES', 'vfpv3', '--with-arm-fpu=vfpv3', \
37 '--with-arm-fpu=vfp', d), d), d)}"
34GYP_DEFINES_append_mipsel = " mips_arch_variant='r1' " 38GYP_DEFINES_append_mipsel = " mips_arch_variant='r1' "
35ARCHFLAGS ?= "" 39ARCHFLAGS ?= ""
36 40