mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 07:16:39 +01:00
gnu: make-u-boot-package: Fix indentation.
* gnu/packages/bootloaders.scm (make-u-boot-package): Fix indentation.
This commit is contained in:
parent
8d1d209ffe
commit
e99dc7353f
1 changed files with 7 additions and 7 deletions
|
@ -699,9 +699,9 @@ (define*-public (make-u-boot-package board triplet #:key defconfig configs)
|
||||||
"_" "-")))
|
"_" "-")))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(,@(if (not (same-arch?))
|
`(,@(if (not (same-arch?))
|
||||||
`(("cross-gcc" ,(cross-gcc triplet))
|
`(("cross-gcc" ,(cross-gcc triplet))
|
||||||
("cross-binutils" ,(cross-binutils triplet)))
|
("cross-binutils" ,(cross-binutils triplet)))
|
||||||
`())
|
`())
|
||||||
,@(package-native-inputs u-boot)))
|
,@(package-native-inputs u-boot)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:modules ((ice-9 ftw)
|
`(#:modules ((ice-9 ftw)
|
||||||
|
@ -715,8 +715,8 @@ (define*-public (make-u-boot-package board triplet #:key defconfig configs)
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list "HOSTCC=gcc"
|
(list "HOSTCC=gcc"
|
||||||
,@(if (not (same-arch?))
|
,@(if (not (same-arch?))
|
||||||
`((string-append "CROSS_COMPILE=" ,triplet "-"))
|
`((string-append "CROSS_COMPILE=" ,triplet "-"))
|
||||||
'()))
|
'()))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
|
@ -735,7 +735,7 @@ (define*-public (make-u-boot-package board triplet #:key defconfig configs)
|
||||||
(apply invoke "make" `(,@make-flags ,config-name))
|
(apply invoke "make" `(,@make-flags ,config-name))
|
||||||
(verify-config ".config" config-file))
|
(verify-config ".config" config-file))
|
||||||
(begin
|
(begin
|
||||||
(display "Invalid board name. Valid board names are:"
|
(display "invalid board name; valid board names are:"
|
||||||
(current-error-port))
|
(current-error-port))
|
||||||
(let ((suffix-len (string-length "_defconfig"))
|
(let ((suffix-len (string-length "_defconfig"))
|
||||||
(entries (scandir "configs")))
|
(entries (scandir "configs")))
|
||||||
|
@ -746,7 +746,7 @@ (define*-public (make-u-boot-package board triplet #:key defconfig configs)
|
||||||
(string-drop-right file-name
|
(string-drop-right file-name
|
||||||
suffix-len))))
|
suffix-len))))
|
||||||
(sort entries string-ci<)))
|
(sort entries string-ci<)))
|
||||||
(error "Invalid boardname ~s." ,board))))))
|
(error "invalid boardname ~s" ,board))))))
|
||||||
(add-after 'configure 'disable-tools-libcrypto
|
(add-after 'configure 'disable-tools-libcrypto
|
||||||
;; Disable libcrypto due to GPL and OpenSSL license
|
;; Disable libcrypto due to GPL and OpenSSL license
|
||||||
;; incompatibilities
|
;; incompatibilities
|
||||||
|
|
Loading…
Reference in a new issue