mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 13:09:23 -05:00
gnu: axoloti-runtime: Patch firmware Makefile.
* gnu/packages/axoloti.scm (axoloti-runtime)[arguments]: Patch out whitespace substitution.
This commit is contained in:
parent
3c5a58cb0b
commit
17ace33aa6
1 changed files with 5 additions and 0 deletions
|
@ -125,6 +125,11 @@ (define-public axoloti-runtime
|
||||||
(("arm-none-eabi-(gcc|g\\+\\+|objcopy|objdump)" tool)
|
(("arm-none-eabi-(gcc|g\\+\\+|objcopy|objdump)" tool)
|
||||||
(which 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
|
;; Hardcode full path to compiler tools
|
||||||
(substitute* '("firmware/Makefile"
|
(substitute* '("firmware/Makefile"
|
||||||
"firmware/flasher/Makefile"
|
"firmware/flasher/Makefile"
|
||||||
|
|
Loading…
Reference in a new issue