diff options
author | phk <phk@FreeBSD.org> | 2003-08-29 10:35:01 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-08-29 10:35:01 +0000 |
commit | 69a89b719e68377bea82c843e9aad95c36f778a9 (patch) | |
tree | 7678c8ce0f5bce166dfa1b851883288faa470652 /usr.sbin | |
parent | a225ed0f0f058d020eb79ba55f3997e0ab1580a4 (diff) | |
download | FreeBSD-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 'usr.sbin')
-rw-r--r-- | usr.sbin/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile index 5d79535..18c7f63 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 |