Cannot include header files from sys/contrib directory
Hans Petter Selasky
hps at selasky.org
Tue Feb 2 11:59:31 UTC 2016
On 02/02/16 12:46, Marcin Mazurek wrote:
> Hello all,
>
> I'm trying to include header files in the networking driver under sys/dev/,
> however the headers are located in sys/contrib directory.
> Does anyone have a clue or an advice on how to do this properly without
> making too much trouble in the build system?
> I would prefer to avoid changing content of the header files.
>
> I tried adding 'compile-with' + '-I' flags in files but that did not work
> as expected.
>
> Thank you in advance for your help.
Hi,
Are you in the kernel or userspace? This part is a bit troublesome and
Bryan Drewery has some changes pending in this area. See:
https://svnweb.freebsd.org/changeset/base/294915
For example how it is currently done in the kernel.
--HPS
More information about the freebsd-current
mailing list