summaryrefslogtreecommitdiffstats
path: root/arch/mips64/kernel/Makefile
blob: e1edfc6a7a5baa83c0411a6484613eaba1913524 (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
#
# Makefile for the Linux/MIPS 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.o:
	$(CC) $(CFLAGS) -c $< -o $*.o

all:	kernel.o head.o init_task.o

O_TARGET := kernel.o
O_OBJS	:= branch.o entry.o proc.o process.o ptrace.o r4k_cache.o r4k_fpu.o \
	   r4k_genex.o r4k_switch.o r4k_tlb_debug.o r4k_tlb_glue.o scall_64.o \
	   semaphore.o setup.o signal.o softfp.o syscall.o traps.o unaligned.o
OX_OBJS := mips64_ksyms.o

ifdef CONFIG_MIPS32_COMPAT
O_OBJS += linux32.o scall_o32.o signal32.o ioctl32.o
endif

ifdef CONFIG_BINFMT_ELF32
O_OBJS += binfmt_elf32.o
endif

ifdef CONFIG_SMP
O_OBJS += smp.o
endif

clean:

include $(TOPDIR)/Rules.make