pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/arm-trusted-firmware-sun50i-h6 arm-trusted-fi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cde17fc03a21
branches:  trunk
changeset: 313412:cde17fc03a21
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Sep 29 16:26:53 2018 +0000

description:
arm-trusted-firmware-sun50i-h6: build fix

diffstat:

 sysutils/arm-trusted-firmware-sun50i-h6/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 9a86d3391c49 -r cde17fc03a21 sysutils/arm-trusted-firmware-sun50i-h6/Makefile
--- a/sysutils/arm-trusted-firmware-sun50i-h6/Makefile  Sat Sep 29 15:50:46 2018 +0000
+++ b/sysutils/arm-trusted-firmware-sun50i-h6/Makefile  Sat Sep 29 16:26:53 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/05/26 17:51:33 jmcneill Exp $
+# $NetBSD: Makefile,v 1.2 2018/09/29 16:26:53 tnn Exp $
 
 VERSION=       20180207
 GITHUB_PROJECT=        arm-trusted-firmware
@@ -25,6 +25,12 @@
 
 BUILD_DEPENDS+=        cross-aarch64-none-elf-gcc-[0-9]*:../../cross/aarch64-none-elf-gcc
 
+.include "../../mk/bsd.prefs.mk"
+# XXX kludge. pkgsrc passes down run path flags in LDFLAGS but the
+# cross ld(1) doesn't understand -R. If we pass down -L instead it
+# will be safely ignored.
+COMPILER_RPATH_FLAG=-L
+       
 do-install:
        ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/arm-trusted-firmware/sun50i-h6
        ${INSTALL_DATA} ${WRKSRC}/build/sun50i_h6/debug/bl31.bin \



Home | Main Index | Thread Index | Old Index