When the kernel source path (BR2_LINUX_KERNEL_CUSTOM_OVERRIDE_PATH) is specified as an absolute path component libmcapi-HEAD/libmcapi-2.0 fails to build with the error:
./include/mcapi_dev_impl.h:4:17: fatal error: icc.h: No such file or directory
The generated makefile (buildroot/output/build/libmcapi-HEAD/libmcapi-2.0/Makefile) has setup the include directories such that the absolute path is appended to the buildroot path.
Manually correcting the error removing the buildroot path enables a successful build.
Is there a way to fix this that doesn't involve editing the Makefile on each clean build?