Isolate Kconfig host compiler options

This reverts commit 645f2dd5d97ffbaa80da7fbd776a08a76eb758e3.

Instead of adding a special case to nvramtool to avoid it
picking up Kconfig's regex.h, have the host compiler only
consider util/kconfig for includes (ie. -Iutil/kconfig)
for kconfig related object files.

Change-Id: Ie4f97ce38cb3e911f6e6c1e5b6f86f6998d93f69
Signed-off-by: Patrick Georgi <>
Tested-by: build bot (Jenkins)
Reviewed-by: Zheng Bao <>
Reviewed-by: Anton Kochkov <>
3 files changed