Date: Thu, 13 Jan 2005 23:20:26 GMT From: David Yeske <dyeske@yahoo.com> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/76225: WITHOUT_MODULES option for sys/modules/Makefile Message-ID: <200501132320.j0DNKQD9044354@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/76225; it has been noted by GNATS. From: David Yeske <dyeske@yahoo.com> To: Ceri Davies <ceri@submonkey.net> Cc: freebsd-gnats-submit@FreeBSD.org, wes@freebsd.org Subject: Re: kern/76225: WITHOUT_MODULES option for sys/modules/Makefile Date: Thu, 13 Jan 2005 15:10:28 -0800 (PST) Would this be any cleaner or dirtier? .if !defined(NO_PF) || defined(ALL_MODULES) WITHOUT_MODULES+= pf .endif How about a global flag for src and src/sys? For example WITHOUT_FOO= acpi boot cvs cxx bluetooth, etc... to replace this #NO_ACPI= true # do not build acpiconf(8) and related programs #NO_BOOT= true # do not build boot blocks and loader #NO_CVS= true # do not build CVS #NO_CXX= true # do not build C++ and friends #NO_BLUETOOTH= true # do not build Bluetooth related stuff #NO_DYNAMICROOT=true # do not link /bin and /sbin dynamically #NO_FORTRAN= true # do not build g77 and related libraries #NO_GDB= true # do not build GDB #NO_I4B= true # do not build isdn4bsd package #NO_IPFILTER= true # do not build IP Filter package #NO_PF= true # do not build PF firewall package #NO_AUTHPF= true # do not build and install authpf (setuid/gid) #NO_KERBEROS= true # do not build and install Kerberos 5 (KTH Heimdal) #NO_LPR= true # do not build lpr and related programs #NO_MAILWRAPPER=true # do not build the mailwrapper(8) MTA selector #NO_MODULES= true # do not build modules with the kernel #NO_NIS= true # do not build NIS support and related programs #NO_OBJC= true # do not build Objective C support #NO_OPENSSH= true # do not build OpenSSH #NO_OPENSSL= true # do not build OpenSSL (implies NO_KERBEROS/NO_OPENSSH) #NO_SENDMAIL= true # do not build sendmail and related programs #NO_SHAREDOCS= true # do not build the 4.4BSD legacy docs #NO_TCSH= true # do not build and install /bin/csh (which is tcsh) #NO_TOOLCHAIN= true # do not build programs for program development #NO_USB= true # do not build usbd(8) and related programs #NO_VINUM= true # do not build Vinum utilities #NOATM= true # do not build ATM related programs and libraries #NOCRYPT= true # do not build any crypto code #NOGAMES= true # do not build games (games/ subdir) #NOINET6= true # do not build IPv6 related programs and libraries #NOINFO= true # do not make or install info files #NOLIBC_R= true # do not build libc_r (re-entrant version of libc) #NOLIBPTHREAD= true # do not build libpthread (M:N threading library) #NOLIBTHR= true # do not build libthr (1:1 threading library) #NOMAN= true # do not build manual pages #NOPROFILE= true # Avoid compiling profiled libraries #NOSHARE= true # do not go into the share subdir --- Ceri Davies <ceri@submonkey.net> wrote: > On Thu, Jan 13, 2005 at 10:46:05PM +0000, David Yeske wrote: > > > WITHOUT_MODULES is a list that can be set in /etc/make.conf or > > per build so that the directorys in that list will be removed from the > > list of directorys to build. This vastly speeds up kernel compile time > > by allowing the user to specify to not build certain modules. It is > > also useful to cherry pick a certain module and not build it similar to > > the NO_PF and NO_IPFILTER options. The NO_PF and NO_IPFILTER options > > could in theory be removed and set via WITHOUT_MODULES= pf ipfilter > > NO_PF and NO_IPFILTER are not quite the same, as they also prevent the > userland components (pfctl, ipf, etc.) from being built. > > Ceri > __________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501132320.j0DNKQD9044354>