From 679af6b53e7a3e017b2da7dd7eef46df73dffb84 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EA=B9=80=EC=9A=A9=EC=84=AD/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Engineer/=EC=82=BC=EC=84=B1=EC=A0=84?= =?utf8?q?=EC=9E=90?= Date: Thu, 9 Aug 2018 18:44:48 +0900 Subject: [PATCH] Fix setting in config_aarch64-linux.cmake (#2245) - aarch64-linux-gnu-g*5 -> aarch64-linux-gnu-g* - proper rootfs path Signed-off-by: Yongseop Kim --- cmake/config/config_aarch64-linux.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/config/config_aarch64-linux.cmake b/cmake/config/config_aarch64-linux.cmake index 8a4e3b3..4879c58 100644 --- a/cmake/config/config_aarch64-linux.cmake +++ b/cmake/config/config_aarch64-linux.cmake @@ -6,13 +6,13 @@ include(CMakeForceCompiler) set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_PROCESSOR aarch64) -set(CMAKE_C_COMPILER aarch64-linux-gnu-gcc-5) -set(CMAKE_CXX_COMPILER aarch64-linux-gnu-g++-5) +set(CMAKE_C_COMPILER aarch64-linux-gnu-gcc) +set(CMAKE_CXX_COMPILER aarch64-linux-gnu-g++) # where is the target environment set(ROOTFS_ARM64 $ENV{ROOTFS_ARM64}) if(NOT EXISTS "${ROOTFS_ARM64}/lib/aarch64-linux-gnu") - set(ROOTFS_ARM64 "${CMAKE_SOURCE_DIR}/tools/cross/rootfs/arm64") + set(ROOTFS_ARM64 "${CMAKE_CURRENT_LIST_DIR}/../../tools/cross/rootfs/arm64") endif() set(CMAKE_SYSROOT ${ROOTFS_ARM64}) -- 2.7.4