- 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 2015-07-19 00:38:19 +00:00
parent 0d030c5deb
commit b0e42f970b
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=