buildroot/linux
Lang Daniel 37be4bda85 linux: use -isystem instead of -I in HOSTCC
A package might install headers that are incompatible with the kernel's
header. One example is the most recent version of pahole (1.24).
HOST_CC includes -I$(HOST_DIR)/include which comes before any include
logic the kernel might have thus forcing the kernel to prefer headers in
HOST_DIR.

The logic to substituting -I with -isystem is taken from
boot/uboot/uboot.mk.

Signed-off-by: Daniel Lang <d.lang@abatec.at>
Reviewed-by: Francis Laniel <flaniel@linux.microsoft.com>
Tested-by: Francis Laniel <flaniel@linux.microsoft.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2023-03-10 21:44:10 +01:00
..
5.10.162-cip24-rt10 linux: fix CIP RT kernel on microblaze 2023-03-07 22:22:20 +01:00
0001-timeconst.pl-Eliminate-Perl-warning.patch.conditional linux: add conditional patch for timeconst.pl 2016-02-10 08:12:57 +01:00
Config.ext.in support/scripts/br2-external: add kernel extensions 2022-06-22 22:22:30 +02:00
Config.in {linux, linux-headers}: bump 4.{14, 19}.x / 5.{4, 10, 15}.x / 6.1.x series 2023-02-27 15:48:43 +01:00
linux-ext-aufs.mk linux/linux-ext-*.mk: fit file header into one line 2018-04-01 08:43:07 +02:00
linux-ext-ev3dev-linux-drivers.mk linux/linux-ext-*.mk: fit file header into one line 2018-04-01 08:43:07 +02:00
linux-ext-fbtft.mk linux/linux-ext-*.mk: fit file header into one line 2018-04-01 08:43:07 +02:00
linux-ext-rtai.mk linux/linux*.mk: fix code style 2018-04-01 08:43:42 +02:00
linux-ext-xenomai.mk linux/linux-ext-xenomai: add check-package exclusion comment 2019-06-08 22:59:32 +02:00
linux.hash {linux, linux-headers}: bump 4.{14, 19}.x / 5.{4, 10, 15}.x / 6.1.x series 2023-02-27 15:48:43 +01:00
linux.mk linux: use -isystem instead of -I in HOSTCC 2023-03-10 21:44:10 +01:00