xref: /openbmc/u-boot/arch/arm/cpu/arm920t/ep93xx/Makefile (revision 8b485ba1)
1#
2# Cirrus Logic EP93xx CPU-specific Makefile
3#
4# Copyright (C) 2009 Matthias Kaehlcke <matthias@kaehlcke.net>
5#
6# Copyright (C) 2004, 2005
7# Cory T. Tusar, Videon Central, Inc., <ctusar@videon-central.com>
8#
9# Copyright (C) 2006
10# Dominic Rath <Dominic.Rath@gmx.de>
11#
12# Based on an original Makefile, which is
13#
14# (C) Copyright 2000, 2001, 2002
15# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
16#
17# SPDX-License-Identifier:	GPL-2.0+
18#
19include $(TOPDIR)/config.mk
20
21LIB = $(obj)lib$(SOC).o
22
23COBJS   = cpu.o led.o speed.o timer.o
24SOBJS   = lowlevel_init.o
25
26SRCS    := $(SOBJS:.o=.S) $(COBJS:.o=.c)
27OBJS    := $(addprefix $(obj),$(SOBJS) $(COBJS))
28
29all:    $(obj).depend $(LIB)
30
31$(LIB): $(OBJS)
32	$(call cmd_link_o_target, $(OBJS))
33
34#########################################################################
35
36# defines $(obj).depend target
37include $(SRCTREE)/rules.mk
38
39sinclude $(obj).depend
40
41#########################################################################
42