summaryrefslogtreecommitdiffstats
path: root/arch/mips/dec/Makefile
blob: af3fc2c23df0b132b5759a23207f18753f51de39 (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
29
30
31
32
33
34
35
36
#
# Makefile for the DECstation family specific parts of the kernel
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#

.S.s:
	$(CPP) $(AFLAGS) $< -o $@
.S.o:
	$(CC) $(AFLAGS) -c $< -o $@

all: dec.o
O_TARGET := dec.o
O_OBJS	 := int-handler.o setup.o irq.o time.o reset.o rtc-dec.o

ifdef CONFIG_PROM_CONSOLE
O_OBJS   += promcon.o
endif

ifdef CONFIG_SERIAL
O_OBJS   += serial.o
endif

ifeq ($(CONFIG_MODULES),y)
 OX_OBJS  = wbflush.o
else
 O_OBJS   += wbflush.o
endif

int-handler.o:	int-handler.S

clean:

include $(TOPDIR)/Rules.make