summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/tables/Makefile
blob: edd89713320bbf7177a46838fb379b30259e39fb (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
28
#
# 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))

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:
	$(RM) *.o