Require HEXAGON_ARM_SYSROOT for arm-linux-gnueabihf

The Toolchain-arm-linux-gnueabihf.cmake is currently used for
the SnapdragonFlight Apps processor.

The sysroot is required for cross building for Ubuntu 14.04 armhf.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois 2016-01-18 23:56:58 -08:00 committed by Julian Oes
parent 50d0771dc0
commit ba282bd30d
1 changed files with 0 additions and 4 deletions

View File

@ -75,11 +75,7 @@ foreach(tool echo patch grep rm mkdir nm genromfs cp touch make unzip)
endif()
endforeach()
<<<<<<< ce0aecb062077c0c99423a12eea9ccb36adbd065
set(C_FLAGS "--sysroot=${HEXAGON_ARM_SYSROOT}")
=======
set(C_FLAGS "--sysroot=${HEXAGON_SDK_ROOT}/sysroot")
>>>>>>> Rebase changes on upstream master
set(LINKER_FLAGS "-Wl,-gc-sections")
set(CMAKE_EXE_LINKER_FLAGS ${LINKER_FLAGS})
set(CMAKE_C_FLAGS ${C_FLAGS})