gnu: axoloti-runtime: Patch firmware Makefile.

* gnu/packages/axoloti.scm (axoloti-runtime)[arguments]: Patch out whitespace
substitution.
This commit is contained in:
Ricardo Wurmus 2021-05-30 14:49:37 +02:00
parent 3c5a58cb0b
commit 17ace33aa6
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -125,6 +125,11 @@ (define-public axoloti-runtime
(("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"