summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInki Dae <inki.dae@samsung.com>2019-03-06 10:15:31 +0900
committerInki Dae <inki.dae@samsung.com>2019-03-06 10:15:31 +0900
commitc1d61ecfb1cc9a25fda35ca27c494cb8e2fb27ea (patch)
tree3d171cfdedd6ccc0c16f29d18164c2e7ca00d528
parentd32c947ca3b950a90a0ec3f63ae7c5345239959c (diff)
downloadarmcl-sandbox/inki.dae/19.02.tar.gz
armcl-sandbox/inki.dae/19.02.tar.bz2
armcl-sandbox/inki.dae/19.02.zip
Fix toolchain name for Tizen buildsandbox/inki.dae/19.02
Change-Id: Ibb7e94ea3db6aa5745c692e0f10aa629ea62379a Signed-off-by: Inki Dae <inki.dae@samsung.com>
-rw-r--r--SConstruct12
1 files changed, 6 insertions, 6 deletions
diff --git a/SConstruct b/SConstruct
index 7d396fabc..2a550e6c0 100644
--- a/SConstruct
+++ b/SConstruct
@@ -164,8 +164,8 @@ if env['arch'] == 'armv7a':
env.Append(CXXFLAGS = ['-march=armv7-a', '-mthumb', '-mfpu=neon'])
if env['os'] == 'linux':
- prefix = "arm-linux-gnueabihf-"
- env.Append(CXXFLAGS = ['-mfloat-abi=hard'])
+ prefix = "armv7l-tizen-linux-gnueabi-"
+ env.Append(CXXFLAGS = ['-mfloat-abi=softfp'])
elif env['os'] == 'bare_metal':
prefix = "arm-eabi-"
env.Append(CXXFLAGS = ['-mfloat-abi=hard'])
@@ -176,7 +176,7 @@ elif env['arch'] == 'arm64-v8a':
env.Append(CXXFLAGS = ['-march=armv8-a'])
env.Append(CPPDEFINES = ['ARM_COMPUTE_AARCH64_V8A','NO_DOT_IN_TOOLCHAIN'])
if env['os'] == 'linux':
- prefix = "aarch64-linux-gnu-"
+ prefix = "aarch64-tizen-linux-gnu-"
elif env['os'] == 'bare_metal':
prefix = "aarch64-elf-"
elif env['os'] == 'android':
@@ -192,7 +192,7 @@ elif 'arm64-v8.2-a' in env['arch']:
else:
env.Append(CXXFLAGS = ['-march=armv8.2-a+fp16']) # explicitly enable fp16 extension otherwise __ARM_FEATURE_FP16_VECTOR_ARITHMETIC is undefined
if env['os'] == 'linux':
- prefix = "aarch64-linux-gnu-"
+ prefix = "aarch64-tizen-linux-gnu-"
elif env['os'] == 'bare_metal':
prefix = "aarch64-elf-"
elif env['os'] == 'android':
@@ -217,8 +217,8 @@ env['CC'] = env['compiler_cache']+" "+prefix + c_compiler
env['CXX'] = env['compiler_cache']+" "+prefix + cpp_compiler
env['LD'] = prefix + "ld"
env['AS'] = prefix + "as"
-env['AR'] = prefix + "ar"
-env['RANLIB'] = prefix + "ranlib"
+env['AR'] = prefix + "gcc-ar"
+env['RANLIB'] = prefix + "gcc-ranlib"
if not GetOption("help"):
try: