mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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
This commit is contained in:
parent
fa0b2cdab3
commit
dde246ed41
1 changed files with 7 additions and 13 deletions
|
@ -1217,13 +1217,13 @@ (define make-crust-package
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
#:target "or1k-elf"
|
||||||
#:tests? #f ;no test suite
|
#:tests? #f ;no test suite
|
||||||
#:make-flags
|
#:make-flags #~'("CROSS_COMPILE=or1k-elf-"
|
||||||
#~(list "CROSS_COMPILE=or1k-elf-"
|
"V=1"
|
||||||
"V=1"
|
"HOSTAR=ar"
|
||||||
"HOSTAR=ar"
|
"HOSTCC=gcc"
|
||||||
"HOSTCC=gcc"
|
"LEX=flex")
|
||||||
"LEX=flex")
|
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
|
@ -1237,13 +1237,7 @@ (define make-crust-package
|
||||||
(install-file file (string-append #$output
|
(install-file file (string-append #$output
|
||||||
"/libexec")))
|
"/libexec")))
|
||||||
(find-files "." "(scp\\.bin|\\.config)$")))))))
|
(find-files "." "(scp\\.bin|\\.config)$")))))))
|
||||||
;; The firmware is cross-compiled using a "bare bones" compiler (no libc).
|
(native-inputs (list bison flex))
|
||||||
;; Use our own tool chain for that.
|
|
||||||
(native-inputs
|
|
||||||
(list bison
|
|
||||||
(cross-gcc "or1k-elf")
|
|
||||||
(cross-binutils "or1k-elf")
|
|
||||||
flex))
|
|
||||||
(home-page "https://github.com/crust-firmware/crust")
|
(home-page "https://github.com/crust-firmware/crust")
|
||||||
(synopsis "Firmware for Allwinner sunxi SoCs")
|
(synopsis "Firmware for Allwinner sunxi SoCs")
|
||||||
(description "Crust improves battery life and thermal performance by
|
(description "Crust improves battery life and thermal performance by
|
||||||
|
|
Loading…
Reference in a new issue