mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: linux-libre: Adjust for PowerPC.
* gnu/packages/linux.scm (system->defconfig): New procedure. (linux-libre-headers)[arguments]: Use it in 'build' phase to determine the target name. * gnu/packages/cross-base.scm (cross-kernel-headers)[xlinux-headers] (arguments): Likewise.
This commit is contained in:
parent
fc649d0aad
commit
440a3143f0
2 changed files with 14 additions and 4 deletions
|
@ -315,7 +315,7 @@ GCC that does not target a libc; otherwise, target that libc."
|
|||
(setenv "ARCH" ,(system->linux-architecture target))
|
||||
(format #t "`ARCH' set to `~a' (cross compiling)~%" (getenv "ARCH"))
|
||||
|
||||
(and (zero? (system* "make" "defconfig"))
|
||||
(and (zero? (system* "make" ,(system->defconfig target)))
|
||||
(zero? (system* "make" "mrproper" "headers_check"))))
|
||||
,phases))))
|
||||
(native-inputs `(("cross-gcc" ,xgcc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue