MFC r348718:Whitespace adjustment.
Silence non-actionable warnings in vendor codeWe can't modify vendor code so there's no signal in warnings from it.Similarly -Waddress-of-packed-member is not useful on networking codeas access t
Silence non-actionable warnings in vendor codeWe can't modify vendor code so there's no signal in warnings from it.Similarly -Waddress-of-packed-member is not useful on networking codeas access to packed structures is fundamental to its operation.
show more ...
sys/modules: normalize .CURDIR-relative paths to SRCTOPThis simplifies make output/logicTested with: `cd sys/modules; make ALL_MODULES=` on amd64MFC after: 1 monthSponsored by: Dell EMC Isilon
Re-support CWARNFLAGS, lost when bsd.sys.mk was removed. Also, supportCWARNFALGS.$file centrally so we don't have to have it in all theplaces. Remove a few warning flags that are no longer needed.
Re-support CWARNFLAGS, lost when bsd.sys.mk was removed. Also, supportCWARNFALGS.$file centrally so we don't have to have it in all theplaces. Remove a few warning flags that are no longer needed.Also, always use -Wno-unknown-pragma to (hopefully temporarily) workaround #pragma ident in debug.h in the opensolaris code. Remove somestale warning suppression that's no longer necessary.
Move most of the 15 variations on generating opt_inet.h andopt_inet6.h into kmod.mk by forcing almost everybody to eat the samedogfood. While at it, consolidate the opt_bpf.h and opt_mroute.htarge
Move most of the 15 variations on generating opt_inet.h andopt_inet6.h into kmod.mk by forcing almost everybody to eat the samedogfood. While at it, consolidate the opt_bpf.h and opt_mroute.htargets here too.
Use src.opts.mk in preference to bsd.own.mk except where we need stufffrom the latter.
Turn off warnings about unused variables for a bunch of files undercontrib/ipfilter.MFC after: 3 days
Update ipfilter 4.1.28 --> 5.1.2.Approved by: glebius (mentor)BSD Licensed by: Darren Reed <[email protected]> (author)
Disable several instances instances of clang's -Wself-assign warning.All of these are harmless, and are in fact used to shut up warnings fromlint.While here, remove -Wno-missing-prototypes from t
Disable several instances instances of clang's -Wself-assign warning.All of these are harmless, and are in fact used to shut up warnings fromlint.While here, remove -Wno-missing-prototypes from the xfs moduleMakefile, as I could not reproduce those warnings either with gcc orclang.MFC after: 1 week
Reimplementation of world/kernel build options. For details, see:http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.htmlThe src.conf(5) manpage is to follow in a few days.Bro
Reimplementation of world/kernel build options. For details, see:http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.htmlThe src.conf(5) manpage is to follow in a few days.Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
Let modules use the kernel's opt_*.h files if built along withthe kernel by wrapping all targets for fake opt_*.h files in.if defined(KERNBUILDDIR). Thus, such fake files won't becreated at all i
Let modules use the kernel's opt_*.h files if built along withthe kernel by wrapping all targets for fake opt_*.h files in.if defined(KERNBUILDDIR). Thus, such fake files won't becreated at all if modules are built with the kernel.Some modules undergo cleanup like removing unused or unneededoptions or .h files, without which they wouldn't build this wayor the other.Reviewed by: ruTested by: no binary changes in modules built aloneTested on: i386 sparc64 amd64
Fix standalone module build.Reported by: Boris Samorodov <[email protected]>
new files and compile defines to build new ipfilter
Don't define PFIL_HOOKS. It's no longer required in RELENG_5 or HEAD.
NOINET6 -> NO_INET6
Recognise NOINET6 as an indication to not build IPv6 enabled source evenif FreeBSD header files, etc, support it.Submitted by: Sergey Mokryshev <[email protected]>
IPv6 is on by default in GENERIC so enable IPv6 in IPFilter too by default.PR: kern/57730Submitted by: FUKAUMI Naoki <[email protected]>
update to reflect PFIL_HOOKS api changesSupported by: FreeBSD Foundation
Drop <bsd.man.mk> support from <bsd.kmod.mk>.Not objected to by: -current
Relocate IPFilter from sys/netinet to sys/contrib/ipfilter.
Use a consistent style and one much closer to the rest of /usr/src
Fix typo
Back out opt_ipfilter.h creation I add recently and add -DIPFILTER=1to CFLAGS insteadAccording to other sources, opt_ipfilter.h not supposed to be included formodules
Fix prev. commit: NIPFILTER -> IPFILTER
Generate opt_ipfilter.h to fix 'make depend'
12