mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-01 08:27:59 +00:00
Simplify gnu/usr.bin Makefile conditions
After r307655 MK_GDB is forced to no if MK_BINUTILS is no, and similarly MK_GROFF is forced to no if MK_CXX is no, so we can remove nested conditionals. Reviewed by: bapt, brooks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D8287
This commit is contained in:
parent
b843ada7aa
commit
48b1eba1df
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=317252
@ -5,21 +5,17 @@
|
||||
|
||||
.if ${MK_CXX} != "no"
|
||||
SUBDIR.${MK_GCC}+= gperf
|
||||
SUBDIR.${MK_GROFF}+= groff
|
||||
.endif
|
||||
|
||||
SUBDIR.${MK_BINUTILS}+= binutils
|
||||
SUBDIR.${MK_DIALOG}+= dialog
|
||||
|
||||
.if ${MK_BINUTILS} != "no"
|
||||
SUBDIR.${MK_GDB}+= gdb
|
||||
SUBDIR_DEPEND_gdb= binutils
|
||||
.endif
|
||||
|
||||
SUBDIR.${MK_GCC}+= cc
|
||||
SUBDIR.${MK_GNU_DIFF}+= diff3
|
||||
SUBDIR.${MK_GNU_GREP}+= grep
|
||||
SUBDIR.${MK_GDB}+= gdb
|
||||
SUBDIR_DEPEND_gdb= binutils
|
||||
SUBDIR.${MK_GPL_DTC}+= dtc
|
||||
SUBDIR.${MK_GROFF}+= groff
|
||||
SUBDIR.${MK_TESTS}+= tests
|
||||
|
||||
SUBDIR_PARALLEL=
|
||||
|
Loading…
Reference in New Issue
Block a user