summary refs log tree commit diff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2020-10-29 14:44:01 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2020-10-29 14:46:16 +0100
commit53aa680e2b1cd2a15f2d85ab7828ae8b73ffcf91 (patch)
tree6c0ba3a01558223d34af2388b4c813940909b09e
parentc8ac02b20cf4680eee3b176d28066846715765bf (diff)
downloadguix-53aa680e2b1cd2a15f2d85ab7828ae8b73ffcf91.tar.gz
gnu: raspi-arm-chainloader: Fix build.
* gnu/packages/raspberry-pi.scm (raspi-arm-chainloader)[arguments]<#:phases>[build-tlsf]: Modify.
[build-common]: Modify.
-rw-r--r--gnu/packages/raspberry-pi.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/raspberry-pi.scm b/gnu/packages/raspberry-pi.scm
index 80d7da32fe..4840614dfe 100644
--- a/gnu/packages/raspberry-pi.scm
+++ b/gnu/packages/raspberry-pi.scm
@@ -121,15 +121,15 @@ used in the Raspberry Pi")
          (add-after 'setenv 'build-tlsf
            (lambda _
              (with-directory-excursion "tlsf"
-               ;; Note: Adding "-I../common".
+               ;; Note: Adding "-I../common -I../notc/include".
                (invoke "make"
-                       "CFLAGS=-mtune=arm1176jzf-s -march=armv6zk -mfpu=vfp -mfloat-abi=softfp -I../common"))))
+                       "CFLAGS=-mtune=arm1176jzf-s -march=armv6zk -mfpu=vfp -mfloat-abi=softfp -I../common -I../notc/include"))))
          (add-after 'build-tlsf 'build-common
            (lambda _
              (with-directory-excursion "common"
                (invoke "make"
-                       ;; Note: Adding "-I..".
-                       "ARMCFLAGS=-mtune=arm1176jzf-s -march=armv6zk -marm -I.."))))
+                       ;; Note: Adding "-I.. -I../notc/include".
+                       "ARMCFLAGS=-mtune=arm1176jzf-s -march=armv6zk -marm -I.. -I../notc/include"))))
          (add-after 'build-common 'build-notc
            (lambda _
              (with-directory-excursion "notc"