From 17ace33aa61a10225e24691e1d0fd1b5b9c07804 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 30 May 2021 14:49:37 +0200 Subject: gnu: axoloti-runtime: Patch firmware Makefile. * gnu/packages/axoloti.scm (axoloti-runtime)[arguments]: Patch out whitespace substitution. --- gnu/packages/axoloti.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gnu/packages') 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" -- cgit 1.4.1