[Skiboot] [PATCH] Add support for aarch64

Reza Arbab arbab at linux.ibm.com
Wed Feb 26 03:52:28 AEDT 2025


Hi Eddie,

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?

(Sorry for the late reply)

-- 
Reza Arbab


More information about the Skiboot mailing list