WITHOUT_MODULES=if_lmc not working in NanoBSD
O. Hartmann
ohartman at zedat.fu-berlin.de
Fri Mar 4 12:17:25 UTC 2016
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
CONF_WORLD='
WITHOUT_MODULES=if_lmc
...
'
or, since it doesn't work as expected,
CONF_WORLD='
WITHOUT_MODULES=lmc
...
'
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
More information about the freebsd-current
mailing list