Make Kernel check not mandatory 57/10357/4
authorRomain Forlot <romain.forlot@iot.bzh>
Tue, 25 Jul 2017 13:10:06 +0000 (15:10 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Tue, 25 Jul 2017 13:10:06 +0000 (15:10 +0200)
commit6cf79a0f884d2922d82db137c2708f0460e2b43e
tree513c52845d9eab907e2dd2773b41385abf1c4c07
parent58b740b4e8c5fbd315eeca80955d76affa37c96f
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>
conf.d/app-templates
conf.d/cmake/config.cmake
low-can-binding/utils/config-parser.cpp
low-can-binding/utils/socketcan-bcm.hpp