From 98822e39459e0ede7395890399731c2a4c4e372e Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Tue, 11 Mar 2003 23:20:43 +0000 Subject: fix module building; drivers now require opt_{ubsec,hifn}.h --- sys/modules/hifn/Makefile | 5 ++++- sys/modules/ubsec/Makefile | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/modules/hifn/Makefile b/sys/modules/hifn/Makefile index bb0bcf257f91..33e6a77c3f59 100644 --- a/sys/modules/hifn/Makefile +++ b/sys/modules/hifn/Makefile @@ -2,8 +2,11 @@ .PATH: ${.CURDIR}/../../dev/hifn KMOD = hifn -SRCS = hifn7751.c +SRCS = hifn7751.c opt_hifn.h SRCS += device_if.h bus_if.h pci_if.h SRCS += opt_bdg.h opt_bus.h crypto_if.h +opt_hifn.h: + echo "#define HIFN_DEBUG 1" > opt_hifn.h + .include diff --git a/sys/modules/ubsec/Makefile b/sys/modules/ubsec/Makefile index 4b9f411bfe98..4c9f58cf14b1 100644 --- a/sys/modules/ubsec/Makefile +++ b/sys/modules/ubsec/Makefile @@ -2,8 +2,11 @@ .PATH: ${.CURDIR}/../../dev/ubsec KMOD = ubsec -SRCS = ubsec.c +SRCS = ubsec.c opt_ubsec.h SRCS += device_if.h bus_if.h pci_if.h SRCS += opt_bdg.h opt_bus.h crypto_if.h +opt_ubsec.h: + echo "#define UBSEC_DEBUG 1" > opt_ubsec.h + .include -- cgit v1.3