Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Update cmake file for armel
Browse files Browse the repository at this point in the history
Enable build using Tizen rootfs

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
  • Loading branch information
hqueue committed Jan 5, 2017
1 parent b92ae42 commit d593e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cross/armel/toolchain.cmake
Expand Up @@ -22,7 +22,7 @@ add_compile_options(--sysroot=${CROSS_ROOTFS})
set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} -target ${TOOLCHAIN}")
set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} --sysroot=${CROSS_ROOTFS}")

if("$ENV{__DistroRid}" STREQUAL "tizen.3.0.0-armel")
if("$ENV{__DistroRid}" MATCHES "tizen.*")
add_compile_options(-I$ENV{ROOTFS_DIR}/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include/c++/)
add_compile_options(-I$ENV{ROOTFS_DIR}/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include/c++/armv7l-tizen-linux-gnueabi)
add_compile_options(-Wno-deprecated-declarations) # compile-time option
Expand Down

0 comments on commit d593e48

Please sign in to comment.