Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Oct 2016 15:01:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 213534] [patch] [bhnd] kernel modules for bhnd(4) driver family cannot be built outside of kernel build directory
Message-ID:  <bug-213534-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213534

            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@FreeBSD.org
          Reporter: ports@grosbein.net
          Keywords: patch

Created attachment 175821
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D175821&action=
=3Dedit
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213534-8>