Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jul 2015 00:38:20 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r285684 - in head/gnu: lib usr.bin
Message-ID:  <201507190038.t6J0cKi3062363@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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=
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507190038.t6J0cKi3062363>