[Bug 213534] [patch] [bhnd] kernel modules for bhnd(4) driver family cannot be built outside of kernel build directory
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Oct 16 15:01:55 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213534
Bug ID: 213534
Summary: [patch] [bhnd] kernel modules for bhnd(4) driver
family cannot be built outside of kernel build
directory
Product: Base System
Version: 11.0-STABLE
Hardware: Any
OS: Any
Status: New
Keywords: patch
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: ports at grosbein.net
Keywords: patch
Created attachment 175821
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=175821&action=edit
make bhnd(4) build outside of KERNBUILDDIR
Kernel modules located in /usr/src/sys/modules/bhnd fail to build without
kernel build directory due to non-existing "opt_global.h" file:
# cd /usr/src/sys/modules/bhnd && make
...
.../bhnd_debug.h:73:10: fatal error: 'opt_global.h' file
not found
#include "opt_global.h"
^
1 error generated.
*** Error code 1
Stop.
Attached patch fixes this.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list