blob: 941fbc534006793c4260faad4925f71562f6bebf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR @@TARGET_ARCH@@)
set(CMAKE_C_COMPILER @@TARGET_CC@@)
set(CMAKE_CXX_COMPILER @@TARGET_CXX@@)
set(CMAKE_C_FLAGS "@@TARGET_CFLAGS@@" CACHE STRING "OpenADK CFLAGS" FORCE)
set(CMAKE_CXX_FLAGS "@@TARGET_CXXFLAGS@@" CACHE STRING "OpenADK CXXFLAGS" FORCE)
set(CMAKE_INSTALL_SO_NO_EXE 0)
set(CMAKE_PROGRAM_PATH "@@STAGING_HOST_DIR@@/usr/bin")
set(CMAKE_SYSROOT "@@STAGING_TARGET_DIR@@")
set(CMAKE_FIND_ROOT_PATH "@@STAGING_TARGET_DIR@@")
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(ENV{PKG_CONFIG_SYSROOT_DIR} "@@STAGING_TARGET_DIR@@")
set(ENV{PKG_CONFIG_LIBDIR} "@@STAGING_TARGET_DIR@@/usr/lib/pkgconfig:@@STAGING_TARGET_DIR@@/usr/share/pkgconfig")
|