config: Fix build failure missing header file sandbox/claneys/SPEC-3204
authorRomain Forlot <romain.forlot@iot.bzh>
Fri, 28 Feb 2020 15:54:07 +0000 (16:54 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Fri, 28 Feb 2020 15:54:07 +0000 (16:54 +0100)
commite35efd6accdc51c4c66a705f79f40f899e12b132
tree120bd188e8251e98d458f83848279b0d361b7c07
parent5a51218125877ba06d000b97a2ce57ec66206fd0
config: Fix build failure missing header file

This commit add a sysroot variable in front of the path to header file which
the presence is tested. Then we always point to the correct kernel headers
path depending on the build environment

Change-Id: Ifb59a897d36c74e6f84897d0bf3db3eb75609702
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
conf.d/cmake/config.cmake