svn commit: r285684 - in head/gnu: lib usr.bin

Marius Strobl marius at FreeBSD.org
Sun Jul 19 00:38:21 UTC 2015


Author: marius
Date: Sun Jul 19 00:38:19 2015
New Revision: 285684
URL: https://svnweb.freebsd.org/changeset/base/285684

Log:
  - Record dependencies of gdb/gdbtui/kgdb on binutils/lib{bfd,iberty,opcodes},
    fixing parallel builds.
  - Don't build gdb/gdbtui/kgdb or libreadline when MK_BINUTILS is "no" for
    obvious reasons.
  
  MFC after:	3 days

Modified:
  head/gnu/lib/Makefile
  head/gnu/usr.bin/Makefile

Modified: head/gnu/lib/Makefile
==============================================================================
--- head/gnu/lib/Makefile	Sat Jul 18 22:47:46 2015	(r285683)
+++ head/gnu/lib/Makefile	Sun Jul 19 00:38:19 2015	(r285684)
@@ -16,7 +16,7 @@ SUBDIR+= libssp
 SUBDIR+= tests
 .endif
 
-.if ${MK_GDB} != "no"
+.if ${MK_BINUTILS} != "no" && ${MK_GDB} != "no"
 SUBDIR+=	libreadline
 .endif
 

Modified: head/gnu/usr.bin/Makefile
==============================================================================
--- head/gnu/usr.bin/Makefile	Sat Jul 18 22:47:46 2015	(r285683)
+++ head/gnu/usr.bin/Makefile	Sun Jul 19 00:38:19 2015	(r285684)
@@ -16,6 +16,8 @@ SUBDIR= ${_binutils} \
 	sdiff \
 	${_tests}
 
+SUBDIR_DEPEND_gdb= ${_binutils}
+
 .if ${MK_CXX} != "no"
 .if ${MK_GCC} != "no"
 _gperf=		gperf
@@ -39,13 +41,14 @@ _tests=		tests
 
 .if ${MK_BINUTILS} != "no"
 _binutils=	binutils
+.if ${MK_GDB} != "no"
+_gdb=		gdb
+.endif
 .endif
+
 .if ${MK_GCC} != "no"
 _cc=		cc
 .endif
-.if ${MK_GDB} != "no"
-_gdb=		gdb
-.endif
 
 SUBDIR_PARALLEL=
 


More information about the svn-src-head mailing list