diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2006-09-04 07:40:53 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2006-09-04 07:40:53 +0000 |
| commit | 1e9defe45aadaca746d25b1094459d7327447daf (patch) | |
| tree | 8dfae8acd2111d5305e3b492925def5043cea31b /sys/modules/sound | |
| parent | f9b1dc578ab3298b06d1607570f107a7ef3133e3 (diff) | |
Notes
Diffstat (limited to 'sys/modules/sound')
| -rw-r--r-- | sys/modules/sound/sound/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/modules/sound/sound/Makefile b/sys/modules/sound/sound/Makefile index f2e6eae7676a..5b96cb43461d 100644 --- a/sys/modules/sound/sound/Makefile +++ b/sys/modules/sound/sound/Makefile @@ -24,10 +24,17 @@ EXPORT_SYMS= YES # XXX evaluate opt_isa.h: :> ${.TARGET} .else +.if !defined(KERNBUILDDIR) SRCS+= sndbuf_dma.c opt_isa.h: echo "#define DEV_ISA 1" > ${.TARGET} +.else +DEV_ISA!= sed -n '/DEV_ISA/p' ${KERNBUILDDIR}/opt_isa.h +.if !empty(DEV_ISA) +SRCS+= sndbuf_dma.c +.endif +.endif .endif .include <bsd.kmod.mk> |
