Module Name: src
Committed By: christos
Date: Fri Jan 18 17:31:39 UTC 2019
Modified Files:
src/external/gpl3/gcc.old: Makefile
src/external/gpl3/gcc.old/usr.bin: Makefile
Log Message:
Descend and build includes even if mkgcccmds=no because we need the header
files during cross build too.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc.old/Makefile
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc.old/usr.bin/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/gcc.old/Makefile
diff -u src/external/gpl3/gcc.old/Makefile:1.7 src/external/gpl3/gcc.old/Makefile:1.8
--- src/external/gpl3/gcc.old/Makefile:1.7 Sun Nov 11 17:49:37 2018
+++ src/external/gpl3/gcc.old/Makefile Fri Jan 18 12:31:39 2019
@@ -1,11 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2018/11/11 22:49:37 mrg Exp $
-
-SUBDIR+= lib
+# $NetBSD: Makefile,v 1.8 2019/01/18 17:31:39 christos Exp $
.include <bsd.own.mk>
-.if ${MKGCCCMDS} != "no"
-SUBDIR+= .WAIT usr.bin
-.endif
+SUBDIR+= lib .WAIT usr.bin
.include <bsd.subdir.mk>
Index: src/external/gpl3/gcc.old/usr.bin/Makefile
diff -u src/external/gpl3/gcc.old/usr.bin/Makefile:1.7 src/external/gpl3/gcc.old/usr.bin/Makefile:1.8
--- src/external/gpl3/gcc.old/usr.bin/Makefile:1.7 Sun Nov 11 17:50:06 2018
+++ src/external/gpl3/gcc.old/usr.bin/Makefile Fri Jan 18 12:31:39 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2018/11/11 22:50:06 mrg Exp $
+# $NetBSD: Makefile,v 1.8 2019/01/18 17:31:39 christos Exp $
NOOBJ=# defined
@@ -8,8 +8,9 @@ GCC_MACHINE_ARCH=${MACHINE_ARCH:S/earmv5
.if ${MKGCC} != "no" && exists(${.CURDIR}/gcc/arch/${GCC_MACHINE_ARCH}/defs.mk)
-# We keep libcpp here since it depends upon frontend.
+.if ${MKGCCCMDS} != "no" || make(includes)
+# We keep libcpp here since it depends upon frontend.
SUBDIR+= host-libiberty .WAIT \
host-libcpp .WAIT \
backend .WAIT \
@@ -20,6 +21,8 @@ SUBDIR+= host-libiberty .WAIT \
lto1 lto-wrapper \
include
+.endif
+
.include <bsd.subdir.mk>
.else