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.
This commit is contained in:
Adrian Chadd 2012-01-08 00:55:22 +00:00
parent 70d3600fdf
commit 3da972f77c

View File

@ -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