I try to disable device bpf in the kernel, which results in a compilation error
of if_lmc:

--- /empty/src/ALG/CURRENT/sys/modules/lmc/../../dev/lmc/if_lmc.c:4357:33:
error: use of undeclared identifier 'DEV_BPF' ALTQ_PRESENT ? "ALTQ " : "",
NBPFILTER ? "BPF " : "",
^ /empty/src/ALG/CURRENT/sys/modules/lmc/../../dev/lmc/if_lmc.c:94:20: note:
expanded from macro 'NBPFILTER' # define NBPFILTER DEV_BPF ^ 4 errors
generated. *** [if_lmc.o] Error code 1

In NanoBSD's common.conf, I defined therefore


or, since it doesn't work as expected,


It doesn't work as expected! WITHOUT_MODULES= doesn't work at all. Module/driver
if_lmc (lmc) is compiled everytime and running therefore into that error, the
build of the driver/module is not skipped.

How can I securely disable bpf AND exclude modules from being build?

Thanks in advance,

O. Hartmann
freebsd-current@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to