8a9ff04ba8
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.
15 lines
562 B
Makefile
15 lines
562 B
Makefile
# $NetBSD: Makefile.hdaudiodevs,v 1.1 2015/03/28 14:09:59 jmcneill Exp $
|
|
#
|
|
# As per tron@NetBSD.org, the proper procedure is
|
|
#
|
|
# 1.) Change "src/sys/dev/hdaudio/hdaudiodevs".
|
|
# 2.) Commit "src/sys/dev/hdaudio/hdaudiodevs".
|
|
# 3.) Execute "make -f Makefile.hdaudiodevs" in "src/sys/dev/hdaudio".
|
|
# 4.) Commit "src/sys/dev/hdaudio/hdaudiodevs.h" and "src/sys/dev/hdaudio/hdaudiodevs_data.h".
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
hdaudiodevs.h hdaudiodevs_data.h: ${.CURDIR}/../../devlist2h.awk hdaudiodevs
|
|
/bin/rm -f hdaudiodevs.h hdaudiodevs_data.h
|
|
${TOOL_AWK} -f ${.ALLSRC}
|