Hook acpi_quirks up to the build for kernel and modules.
This commit is contained in:
parent
94f529791f
commit
684c1c1ddb
@ -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" \
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user