summaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorpgoyette <pgoyette@NetBSD.org>2019-03-23 09:48:04 +0000
committerpgoyette <pgoyette@NetBSD.org>2019-03-23 09:48:04 +0000
commitfb9792ff7fcc2345f283b9e235c3cdc1e855781f (patch)
treef63d6492a38739a7853f7ee0efe48fdb99840cdd /sys/modules
parent4d638bd54e3ec6a319aa6cdc2c82db9f8eea138b (diff)
Replace compile-time checking for vlan code with a module hook.
Should resolve the errors reported on irc when booting a kernel which has agr without vlan: [ 1.0000000] WARNING: module error: built-in module if_agr can't find builtin dependency `if_vlan' [ 1.0000000] WARNING: module error: built-in module if_agr prerequisite if_vlan failed, error 2
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/if_agr/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/modules/if_agr/Makefile b/sys/modules/if_agr/Makefile
index ab77ad18c08..9a0291f125c 100644
--- a/sys/modules/if_agr/Makefile
+++ b/sys/modules/if_agr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2019/02/17 04:05:51 rin Exp $
+# $NetBSD: Makefile,v 1.4 2019/03/23 09:48:04 pgoyette Exp $
.include "../Makefile.inc"
@@ -25,7 +25,7 @@ if_agrsoftc.c \
if_agrsubr.c \
if_agrtimer.c
-CPPFLAGS+= -DINET -DNVLAN=1
+CPPFLAGS+= -DINET
WARNS= 3