summaryrefslogtreecommitdiffstats
path: root/gnu-efi-3.0/Make.defaults
diff options
context:
space:
mode:
Diffstat (limited to 'gnu-efi-3.0/Make.defaults')
-rw-r--r--gnu-efi-3.0/Make.defaults9
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