patch-2.4.0-test3 linux/drivers/acpi/Makefile

Next file: linux/drivers/acpi/common/cmalloc.c
Previous file: linux/drivers/acorn/char/defkeymap-acorn.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test2/linux/drivers/acpi/Makefile linux/drivers/acpi/Makefile
@@ -0,0 +1,27 @@
+#
+# Makefile for the Linux ACPI interpreter
+#
+
+SUB_DIRS        :=
+MOD_SUB_DIRS    := $(SUB_DIRS)
+MOD_IN_SUB_DIRS :=
+ALL_SUB_DIRS    := $(SUB_DIRS)
+
+O_TARGET := acpi.o
+O_OBJS   :=
+M_OBJS   :=
+
+ACPI_OBJS := osd.o
+ACPI_OBJS += $(patsubst %.c,%.o,$(wildcard */*.c))
+
+EXTRA_CFLAGS += -I./include -D_LINUX
+
+# if the interpreter is used, it overrides arch/i386/kernel/acpi.c
+ifeq ($(CONFIG_ACPI_INTERPRETER),y)
+  O_OBJS += $(ACPI_OBJS)
+endif
+
+include $(TOPDIR)/Rules.make
+
+clean:
+	$(RM) *.o */*.o

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