summaryrefslogtreecommitdiffstats
path: root/cmake/config.cmake.sample
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-07-27 17:33:11 +0200
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-07-27 17:33:11 +0200
commita78f50b38d8753667da416ea64d5c6b5f29c0a3e (patch)
tree947626c03a4b3e79a8af222a5d2c94af5b131a8b /cmake/config.cmake.sample
parent97348c43db647c0025919350383ce7d561761cb4 (diff)
parentdee58363ddb98f8e63239035f1a8f1ab151c5e96 (diff)
Diffstat (limited to 'cmake/config.cmake.sample')
-rw-r--r--cmake/config.cmake.sample14
1 files changed, 11 insertions, 3 deletions
diff --git a/cmake/config.cmake.sample b/cmake/config.cmake.sample
index fb878a2..23f1e80 100644
--- a/cmake/config.cmake.sample
+++ b/cmake/config.cmake.sample
@@ -47,10 +47,18 @@ set(PROJECT_APP_TEMPLATES_DIR "conf.d/app-templates")
# ----------------------------------
set(CMAKE_BUILD_TYPE "DEBUG")
-# Kernel selection if needed. Impose a minimal version.
-# NOTE FOR NOW IT CHECKS KERNEL Yocto SDK Kernel version
-# else only HOST VERSION
+# Kernel selection if needed. You can choose between a
+# mandatory version to impose a minimal version.
+# Or check Kernel minimal version and just print a Warning
+# about missing features and define a preprocessor variable
+# to be used as preprocessor condition in code to disable
+# incompatibles features. Preprocessor define is named
+# KERNEL_MINIMAL_VERSION_OK.
+#
+# NOTE*** FOR NOW IT CHECKS KERNEL Yocto environment and
+# Yocto SDK Kernel version.
# -----------------------------------------------
+#set (kernel_mandatory_version 4.8)
#set (kernel_minimal_version 4.8)
# Compiler selection if needed. Impose a minimal version.