diff options
author | jiseob.jang <jiseob.jang@samsung.com> | 2017-09-07 13:16:07 +0900 |
---|---|---|
committer | CHUNSEOK LEE <chunseok.lee@samsung.com> | 2017-09-08 11:46:55 +0900 |
commit | a27dfe2057fe9d294b784f5f5be279ed6c5d6c22 (patch) | |
tree | 47415bfdd11796c44b4447ad8a5c8ac8c171ea69 /packaging/tizen-toolchain-support.patch | |
parent | cb9516da9df966079e5a34490139eec68c38dafa (diff) | |
download | coreclr-a27dfe2057fe9d294b784f5f5be279ed6c5d6c22.tar.gz coreclr-a27dfe2057fe9d294b784f5f5be279ed6c5d6c22.tar.bz2 coreclr-a27dfe2057fe9d294b784f5f5be279ed6c5d6c22.zip |
CoreCLR version update to 2.0.0.12082submit/tizen_4.0/20170908.071156submit/tizen/20170908.060726submit/tizen/20170908.052937submit/tizen/20170908.025808accepted/tizen/unified/20170911.060309accepted/tizen/4.0/unified/20170913.003305
Change-Id: I72c9f2b7258c576be457df609e33af55e0beab88
Diffstat (limited to 'packaging/tizen-toolchain-support.patch')
-rw-r--r-- | packaging/tizen-toolchain-support.patch | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/packaging/tizen-toolchain-support.patch b/packaging/tizen-toolchain-support.patch new file mode 100644 index 0000000000..531bf781c6 --- /dev/null +++ b/packaging/tizen-toolchain-support.patch @@ -0,0 +1,49 @@ +From 8f291c286db9813e6c797030707b41872b9616a6 Mon Sep 17 00:00:00 2001 +From: Jiyoung Yun <jy910.yun@samsung.com> +Date: Fri, 14 Jul 2017 11:58:39 +0900 +Subject: [PATCH] tizen toolchain support + +Change-Id: Idb48d26dc1dfff8a6dc758b90bc94cb48963f8a2 +--- + compileoptions.cmake | 2 +- + cross/armel/toolchain.cmake | 9 +-------- + 2 files changed, 2 insertions(+), 9 deletions(-) + +diff --git a/compileoptions.cmake b/compileoptions.cmake +index 75d51fd..4649ea3 100644 +--- a/compileoptions.cmake ++++ b/compileoptions.cmake +@@ -59,7 +59,7 @@ if(CLR_CMAKE_PLATFORM_UNIX_ARM) + if(ARM_SOFTFP) + add_definitions(-DARM_SOFTFP) + add_compile_options(-mfloat-abi=softfp) +- add_compile_options(-target armv7-linux-gnueabi) ++ add_compile_options(-target armv7l-tizen-linux-gnueabi) + else() + add_compile_options(-target armv7-linux-gnueabihf) + endif(ARM_SOFTFP) +diff --git a/cross/armel/toolchain.cmake b/cross/armel/toolchain.cmake +index 86e2306..84f41f1 100644 +--- a/cross/armel/toolchain.cmake ++++ b/cross/armel/toolchain.cmake +@@ -16,16 +16,9 @@ set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} -target ${TOOLCHAIN}") + set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} --sysroot=${CROSS_ROOTFS}") + + if("$ENV{__DistroRid}" MATCHES "tizen.*") +- set(TIZEN_TOOLCHAIN "armv7l-tizen-linux-gnueabi/6.2.1") +- include_directories(SYSTEM ${CROSS_ROOTFS}/usr/lib/gcc/${TIZEN_TOOLCHAIN}/include/c++/) +- include_directories(SYSTEM ${CROSS_ROOTFS}/usr/lib/gcc/${TIZEN_TOOLCHAIN}/include/c++/armv7l-tizen-linux-gnueabi) ++ add_compile_options(-target armv7l-tizen-linux-gnueabi) + add_compile_options(-Wno-deprecated-declarations) # compile-time option + add_compile_options(-D__extern_always_inline=inline) # compile-time option +- +- set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} -B${CROSS_ROOTFS}/usr/lib/gcc/${TIZEN_TOOLCHAIN}") +- set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} -L${CROSS_ROOTFS}/lib") +- set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} -L${CROSS_ROOTFS}/usr/lib") +- set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} -L${CROSS_ROOTFS}/usr/lib/gcc/${TIZEN_TOOLCHAIN}") + else() + # TODO: this setting assumes debian armel rootfs + include_directories(SYSTEM ${CROSS_ROOTFS}/usr/include/c++/4.9) +-- +1.9.1 + |