mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05: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
|
||||
`(,@(if (not (same-arch?))
|
||||
`(("cross-gcc" ,(cross-gcc triplet))
|
||||
("cross-binutils" ,(cross-binutils triplet)))
|
||||
`())
|
||||
`(("cross-gcc" ,(cross-gcc triplet))
|
||||
("cross-binutils" ,(cross-binutils triplet)))
|
||||
`())
|
||||
,@(package-native-inputs u-boot)))
|
||||
(arguments
|
||||
`(#:modules ((ice-9 ftw)
|
||||
|
@ -715,8 +715,8 @@ (define*-public (make-u-boot-package board triplet #:key defconfig configs)
|
|||
#:make-flags
|
||||
(list "HOSTCC=gcc"
|
||||
,@(if (not (same-arch?))
|
||||
`((string-append "CROSS_COMPILE=" ,triplet "-"))
|
||||
'()))
|
||||
`((string-append "CROSS_COMPILE=" ,triplet "-"))
|
||||
'()))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'configure
|
||||
|
@ -735,7 +735,7 @@ (define*-public (make-u-boot-package board triplet #:key defconfig configs)
|
|||
(apply invoke "make" `(,@make-flags ,config-name))
|
||||
(verify-config ".config" config-file))
|
||||
(begin
|
||||
(display "Invalid board name. Valid board names are:"
|
||||
(display "invalid board name; valid board names are:"
|
||||
(current-error-port))
|
||||
(let ((suffix-len (string-length "_defconfig"))
|
||||
(entries (scandir "configs")))
|
||||
|
@ -746,7 +746,7 @@ (define*-public (make-u-boot-package board triplet #:key defconfig configs)
|
|||
(string-drop-right file-name
|
||||
suffix-len))))
|
||||
(sort entries string-ci<)))
|
||||
(error "Invalid boardname ~s." ,board))))))
|
||||
(error "invalid boardname ~s" ,board))))))
|
||||
(add-after 'configure 'disable-tools-libcrypto
|
||||
;; Disable libcrypto due to GPL and OpenSSL license
|
||||
;; incompatibilities
|
||||
|
|
Loading…
Reference in a new issue