- Linus: drop support for old-style Makefiles entirely. Big.
[davej-history.git] / arch / arm / mach-sa1100 / Makefile
blob4416082954b29e991098e96a7d3e5bce441e5ae1
2 # Makefile for the linux kernel.
4 # Note! Dependencies are done automagically by 'make dep', which also
5 # removes any old dependencies. DON'T put your own dependencies here
6 # unless it's something special (ie not a .c file).
8 USE_STANDARD_AS_RULE := true
10 O_TARGET := sa1100.o
12 # Object file lists.
14 obj-y := arch.o hw.o #dma.o mm.o
15 obj-m :=
16 obj-n :=
17 obj- :=
19 export-objs := hw.o leds.o
21 obj-$(CONFIG_LEDS) += leds.o
23 # Files that are both resident and modular; remove from modular.
25 obj-m := $(filter-out $(obj-y), $(obj-m))
27 # Translate to Rules.make lists.
29 O_OBJS := $(filter-out $(export-objs), $(obj-y))
30 OX_OBJS := $(filter $(export-objs), $(obj-y))
31 M_OBJS := $(sort $(filter-out $(export-objs), $(obj-m)))
32 MX_OBJS := $(sort $(filter $(export-objs), $(obj-m)))
34 include $(TOPDIR)/Rules.make