diff options
Diffstat (limited to 'drivers/acpi/interpreter/Makefile')
-rw-r--r-- | drivers/acpi/interpreter/Makefile | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/acpi/interpreter/Makefile b/drivers/acpi/interpreter/Makefile index edd897133..751ef5de8 100644 --- a/drivers/acpi/interpreter/Makefile +++ b/drivers/acpi/interpreter/Makefile @@ -2,26 +2,14 @@ # Makefile for all Linux ACPI interpreter subdirectories # -SUB_DIRS := -MOD_SUB_DIRS := $(SUB_DIRS) -MOD_IN_SUB_DIRS := -ALL_SUB_DIRS := $(SUB_DIRS) - O_TARGET := ../$(shell basename `pwd`).o -O_OBJS := -M_OBJS := -ACPI_OBJS := $(patsubst %.c,%.o,$(wildcard *.c)) +obj-$(CONFIG_ACPI) := $(patsubst %.c,%.o,$(wildcard *.c)) EXTRA_CFLAGS += -I../include EXTRA_CFLAGS += $(ACPI_CFLAGS) -# 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: |