gnu: raspi-arm-chainloader: Fix build.

* gnu/packages/raspberry-pi.scm (raspi-arm-chainloader)[arguments]<#:phases>[build-tlsf]: Modify.
[build-common]: Modify.
This commit is contained in:
Danny Milosavljevic 2020-10-29 14:44:01 +01:00
parent c8ac02b20c
commit 53aa680e2b
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5

View File

@ -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"