mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
refactor: Several random fixes + Experimental playground (#917)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
SET(CMAKE_SYSTEM_NAME Linux)
|
||||
SET(CMAKE_SYSTEM_VERSION 1)
|
||||
SET(CMAKE_SYSTEM_NAME Linux)
|
||||
SET(CMAKE_SYSTEM_VERSION 1)
|
||||
|
||||
SET(CROSSROOT $ENV{HOME}/crosscompile)
|
||||
SET(DEVROOT ${CROSSROOT}/hummingboard)
|
||||
@@ -8,20 +8,20 @@ SET(CUBIXCROSS_DIR ${DEVROOT}/tools)
|
||||
|
||||
SET(TOOLROOT ${CUBIXCROSS_DIR}/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/ )
|
||||
|
||||
# specify the cross compiler
|
||||
# specify the cross compiler
|
||||
SET(CMAKE_C_COMPILER ${TOOLROOT}/bin/arm-linux-gnueabihf-gcc)
|
||||
SET(CMAKE_CXX_COMPILER ${TOOLROOT}/bin/arm-linux-gnueabihf-g++)
|
||||
SET(CUBIX_FLAGS "-march=armv7-a -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard")
|
||||
SET(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "armhf" )
|
||||
SET(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "armhf" )
|
||||
|
||||
SET(CMAKE_SYSROOT ${CUBIXROOT})
|
||||
SET(CMAKE_FIND_ROOT_PATH ${CUBIXROOT})
|
||||
|
||||
# search for programs in the build host directories
|
||||
# search for programs in the build host directories
|
||||
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||
|
||||
# for libraries and headers in the target directories
|
||||
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
||||
# for libraries and headers in the target directories
|
||||
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
||||
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
||||
#SET(CMAKE_FIND_ROOT_PATH_MODE_PACKAGES ONLY)
|
||||
|
||||
|
Reference in New Issue
Block a user