system: make-u-boot-package: Replace underscores by dashes in package name.

* gnu/packages/bootloaders.scm (make-u-boot-package): Replace underscores by
dashes in package name.
This commit is contained in:
Danny Milosavljevic 2018-01-20 21:59:03 +01:00
parent fccdc8c839
commit df8a909660
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5
1 changed files with 3 additions and 1 deletions

View File

@ -365,7 +365,9 @@ also initializes the boards (RAM etc).")
`#f)))
(package
(inherit u-boot)
(name (string-append "u-boot-" (string-downcase board)))
(name (string-append "u-boot-"
(string-replace-substring (string-downcase board)
"_" "-")))
(native-inputs
`(,@(if (not same-arch?)
`(("cross-gcc" ,(cross-gcc triplet #:xgcc gcc-7))