allow sharing Makefiles with rump kernel components

This commit is contained in:
pooka 2014-11-19 00:17:10 +00:00
parent 1436102dc9
commit b835110503
4 changed files with 24 additions and 11 deletions

View File

@ -1,11 +1,8 @@
# $NetBSD: Makefile,v 1.4 2011/08/28 15:48:19 jmcneill Exp $
# $NetBSD: Makefile,v 1.5 2014/11/19 00:17:10 pooka Exp $
.include "../Makefile.inc"
.PATH: ${S}/dev/pci/hdaudio
.include "${.CURDIR}/Makefile.inc"
KMOD= hdafg
IOCONF= hdafg.ioconf
SRCS= hdafg.c hdafg_dd.c
.include <bsd.kmodule.mk>

View File

@ -0,0 +1,9 @@
# $NetBSD: Makefile.inc,v 1.1 2014/11/19 00:17:10 pooka Exp $
# This file is used by modules and rump kernels
IOCONFDIR:= ${.PARSEDIR}
.PATH: ${NETBSDSRCDIR}/sys/dev/pci/hdaudio ${IOCONFDIR}
IOCONF= hdafg.ioconf
SRCS= hdafg.c hdafg_dd.c

View File

@ -1,12 +1,8 @@
# $NetBSD: Makefile,v 1.3 2014/09/19 18:05:24 christos Exp $
# $NetBSD: Makefile,v 1.4 2014/11/19 00:17:10 pooka Exp $
.include "../Makefile.inc"
.PATH: ${S}/dev/pci/hdaudio
.include "${.CURDIR}/Makefile.inc"
KMOD= hdaudio
IOCONF= hdaudio.ioconf
SRCS= hdaudio.c
SRCS+= hdaudio_pci.c
.include <bsd.kmodule.mk>

View File

@ -0,0 +1,11 @@
# $NetBSD: Makefile.inc,v 1.1 2014/11/19 00:17:10 pooka Exp $
# This file is used by modules and rump kernels
IOCONFDIR:= ${.PARSEDIR}
.PATH: ${NETBSDSRCDIR}/sys/dev/pci/hdaudio ${IOCONFDIR}
IOCONF= hdaudio.ioconf
SRCS= hdaudio.c
SRCS+= hdaudio_pci.c