summaryrefslogtreecommitdiffstats
path: root/arch/mips/philips/nino/Makefile
blob: ca9716c312b843466a305d200a3867ad379ebac6 (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
#
# Makefile for the Philips Nino 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 $@

O_TARGET := nino.o

all: nino.o

obj-y	 := int-handler.o setup.o irq.o time.o reset.o rtc.o prom.o power.o

int-handler.o: int-handler.S

obj-$(CONFIG_REMOTE_DEBUG)	+= kgdb.o

obj-$(CONFIG_BLK_DEV_INITRD)	+= ramdisk.o

ramdisk.o:
		$(MAKE) -C ramdisk
		mv ramdisk/ramdisk.o ramdisk.o

clean:
		rm -f *.o

include $(TOPDIR)/Rules.make