toolchain/kernel-headers: don't use TARGET_CFLAGS
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Sat, 12 Oct 2019 07:41:41 +0000 (08:41 +0100)
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Wed, 16 Oct 2019 15:10:38 +0000 (16:10 +0100)
commit14881b49d8d7e84f67074845d039f43df1a0d663
tree5a4c4bad5bec6a1e4b88f42adb18415d01a628fd
parentbc61458b73c04f900c358be8b7ed37c84298472a
toolchain/kernel-headers: don't use TARGET_CFLAGS

Kernel utilities (e.g. scripts/kconfig/conf) are being built to run on
the host system at this stage, therefore it makes no sense to use the
target system CC flags.  Use HOSTCFLAGS instead

While we're here rename KMAKE macro to HOST_KMAKE to make it even more
obvious that we're building for host.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
toolchain/kernel-headers/Makefile