user settable variable. Set PKG_SUGGESTED_OPTIONS instead. Also, make use of PKG_OPTIONS_LEGACY_VARS. Reviewed by wiz.
15 lines
352 B
Makefile
15 lines
352 B
Makefile
# $NetBSD: options.mk,v 1.3 2005/05/31 10:01:39 dillo Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.netbsd-tap
|
|
PKG_SUPPORTED_OPTIONS= bpf
|
|
PKG_SUGGESTED_OPTIONS= bpf
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mbpf)
|
|
BUILD_ENV+= USE_BPF=YES
|
|
.endif
|
|
|
|
TAP_KERNEL_ENV?= # empty
|
|
BUILD_DEFS+= TAP_KERNEL_ENV
|
|
MAKE_ENV+= TAP_KERNEL_ENV=${TAP_KERNEL_ENV:Q}
|