diff options
author | njl <njl@FreeBSD.org> | 2004-06-24 06:29:22 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2004-06-24 06:29:22 +0000 |
commit | 4259b2bf62b298fafdb6b49c0079e4fdffd41535 (patch) | |
tree | d68a856faea2652ed93dc464a8c7490131fb2f19 /sys | |
parent | 7f22999cba5be80365f6a28cdd8b84c8267c88bc (diff) | |
download | FreeBSD-src-4259b2bf62b298fafdb6b49c0079e4fdffd41535.zip FreeBSD-src-4259b2bf62b298fafdb6b49c0079e4fdffd41535.tar.gz |
Hook acpi_quirks up to the build for kernel and modules.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/conf/files | 5 | ||||
-rw-r--r-- | sys/conf/kmod.mk | 11 |
2 files changed, 16 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files index 8c1a136..9d36868 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -4,6 +4,11 @@ # limitations in config: backslash-newline doesn't work in strings, and # dependency lines other than the first are silently ignored. # +acpi_quirks.h standard \ + dependency "$S/tools/acpi_quirks2h.awk $S/dev/acpica/acpi_quirks" \ + compile-with "${AWK} -f $S/tools/acpi_quirks2h.awk $S/dev/acpica/acpi_quirks" \ + no-obj no-implicit-rule \ + clean "acpi_quirks.h" aicasm optional ahc \ dependency "$S/dev/aic7xxx/aicasm/*.[chyl]" \ compile-with "CC=${CC} ${MAKE} -f $S/dev/aic7xxx/aicasm/Makefile MAKESRCPATH=$S/dev/aic7xxx/aicasm" \ diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 90c839e..6953875 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -343,6 +343,17 @@ ${_i}devs.h: @/tools/${_i}devs2h.awk @/dev/${_i}/${_i}devs .endif .endfor # _i +.if ${SRCS:Macpi_quirks.h} != "" +CLEANFILES+= acpi_quirks.h +.if !exists(@) +acpi_quirks.h: @ +.endif +.if exists(@) +acpi_quirks.h: @/tools/acpi_quirks2h.awk @/dev/acpica/acpi_quirks +.endif + ${AWK} -f @/tools/acpi_quirks2h.awk @/dev/acpica/acpi_quirks +.endif + regress: lint: ${SRCS} |