aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/bootloaders.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 7a5a1d88ee..e6fc9b602d 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -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))