summary refs log tree commit diff
path: root/gnu/packages/axoloti.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-05-30 14:49:37 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-05-30 14:51:04 +0200
commit17ace33aa61a10225e24691e1d0fd1b5b9c07804 (patch)
tree2777f0bfe41b790a1df9eebb82543d29349b9d3d /gnu/packages/axoloti.scm
parent3c5a58cb0b244249e6da307167eeb3acdb37878f (diff)
downloadguix-17ace33aa61a10225e24691e1d0fd1b5b9c07804.tar.gz
gnu: axoloti-runtime: Patch firmware Makefile.
* gnu/packages/axoloti.scm (axoloti-runtime)[arguments]: Patch out whitespace
substitution.
Diffstat (limited to 'gnu/packages/axoloti.scm')
-rw-r--r--gnu/packages/axoloti.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/axoloti.scm b/gnu/packages/axoloti.scm
index 0b12e4fe29..c6dd748773 100644
--- a/gnu/packages/axoloti.scm
+++ b/gnu/packages/axoloti.scm
@@ -125,6 +125,11 @@
                (("arm-none-eabi-(gcc|g\\+\\+|objcopy|objdump)" tool)
                 (which tool)))
 
+             ;; XXX: for some reason the whitespace substitution does not
+             ;; work, so we disable it.
+             (substitute* "firmware/Makefile.patch"
+               (("^BDIR=.*") "BDIR=${axoloti_home}/build\n"))
+
              ;; Hardcode full path to compiler tools
              (substitute* '("firmware/Makefile"
                             "firmware/flasher/Makefile"