- 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
This commit is contained in:
Marius Strobl 2015-07-19 00:38:19 +00:00
parent 02bee582d0
commit cab0e8ff75
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=285684
2 changed files with 8 additions and 5 deletions

View File

@ -16,7 +16,7 @@ SUBDIR+= libssp
SUBDIR+= tests
.endif
.if ${MK_GDB} != "no"
.if ${MK_BINUTILS} != "no" && ${MK_GDB} != "no"
SUBDIR+= libreadline
.endif

View File

@ -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
.endif
.if ${MK_GCC} != "no"
_cc= cc
.endif
.if ${MK_GDB} != "no"
_gdb= gdb
.endif
.endif
.if ${MK_GCC} != "no"
_cc= cc
.endif
SUBDIR_PARALLEL=