config: Fix build failure missing header file 38/24138/1
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 16:08:22 +0000 (17:08 +0100)
commit7c588f697c55b14fbbb0d6245d4f02f4a99412b3
tree8f0b7ff63db3c5a817204901eddf22b9d35ad7bb
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

Bug-AGL: SPEC-3204

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