forked from Archive/PX4-Autopilot
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:
parent
50d0771dc0
commit
ba282bd30d
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue