|
|
|
@ -30,10 +30,11 @@ index 93b1ffd7ac6..f5023de7a9f 100644
|
|
|
|
|
-I/usr/include/efi/protocol
|
|
|
|
|
CCLDFLAGS ?= -nostdlib -Wl,--warn-common \
|
|
|
|
|
-Wl,--no-undefined -Wl,--fatal-warnings \
|
|
|
|
|
-Wl,-shared -Wl,-Bsymbolic -L$(LIBDIR) -L$(GNUEFIDIR) \
|
|
|
|
|
- -Wl,-shared -Wl,-Bsymbolic -L$(LIBDIR) -L$(GNUEFIDIR) \
|
|
|
|
|
+ -Wl,-shared -Wl,-Bsymbolic -L$(LIBDIR) -L$(GNUEFIDIR)/$(ARCH_SUFFIX) \
|
|
|
|
|
-Wl,--build-id=sha1 -Wl,--hash-style=sysv \
|
|
|
|
|
- $(GNUEFIDIR)/crt0-efi-$(ARCH).o
|
|
|
|
|
+ $(GNUEFIDIR)/crt0-efi-$(ARCH_SUFFIX).o
|
|
|
|
|
+ $(GNUEFIDIR)/$(ARCH_SUFFIX)/crt0.o
|
|
|
|
|
LD = ld
|
|
|
|
|
OBJCOPY = objcopy
|
|
|
|
|
OBJCOPY_GTE224 = $(shell expr `$(OBJCOPY) --version |grep ^"GNU objcopy" | sed 's/^.* //g' | cut -f1-2 -d.` \>= 2.24)
|
|
|
|
|