hi,

the hibernate_machdep.c file depends on the acpi so it would be
nice if we excluded this file if kernel config doesn't reference
acpi. a simple fix that establishes the dependency is below. ok?

Index: arch/i386/conf/files.i386
===================================================================
RCS file: /home/cvs/src/sys/arch/i386/conf/files.i386,v
retrieving revision 1.203
diff -u -p -r1.203 files.i386
--- arch/i386/conf/files.i386   23 May 2011 09:54:20 -0000      1.203
+++ arch/i386/conf/files.i386   17 Jun 2011 10:28:40 -0000
@@ -24,7 +24,7 @@ file  arch/i386/i386/est.c            !small_kernel
 file   arch/i386/i386/gdt.c
 file   arch/i386/i386/in_cksum.s       inet
 file   arch/i386/i386/machdep.c
-file   arch/i386/i386/hibernate_machdep.c
+file   arch/i386/i386/hibernate_machdep.c      acpi
 file   arch/i386/i386/via.c
 file   arch/i386/i386/amd64errata.c    !small_kernel
 file   arch/i386/i386/kgdb_machdep.c   kgdb

Reply via email to