Make Kernel check not mandatory 71/10371/1
authorRomain Forlot <romain.forlot@iot.bzh>
Tue, 25 Jul 2017 16:42:06 +0000 (18:42 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Tue, 25 Jul 2017 16:42:06 +0000 (18:42 +0200)
commit5510670e3ec3f6930c34f023b335480a1efe9967
tree75b75a1dfa4aeaf5648d9f8e28400c5a70a72cac
parent63461c4f0d06c25e94eeaea7adb85b5d94bb6e41
Make Kernel check not mandatory

Use 2 different 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.

Bug-AGL: SPEC-772

Change-Id: I04523abe96749aeeb185e90eee154fd70a4cbf19
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
# Conflicts:
# conf.d/app-templates
conf.d/app-templates
conf.d/cmake/config.cmake
low-can-binding/utils/config-parser.cpp
low-can-binding/utils/socketcan-bcm.hpp