patch-2.3.19 linux/drivers/misc/Makefile

Next file: linux/drivers/misc/acpi.c
Previous file: linux/drivers/misc/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.18/linux/drivers/misc/Makefile linux/drivers/misc/Makefile
@@ -18,6 +18,14 @@
 O_OBJS   :=
 OX_OBJS  :=
 
+ifeq ($(CONFIG_ACPI),y)
+  O_OBJS += acpi.o
+else
+  ifeq ($(CONFIG_ACPI),m)
+    M_OBJS += acpi.o
+  endif
+endif
+
 ifdef CONFIG_PIIX4_ACPI
 O_OBJS += piix4_acpi.o
 endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)