summaryrefslogtreecommitdiffstats
path: root/sys/i386/acpica/Makefile
diff options
context:
space:
mode:
authortakawata <takawata@FreeBSD.org>2001-07-20 06:07:34 +0000
committertakawata <takawata@FreeBSD.org>2001-07-20 06:07:34 +0000
commitd3d1b151d3f3f67385b5e5adbbafd20527daa156 (patch)
treefb4e3d6b249e14e537e8681949888f823fa67602 /sys/i386/acpica/Makefile
parentc3d97bef4d7f5c6ef78bbe34ac08731d7e2a9b0f (diff)
downloadFreeBSD-src-d3d1b151d3f3f67385b5e5adbbafd20527daa156.zip
FreeBSD-src-d3d1b151d3f3f67385b5e5adbbafd20527daa156.tar.gz
Add ACPI S2-S4BIOS Suspend/Resume code.
Some problems may remain. Reviewed by:iwasaki
Diffstat (limited to 'sys/i386/acpica/Makefile')
-rw-r--r--sys/i386/acpica/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys/i386/acpica/Makefile b/sys/i386/acpica/Makefile
new file mode 100644
index 0000000..28752928
--- /dev/null
+++ b/sys/i386/acpica/Makefile
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+# Correct path for kernel builds
+# Don't rely on the kernel's .depend file
+.ifdef MAKESRCPATH
+.PATH: ${MAKESRCPATH}
+DEPENDFILE=
+.else
+MAKESRCPATH= ${.CURDIR}
+CLEANFILES= acpi_wakecode.h acpi_wakecode.bin acpi_wakecode.o
+.endif
+
+all: acpi_wakecode.h
+
+acpi_wakecode.o: acpi_wakecode.S
+
+acpi_wakecode.bin: acpi_wakecode.o
+ objcopy -S -O binary acpi_wakecode.o acpi_wakecode.bin
+
+acpi_wakecode.h: acpi_wakecode.bin acpi_wakecode.o
+ perl ${MAKESRCPATH}/genwakecode.pl > acpi_wakecode.h
+
+.include <bsd.prog.mk>
+
OpenPOWER on IntegriCloud