]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/mips/cpu/xburst/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / arch / mips / cpu / xburst / Makefile
CommitLineData
80421fcc
XL
1#
2# Copyright (C) 2011 Xiangfu Liu <xiangfu@openmobilefree.net>
3#
1a459660 4# SPDX-License-Identifier: GPL-2.0+
80421fcc
XL
5#
6
7include $(TOPDIR)/config.mk
8
9LIB = $(obj)lib$(CPU).o
10
11START = start.o
12SOBJS-y =
13COBJS-y = cpu.o timer.o jz_serial.o
14
15COBJS-$(CONFIG_JZ4740) += jz4740.o
16
17SRCS := $(START:.o=.S) $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
18OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
19START := $(addprefix $(obj),$(START))
20
21all: $(obj).depend $(START) $(LIB)
22
23$(LIB): $(OBJS)
24 $(call cmd_link_o_target, $(OBJS))
25
26#########################################################################
27
28# defines $(obj).depend target
29include $(SRCTREE)/rules.mk
30
31sinclude $(obj).depend
32
33#########################################################################