2 Kernel checks available (warning or mandatory)
authorRomain Forlot <romain.forlot@iot.bzh>
Tue, 25 Jul 2017 10:40:02 +0000 (12:40 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Tue, 25 Jul 2017 10:40:02 +0000 (12:40 +0200)
commitec101c751a6359483a00c0c3923d502845f45126
tree087d9e98cc08280ec997226f99241ea3777ac487
parent5989f68a47567569a957b81ba64cbd8fef0bccc5
2 Kernel checks available (warning or mandatory)

Use 2 differents checks, one specify a mandatory kernel version
and the other will output a warning and position a preprocessing
variable that can be used in the code to exclude portions of code
that use kernel features not available under a certain version.

Change-Id: Ifc6848df1a1a448094f5312ea23e6d4837e8ef14
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
cmake/cmake.d/01-variables.cmake
cmake/cmake.d/04-build_options.cmake
cmake/config.cmake.sample