[Openmcl-devel] Smal patch for the new Debian 12.1 version of RaspberryPI OS.

Bruce O'Neel bruce.oneel at pckswarms.ch
Sun Oct 22 05:55:16 PDT 2023


Hi,

There is a tiny patch needed for the ARM32 version of RapsberryPI OS
based on Debian 12.1.

-mfpu=vfp

needs to be added to the CC rule.

cheers

bruce

diff --git a/lisp-kernel/linuxarm/Makefile
b/lisp-kernel/linuxarm/Makefile

index f92ebd09..40b9aaf7 100644

--- a/lisp-kernel/linuxarm/Makefile

+++ b/lisp-kernel/linuxarm/Makefile

@@ -62,7 +62,7 @@ A32 = $(shell ($(AS) --help -v 2>&1 | grep -q -e
"-a32") && /bin/echo "-a32")

.s.o:

        $(M4) $(M4FLAGS) -I../ $< | $(AS) $(A32) $(ASFLAGS) -o
$@

.c.o:

-       $(CC) -include ../$(PLATFORM_H) -c $< $(CDEFINES)
$(CDEBUG) $(COPT) -marm -march=armv7-a $(FLOAT_ABI_OPTION)
$(WFORMAT)  -o $@

+       $(CC) -include ../$(PLATFORM_H) -c $< $(CDEFINES)
$(CDEBUG) $(COPT) -marm -march=armv7-a -mfpu=vfp $(FLOAT_ABI_OPTION)
$(WFORMAT)  -o $@

SPOBJ = pad.o  arm-spentry.o

ASMOBJ = arm-asmutils.o imports.o


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20231022/89b28210/attachment.htm>


More information about the Openmcl-devel mailing list