config: Fix build failure missing header file 85/24285/1 9.0.1 9.0.2 9.0.3 icefish/9.0.1 icefish/9.0.2 icefish/9.0.3 icefish_9.0.1 icefish_9.0.2 icefish_9.0.3
authorRomain Forlot <romain.forlot@iot.bzh>
Fri, 28 Feb 2020 15:54:07 +0000 (16:54 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Mon, 30 Mar 2020 15:05:18 +0000 (17:05 +0200)
commit70ccdf894636746755a0ba91e5970be876283d59
tree7f7b4d147e95f94c3d97f4ea0555fb0d66a68bb6
parent7b1a05f1f107dda9317fbbf002ff8b30688ba9c5
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