|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
[Xen-devel] [PATCH] fix arch/i386/power/Makefile
 
For being able to build native with CONFIG_APM=m, this small adjustment
is needed (I'm afraid it was me who screwed it up quite a while back).
As usual, written and tested against 2.6.23 and made apply against
2.6.18 without further testing.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
Index: sle10sp2-2007-11-14/arch/i386/power/Makefile
===================================================================
--- sle10sp2-2007-11-14.orig/arch/i386/power/Makefile   2007-11-14 
14:56:37.000000000 +0100
+++ sle10sp2-2007-11-14/arch/i386/power/Makefile        2007-11-14 
15:21:09.000000000 +0100
@@ -1,4 +1,4 @@
-obj-$(CONFIG_PM_LEGACY)                += cpu.o
+obj-$(subst m,y,$(CONFIG_APM)) += cpu.o
 obj-$(CONFIG_SOFTWARE_SUSPEND) += cpu.o
 obj-$(CONFIG_ACPI_SLEEP)       += cpu.o
 obj-$(CONFIG_SOFTWARE_SUSPEND) += swsusp.o
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread> |  
- [Xen-devel] [PATCH] fix arch/i386/power/Makefile,
Jan Beulich <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |