[Skiboot] [PATCH] Add support for aarch64
Reza Arbab
arbab at linux.ibm.com
Sat Mar 8 03:22:24 AEDT 2025
On Tue, Feb 25, 2025 at 10:52:28AM -0600, Reza Arbab wrote:
>On Wed, Dec 11, 2024 at 10:13:25AM -0600, Eddie James wrote:
>>--- a/external/shared/Makefile
>>+++ b/external/shared/Makefile
>>@@ -9,8 +9,10 @@ LIBDIR := $(PREFIX)/lib
>>INCDIR := $(PREFIX)/include/libflash
>>
>>ifneq ($(ARCH), ARCH_ARM)
>>+ifneq ($(ARCH), ARCH_AARCH64)
>>CFLAGS += -m64
>>endif
>>+endif
>>CFLAGS += -Werror -Wall -g2 -ggdb -I. -fPIC
>>
>>LIBFLASH_OBJS := libflash-file.o libflash-libflash.o libflash-libffs.o \
>
>I don't understand. The current code is to avoid using -m64 on 32-bit
>arm hosts. Why wouldn't we use that flag on 64-bit arm hosts?
Ah, never mind. I see now that -m64 is an unrecognized option altogether
for both arm and aarch64.
Patch applied to master.
--
Reza Arbab
More information about the Skiboot
mailing list