Files
poky/meta/recipes-devtools
Gregor Herburger 6c9726de09 gcc: fix local include path for nativesdk-gcc
By default GCC uses /usr/local/include as the local include prefix.
When building the nativesdk-gcc package, this makes gcc look in the
hosts /usr/local/include and may use non-SDK headers.

Example from current poky:
$# x86_64-pokysdk-linux-gcc -v -E - </dev/null
 #include <...> search starts here:
  /opt/poky/5.2.99+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/gcc/x86_64-pokysdk-linux/15.2.0/include
  /usr/local/include
  /opt/poky/5.2.99+snapshot/sysroots/x86_64-pokysdk-linux/usr/include
  /opt/poky/5.2.99+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/gcc/x86_64-pokysdk-linux/15.2.0/include-fixed

Define LOCAL_INCLUDE_DIR along with the other include directories in
defaults.h to set the local include directory to the directory in the
sysroot.

(From OE-Core rev: dadd1e0ec6ad4cf572964c18fa304be9f382f885)

Signed-off-by: Gregor Herburger <gregor.herburger@ew.tq-group.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
..
2025-09-08 18:02:39 +01:00
2025-09-11 09:41:10 +01:00
2025-05-13 10:29:20 +01:00
2025-09-11 11:31:56 +01:00
2025-08-14 10:31:10 +01:00
2025-07-17 10:41:18 +01:00
2024-09-03 10:21:38 +01:00
2025-05-13 10:29:20 +01:00
2024-05-28 09:38:23 +01:00
2025-06-26 11:02:34 +01:00
2025-07-17 10:41:18 +01:00
2024-04-16 08:07:01 +01:00
2025-08-07 12:11:15 +01:00
2025-05-01 14:33:26 +01:00
2025-09-08 14:05:11 +01:00
2025-07-28 14:51:50 +01:00
2025-08-18 21:14:07 +01:00
2024-10-29 11:19:57 +00:00
2023-09-26 10:35:27 +01:00
2025-08-14 10:31:10 +01:00
2025-08-25 17:47:20 +01:00
2025-09-11 11:31:56 +01:00
2025-07-31 10:48:35 +01:00
2025-07-01 08:49:37 +01:00
2024-06-04 12:04:52 +01:00
2025-07-17 10:41:18 +01:00
2025-06-20 12:07:27 +01:00
2025-07-24 10:29:53 +01:00
2025-07-07 22:12:50 +01:00
2025-06-05 11:02:22 +01:00
2025-09-08 14:05:10 +01:00
2025-01-20 13:38:59 +00:00
2025-09-11 11:31:56 +01:00
2025-08-28 10:47:08 +01:00
2025-09-08 14:05:10 +01:00
2025-05-13 10:29:21 +01:00
2025-09-08 18:02:40 +01:00
2025-09-08 18:02:40 +01:00
2025-03-27 11:19:04 +00:00
2025-03-17 17:09:22 +00:00