bug #2442: Fix bmake regression of kernel build
authorJohn Marino <draco@marino.st>
Tue, 30 Oct 2012 18:14:57 +0000 (19:14 +0100)
committerJohn Marino <draco@marino.st>
Tue, 30 Oct 2012 18:22:01 +0000 (19:22 +0100)
commit9c9078b1c22ba5b3b33389aecc1b70d4706c4002
tree58387579e10da4a87008aaa8e44c3f05a4233f14
parentaad8a0a7da2699f0f3c23b136290c32b4ef7c4f4
bug #2442: Fix bmake regression of kernel build

Kernel modules such as acpi.ko didn't load due to missing symbols after
bmake replaced legacy make.  The cause was traced back to a badly
generated header which in turn was caused by the file kern.fwd.mk.  That
file contained ":U" modifiers that should have been converted to ":tu"
modifiers.

The actual cause of the missing symbols were due to atomic.h not getting
included into atomic.c twice.  Case sensitivity prevented a macro from
being properly unset.  The modifiers in question turn everything to
upper case.

A full kernel build is required to fix the module loading.
sys/conf/kern.fwd.mk