xref: /openbmc/u-boot/arch/arm/cpu/arm1176/Makefile (revision c0dcece7)
1#
2# (C) Copyright 2000-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# (C) Copyright 2008
6# Guennadi Liakhovetki, DENX Software Engineering, <lg@denx.de>
7#
8# SPDX-License-Identifier:	GPL-2.0+
9#
10
11include $(TOPDIR)/config.mk
12
13LIB	= $(obj)lib$(CPU).o
14
15START	= start.o
16COBJS	= cpu.o
17
18SRCS	:= $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
19OBJS	:= $(addprefix $(obj),$(COBJS) $(SOBJS))
20START	:= $(addprefix $(obj),$(START))
21
22all:	$(obj).depend $(START) $(LIB)
23
24$(LIB):	$(OBJS)
25	$(call cmd_link_o_target, $(OBJS))
26
27#########################################################################
28
29# defines $(obj).depend target
30include $(SRCTREE)/rules.mk
31
32sinclude $(obj).depend
33
34#########################################################################
35