aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/Makefile
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-08-29 10:35:01 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-08-29 10:35:01 +0000
commit3bc2f9a8974639ac4c0d112675d86584336b1620 (patch)
tree7678c8ce0f5bce166dfa1b851883288faa470652 /usr.sbin/Makefile
parent403a9c73fbb84d7a68fe63c7a97040e3caacfb82 (diff)
downloadsrc-3bc2f9a8974639ac4c0d112675d86584336b1620.tar.gz
src-3bc2f9a8974639ac4c0d112675d86584336b1620.zip
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
Notes
Notes: svn path=/head/; revision=119553
Diffstat (limited to 'usr.sbin/Makefile')
-rw-r--r--usr.sbin/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile
index 5d79535e0ccc..18c7f63ac606 100644
--- a/usr.sbin/Makefile
+++ b/usr.sbin/Makefile
@@ -114,8 +114,6 @@ SUBDIR= IPXrouted \
trpt \
tzsetup \
ugidfw \
- usbd \
- usbdevs \
vidcontrol \
vipw \
vnconfig \
@@ -148,6 +146,10 @@ SUBDIR+=ipftest \
iptest
.endif
+.if !defined(NO_USB)
+SUBDIR+=usbd \
+ usbdevs
+.endif
.if !defined(NOLIBC_R) && ${MACHINE_ARCH} != "powerpc"
SUBDIR+=pppctl
.endif
@@ -179,8 +181,7 @@ SUBDIR+=elf2exe \
.endif
.if ${MACHINE_ARCH} == "i386"
-SUBDIR+=acpi \
- apm \
+SUBDIR+=apm \
apmd \
asf \
btxld \
@@ -199,9 +200,15 @@ SUBDIR+=acpi \
stallion \
wlconfig \
zzz
+
+.if !defined(NO_ACPI)
+SUBDIR+=acpi
+.endif
+
.if !defined(NO_I4B)
SUBDIR+=i4b
.endif
+
.endif
# kgmon: builds, but no kernel profiling