Smal patch for the new Debian 12.1 version of RaspberryPI OS.

Bruce O'Neel <[email protected]> Sun, 22 Oct 2023 14:55:16 +0200
Newsgroups gmane.lisp.openmcl.devel
Message-ID <[email protected]>
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