summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/Makefile
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-08-29 10:35:01 +0000
committerphk <phk@FreeBSD.org>2003-08-29 10:35:01 +0000
commit69a89b719e68377bea82c843e9aad95c36f778a9 (patch)
tree7678c8ce0f5bce166dfa1b851883288faa470652 /gnu/usr.bin/Makefile
parenta225ed0f0f058d020eb79ba55f3997e0ab1580a4 (diff)
downloadFreeBSD-src-69a89b719e68377bea82c843e9aad95c36f778a9.zip
FreeBSD-src-69a89b719e68377bea82c843e9aad95c36f778a9.tar.gz
Introduce more knobs to slim down FreeBSD userland
NO_TOOLCHAIN skips Compilers and Binutils NO_USB skips USB stuff NO_VINUM skips Vinum stuff NO_ACPI skips ACPI stuff
Diffstat (limited to 'gnu/usr.bin/Makefile')
-rw-r--r--gnu/usr.bin/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile
index 096c23c..b6a7cbd 100644
--- a/gnu/usr.bin/Makefile
+++ b/gnu/usr.bin/Makefile
@@ -1,8 +1,13 @@
# $FreeBSD$
-SUBDIR= bc binutils cc cpio dc dialog diff diff3 \
+SUBDIR= bc ${_binutils} ${_cc} cpio dc dialog diff diff3 \
${_gperf} grep gzip man patch rcs sdiff send-pr sort tar texinfo
+.if !defined(NO_TOOLCHAIN)
+_cc=cc
+_binutils=binutils
+.endif
+
.if !defined(NO_CXX)
.if ${MACHINE_ARCH} != "powerpc"
_gperf=gperf
OpenPOWER on IntegriCloud