Force MK_GDB to no if MK_BINUTILS == no

This is currently encoded in conditional blocks in gnu/lib/Makefile and
gnu/usr.bin/Makefile. Set it via src.opts.mk to make GDB's dependency
on binutils more clear.
This commit is contained in:
Ed Maste 2016-10-19 19:57:36 +00:00
parent dcc0ff5a52
commit fa0b35857f

View File

@ -300,6 +300,10 @@ MK_${var}:= no
MK_LLVM_LIBUNWIND:= no
.endif
.if ${MK_BINUTILS} == "no"
MK_GDB:= no
.endif
.if ${MK_LIBPTHREAD} == "no"
MK_LIBTHR:= no
.endif