me
/
guix
Archived
1
0
Fork 0

gnu: make-crust-package: Use or1k-elf as target.

* gnu/packages/firmware.scm (make-crust-package): Use or1k-elf as the
target.

Change-Id: I6c8bf053527f1e12e35402f18cebf8e75557c788
master
Jean-Pierre De Jesus DIAZ 2024-01-19 14:54:46 +01:00 committed by Mathieu Othacehe
parent fa0b2cdab3
commit dde246ed41
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 7 additions and 13 deletions

View File

@ -1217,13 +1217,13 @@ such as:
(build-system gnu-build-system)
(arguments
(list
#:target "or1k-elf"
#:tests? #f ;no test suite
#:make-flags
#~(list "CROSS_COMPILE=or1k-elf-"
"V=1"
"HOSTAR=ar"
"HOSTCC=gcc"
"LEX=flex")
#:make-flags #~'("CROSS_COMPILE=or1k-elf-"
"V=1"
"HOSTAR=ar"
"HOSTCC=gcc"
"LEX=flex")
#:phases
#~(modify-phases %standard-phases
(delete 'configure)
@ -1237,13 +1237,7 @@ such as:
(install-file file (string-append #$output
"/libexec")))
(find-files "." "(scp\\.bin|\\.config)$")))))))
;; The firmware is cross-compiled using a "bare bones" compiler (no libc).
;; Use our own tool chain for that.
(native-inputs
(list bison
(cross-gcc "or1k-elf")
(cross-binutils "or1k-elf")
flex))
(native-inputs (list bison flex))
(home-page "https://github.com/crust-firmware/crust")
(synopsis "Firmware for Allwinner sunxi SoCs")
(description "Crust improves battery life and thermal performance by