From 9823f13652bd0601a012b462ecbed8a88f4f1d2c Mon Sep 17 00:00:00 2001 From: Geunsik Lim Date: Sat, 9 Apr 2016 11:35:23 +0900 Subject: Linux/ARM: Unifying the redundant usages of objcopy Let's remove the redundent file names using unified structure. Signed-off-by: Geunsik Lim --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 7124970f34..44a6d96b33 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -175,9 +175,9 @@ else() # Ensure that objcopy is present if(DEFINED ENV{CROSSCOMPILE}) if(CMAKE_SYSTEM_PROCESSOR STREQUAL armv7l) - find_program(OBJCOPY arm-linux-gnueabihf-objcopy) + find_program(OBJCOPY ${TOOLCHAIN}-objcopy) elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL aarch64) - find_program(OBJCOPY aarch64-linux-gnu-objcopy) + find_program(OBJCOPY ${TOOLCHAIN}-objcopy) else() clr_unknown_arch() endif() -- cgit v1.2.3