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

Next file: linux/drivers/acpi/resources/rsaddr.c
Previous file: linux/drivers/acpi/power.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.5/linux/drivers/acpi/resources/Makefile linux/drivers/acpi/resources/Makefile
@@ -1,16 +1,12 @@
 #
 # Makefile for all Linux ACPI interpreter subdirectories
+# EXCEPT for the ospm directory
 #
 
-O_TARGET := ../$(shell basename `pwd`).o
+O_TARGET := $(notdir $(CURDIR)).o
 
 obj-$(CONFIG_ACPI) := $(patsubst %.c,%.o,$(wildcard *.c))
 
-EXTRA_CFLAGS += -I../include
-
 EXTRA_CFLAGS += $(ACPI_CFLAGS)
 
 include $(TOPDIR)/Rules.make
-
-clean:
-	$(RM) *.o 

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