diff options
author | Bart Kuivenhoven <bemk@redhat.com> | 2014-03-10 12:42:25 +0100 |
---|---|---|
committer | Bart Kuivenhoven <bemk@redhat.com> | 2014-03-12 13:17:24 +0100 |
commit | 54bfa07f00b25cd474be5ece09c85a211b1fdc2f (patch) | |
tree | fa37a6a80cebd00034809f12d7849663bc1341fc /gnu-efi-3.0/Make.defaults | |
parent | caf95212ec0add94925fef02d8daa0b90a3baee3 (diff) | |
download | gnu-efi-3.0-54bfa07f00b25cd474be5ece09c85a211b1fdc2f.tar.gz gnu-efi-3.0-54bfa07f00b25cd474be5ece09c85a211b1fdc2f.tar.xz gnu-efi-3.0-54bfa07f00b25cd474be5ece09c85a211b1fdc2f.zip |
Make: Compile for aarch64 ... sortabemk
This commit fixes the build process for the current limitations of
objcopy. Objcopy still has the problem of not fully understanding
relocations so while this compiles, it will not be loadable by uefi.
Signed-off-by: Bart Kuivenhoven <bemk@redhat.com>
Diffstat (limited to 'gnu-efi-3.0/Make.defaults')
-rw-r--r-- | gnu-efi-3.0/Make.defaults | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu-efi-3.0/Make.defaults b/gnu-efi-3.0/Make.defaults index cd5db7e..7b9eda4 100644 --- a/gnu-efi-3.0/Make.defaults +++ b/gnu-efi-3.0/Make.defaults @@ -46,8 +46,13 @@ TOPDIR := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi) # lib and include under the root # INSTALLROOT := / -PREFIX := /usr/local -LIBDIR := $(PREFIX)/lib +ifeq ($(ARCH),aarch64) + PREFIX := /usr + LIBDIR := $(PREFIX)/lib64 +else + PREFIX := /usr/local + LIBDIR := $(PREFIX)/lib +endif INSTALL := install # Host/target identification |