Module Name: src
Committed By: blymn
Date: Sun Sep 27 12:58:59 UTC 2009
Modified Files:
src/external/gpl3/binutils/usr.bin/gas: Makefile
src/external/gpl3/binutils/usr.bin/gprof: Makefile
src/external/gpl3/binutils/usr.bin/ld: Makefile
Log Message:
Make the tool chain build with MKOBJDIRS set to yes - fix by skrll.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/binutils/usr.bin/gas/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/binutils/usr.bin/gprof/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/binutils/usr.bin/ld/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/binutils/usr.bin/gas/Makefile
diff -u src/external/gpl3/binutils/usr.bin/gas/Makefile:1.2 src/external/gpl3/binutils/usr.bin/gas/Makefile:1.3
--- src/external/gpl3/binutils/usr.bin/gas/Makefile:1.2 Sat Sep 26 13:58:31 2009
+++ src/external/gpl3/binutils/usr.bin/gas/Makefile Sun Sep 27 12:58:59 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2009/09/26 13:58:31 skrll Exp $
+# $NetBSD: Makefile,v 1.3 2009/09/27 12:58:59 blymn Exp $
.include <bsd.own.mk>
@@ -48,7 +48,8 @@
DPADD+= ${IBERTYOBJ}/libiberty.a
TEXINFO= as.texinfo
-INFOFLAGS= -I${DIST}/gas/doc -I${.OBJDIR}/../common -I${DIST}/libiberty
+COMMONOBJDIR!= cd ${TOP}/usr.bin/common && ${PRINTOBJDIR}
+INFOFLAGS= -I${DIST}/gas/doc -I${COMMONOBJDIR} -I${DIST}/libiberty
.PATH: ${DIST}/gas ${DIST}/gas/config ${DIST}/gas/doc
Index: src/external/gpl3/binutils/usr.bin/gprof/Makefile
diff -u src/external/gpl3/binutils/usr.bin/gprof/Makefile:1.2 src/external/gpl3/binutils/usr.bin/gprof/Makefile:1.3
--- src/external/gpl3/binutils/usr.bin/gprof/Makefile:1.2 Sat Sep 26 13:58:31 2009
+++ src/external/gpl3/binutils/usr.bin/gprof/Makefile Sun Sep 27 12:58:59 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2009/09/26 13:58:31 skrll Exp $
+# $NetBSD: Makefile,v 1.3 2009/09/27 12:58:59 blymn Exp $
.include <bsd.own.mk>
@@ -27,7 +27,8 @@
DPADD+= ${IBERTYOBJ}/libiberty.a
TEXINFO= ${G_TEXINFOS}
-INFOFLAGS= -I${.OBJDIR}/../common -I${DIST}/libiberty
+COMMONOBJDIR!= cd ${TOP}/usr.bin/common && ${PRINTOBJDIR}
+INFOFLAGS= -I${COMMONOBJDIR} -I${DIST}/libiberty
.PATH: ${DIST}/gprof
Index: src/external/gpl3/binutils/usr.bin/ld/Makefile
diff -u src/external/gpl3/binutils/usr.bin/ld/Makefile:1.2 src/external/gpl3/binutils/usr.bin/ld/Makefile:1.3
--- src/external/gpl3/binutils/usr.bin/ld/Makefile:1.2 Sat Sep 26 13:58:32 2009
+++ src/external/gpl3/binutils/usr.bin/ld/Makefile Sun Sep 27 12:58:59 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2009/09/26 13:58:32 skrll Exp $
+# $NetBSD: Makefile,v 1.3 2009/09/27 12:58:59 blymn Exp $
.include <bsd.own.mk>
@@ -39,7 +39,8 @@
DPADD+= ${IBERTYOBJ}/libiberty.a
TEXINFO= ${G_TEXINFOS}
-INFOFLAGS= -I${DIST}/ld -I${DIST}/bfd/doc -I${.OBJDIR}/../common -I${DIST}/libiberty
+COMMONOBJDIR!= cd ${TOP}/usr.bin/common && ${PRINTOBJDIR}
+INFOFLAGS= -I${DIST}/ld -I${DIST}/bfd/doc -I${COMMONOBJDIR} -I${DIST}/libiberty
FILESDIR= ${SCRIPTSDIR}/ldscripts