summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/Makefile
blob: c8b888ff1bfa1941b9aa8e7910cc4b04ef595c4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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