Remove pca and speaker device remains (both deleted).
[dragonfly.git] / sys / conf / acpi.mk
CommitLineData
da42c799 1ACPICA_DIR?= contrib/dev/acpica-unix
5db2f26e
SW
2OSACPI_MI_DIR?= dev/acpica
3OSACPI_MD_DIR?= platform/${MACHINE_PLATFORM}/acpica
c86cd76a
YT
4
5.if !defined(SYSDIR) && defined(S)
6SYSDIR= $S
7.endif
8
f6571408 9ACPICA_KERN_PATHS = \
da42c799
SZ
10 ${SYSDIR}/${ACPICA_DIR}/dispatcher \
11 ${SYSDIR}/${ACPICA_DIR}/executer \
12 ${SYSDIR}/${ACPICA_DIR}/parser \
c86cd76a
YT
13 ${SYSDIR}/${ACPICA_DIR}/events \
14 ${SYSDIR}/${ACPICA_DIR}/hardware \
15 ${SYSDIR}/${ACPICA_DIR}/namespace \
16 ${SYSDIR}/${ACPICA_DIR}/resources \
17 ${SYSDIR}/${ACPICA_DIR}/tables \
18 ${SYSDIR}/${ACPICA_DIR}/utilities \
19 ${SYSDIR}/${ACPICA_DIR}/debugger \
f6571408
YT
20 ${SYSDIR}/${ACPICA_DIR}/disassembler
21
22ACPICA_UTIL_PATHS = \
23 ${ACPICA_KERN_PATHS} \
24 ${SYSDIR}/${ACPICA_DIR} \
25 ${SYSDIR}/${ACPICA_DIR}/compiler \
26 ${SYSDIR}/${ACPICA_DIR}/common
c86cd76a
YT
27
28${.OBJDIR}/acpi.h: ${SYSDIR}/${ACPICA_DIR}/include/acpi.h
29 cp ${.ALLSRC} ${.TARGET}
30
31${.OBJDIR}/platform/acenv.h: ${SYSDIR}/${ACPICA_DIR}/include/platform/acenv.h
32 mkdir -p ${.OBJDIR}/platform
33 sed -e 's/__FreeBSD__/__DragonFly__/' \
34 -e 's/acfreebsd.h/acdragonfly.h/' ${.ALLSRC} > ${.TARGET}.new
35 mv -f ${.TARGET}.new ${.TARGET}