diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-04-28 09:48:47 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2026-05-18 19:12:07 +0200 |
| commit | bb5405a1094df80c5320d113d193a91965d501d2 (patch) | |
| tree | 3182dae938e1dd94a3ea173799d5633fe77a3b07 | |
| parent | 56003208772929b5ca6c941674d6c39eaffa4ad7 (diff) | |
gnu: gcc-core-mesboot1: Improve kernel headers fetch.
This is a follow-up to 431298f758c89eb6950dde41766497f1bc45c085 and
can be merged with it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| -rw-r--r-- | gnu/packages/commencement.scm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index c6ffa8d20b2..8bedce40584 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm | |||
| @@ -1434,9 +1434,11 @@ ac_cv_c_float_format='IEEE (little-endian)' | |||
| 1434 | (gcc (dirname (dirname gcc-lib))) | 1434 | (gcc (dirname (dirname gcc-lib))) |
| 1435 | (libc.a (search-input-file inputs "/lib/libc.a")) | 1435 | (libc.a (search-input-file inputs "/lib/libc.a")) |
| 1436 | (glibc (dirname (dirname libc.a))) | 1436 | (glibc (dirname (dirname libc.a))) |
| 1437 | (ioctl.h (search-input-file %build-inputs | 1437 | (kernel-headers |
| 1438 | "/include/asm/ioctl.h")) | 1438 | (search-input-directory inputs #$(if (system-hurd?) |
| 1439 | (kernel-headers-include (dirname (dirname ioctl.h)))) | 1439 | "include/mach" |
| 1440 | "include/linux"))) | ||
| 1441 | (kernel-headers-include (dirname kernel-headers))) | ||
| 1440 | (setenv "CONFIG_SHELL" shell) | 1442 | (setenv "CONFIG_SHELL" shell) |
| 1441 | (setenv "C_INCLUDE_PATH" (string-append | 1443 | (setenv "C_INCLUDE_PATH" (string-append |
| 1442 | gcc "/lib/gcc-lib/i686-unknown-linux-gnu/2.95.3/include" | 1444 | gcc "/lib/gcc-lib/i686-unknown-linux-gnu/2.95.3/include" |
