summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-01-08 00:55:22 +0000
committeradrian <adrian@FreeBSD.org>2012-01-08 00:55:22 +0000
commit9b41f60a1b16e9a9ed6d1ed284e7f9d11d778d13 (patch)
tree9771a1c7554408df30d07fe44b6e6ca0d38e042f /sys/conf
parent3c1b95b9c97a2bef12c8076a4595e38e79fdf994 (diff)
downloadFreeBSD-src-9b41f60a1b16e9a9ed6d1ed284e7f9d11d778d13.zip
FreeBSD-src-9b41f60a1b16e9a9ed6d1ed284e7f9d11d778d13.tar.gz
Make these two files conditionally build on UFS_ACL, as it doesn't
seem to be used elsewhere. Since UFS_ACL is enabled by default for GENERIC kernels, this shouldn't break anything - but please beat me to fix things if it does. This reduces the footprint of the kernel on small embedded systems (think <1MB flash for the compressed kernel image) just enough to actually fit.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 108e659..e6653e4 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -2409,8 +2409,9 @@ kern/sched_ule.c optional sched_ule
kern/serdev_if.m standard
kern/stack_protector.c standard \
compile-with "${NORMAL_C:N-fstack-protector*}"
-kern/subr_acl_nfs4.c standard
-kern/subr_acl_posix1e.c standard
+# XXX subr_acl_nfs4.c is also used by ZFS
+kern/subr_acl_nfs4.c optional ufs_acl
+kern/subr_acl_posix1e.c optional ufs_acl
kern/subr_autoconf.c standard
kern/subr_blist.c standard
kern/subr_bus.c standard
OpenPOWER on IntegriCloud