summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrichard <richard@pkgsrc.org>2016-08-24 05:31:20 +0000
committerrichard <richard@pkgsrc.org>2016-08-24 05:31:20 +0000
commit5f32a06ffc0ac1f9ce1625052589f895195ee828 (patch)
treef8cf80d12ad36f7c31ef43669167f017e973a4e7 /mk
parent831299ed948a0160f6deec9bc06c1dec6a1b6898 (diff)
downloadpkgsrc-5f32a06ffc0ac1f9ce1625052589f895195ee828.tar.gz
Add experimental aarch64 support (amlogic s905 under ubuntu)
Diffstat (limited to 'mk')
-rw-r--r--mk/platform/Linux.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/platform/Linux.mk b/mk/platform/Linux.mk
index 9e1e23757ac..5762e340f29 100644
--- a/mk/platform/Linux.mk
+++ b/mk/platform/Linux.mk
@@ -1,4 +1,4 @@
-# $NetBSD: Linux.mk,v 1.66 2016/03/17 16:02:23 jperkin Exp $
+# $NetBSD: Linux.mk,v 1.67 2016/08/24 05:31:20 richard Exp $
#
# Variable definitions for the Linux operating system.
@@ -67,6 +67,10 @@ _OPSYS_SYSTEM_RPATH= /lib${LIBABISUFFIX}:/usr/lib${LIBABISUFFIX}:/lib/arm-linux-
_OPSYS_LIB_DIRS?= /lib${LIBABISUFFIX} /usr/lib${LIBABISUFFIX} /lib/arm-linux-gnueabi /usr/lib/arm-linux-gnueabi
.endif
.endif
+.if !empty(MACHINE_ARCH:Maarch64*)
+_OPSYS_SYSTEM_RPATH= /lib${LIBABISUFFIX}:/usr/lib${LIBABISUFFIX}:/lib/aarch64-linux-gnu:/usr/lib/aarch64-linux-gnu
+_OPSYS_LIB_DIRS?= /lib${LIBABISUFFIX} /usr/lib${LIBABISUFFIX} /lib/aarch64-linux-gnu /usr/lib/aarch64-linux-gnu
+.endif
.else
_OPSYS_SYSTEM_RPATH= /lib${LIBABISUFFIX}:/usr/lib${LIBABISUFFIX}
_OPSYS_LIB_DIRS?= /lib${LIBABISUFFIX} /usr/lib${LIBABISUFFIX}