patch-2.4.6 linux/drivers/acpi/ospm/Makefile

Next file: linux/drivers/acpi/ospm/ac_adapter/Makefile
Previous file: linux/drivers/acpi/os.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.5/linux/drivers/acpi/ospm/Makefile linux/drivers/acpi/ospm/Makefile
@@ -0,0 +1,22 @@
+#
+# Makefile for the Linux OSPM code.
+#
+
+O_TARGET := $(notdir $(CURDIR)).o
+
+ACPI_CFLAGS += -I$(CURDIR)/include
+
+EXTRA_CFLAGS += $(ACPI_CFLAGS)
+
+subdir-$(CONFIG_ACPI_BUSMGR)	+= busmgr
+subdir-$(CONFIG_ACPI_EC)	+= ec
+subdir-$(CONFIG_ACPI_SYS)	+= system
+subdir-$(CONFIG_ACPI_CPU)	+= processor
+subdir-$(CONFIG_ACPI_CMBATT)	+= battery
+subdir-$(CONFIG_ACPI_AC)	+= ac_adapter
+subdir-$(CONFIG_ACPI_BUTTON)	+= button
+subdir-$(CONFIG_ACPI_THERMAL)	+= thermal
+
+obj-y				+= $(foreach dir,$(subdir-y),$(dir)/ospm_$(dir).o)
+
+include $(TOPDIR)/Rules.make

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