]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/mips/cpu/mips64/Makefile
Merge git://git.denx.de/u-boot-arm
[karo-tx-uboot.git] / arch / mips / cpu / mips64 / Makefile
1 #
2 # (C) Copyright 2003-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # SPDX-License-Identifier:      GPL-2.0+
6 #
7
8 include $(TOPDIR)/config.mk
9
10 LIB     = $(obj)lib$(CPU).o
11
12 START   = start.o
13 COBJS-y = cpu.o interrupts.o time.o cache.o
14
15 SRCS    := $(START:.o=.S) $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
16 OBJS    := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
17 START   := $(addprefix $(obj),$(START))
18
19 all:    $(obj).depend $(START) $(LIB)
20
21 $(LIB): $(OBJS)
22         $(call cmd_link_o_target, $(OBJS))
23
24 #########################################################################
25
26 # defines $(obj).depend target
27 include $(SRCTREE)/rules.mk
28
29 sinclude $(obj).depend