kumquat-buildroot/support/misc
Arnout Vandecappelle (Essensium/Mind) 36568732e4 package/pkg-cmake: add CMAKE_SYSTEM_VERSION to toolchainfile.cmake
Quoting the CMake documentation:

  When the CMAKE_SYSTEM_NAME variable is set explicitly to enable cross
  compiling then the value of CMAKE_SYSTEM_VERSION must also be set
  explicitly to specify the target system version.

Thus, we should also set CMAKE_SYSTEM_VERSION in toolchainfile.cmake. It
is supposed to be set to the value of `uname -r` on the target. We don't
have that exact value available (unless we build the kernel), but the
value of BR2_TOOLCHAIN_HEADERS_AT_LEAST contains the (minimum) version
of the kernel it will run on, so it should be OK for all practical
purposes.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-01-12 16:06:51 +01:00
..
Buildroot.cmake support/cmake: impersonate a Linux system even more 2017-03-02 22:09:34 +01:00
relocate-sdk.sh support/scripts: relocate-sdk.sh now uses a normal pipe to find strings 2017-07-20 22:29:12 +02:00
target-dir-warning.txt support/misc/target-dir-warning.txt: fix typo 2017-06-14 21:14:59 +02:00
toolchainfile.cmake.in package/pkg-cmake: add CMAKE_SYSTEM_VERSION to toolchainfile.cmake 2019-01-12 16:06:51 +01:00
utils.mk core: allow a br2-external tree to override a defconfig 2016-10-16 13:01:02 +02:00
Vagrantfile Update for 2018.11 2018-12-01 23:06:49 +01:00