2 # Cirrus Logic EP93xx CPU-specific Makefile
4 # Copyright (C) 2009 Matthias Kaehlcke <matthias@kaehlcke.net>
6 # Copyright (C) 2004, 2005
7 # Cory T. Tusar, Videon Central, Inc., <ctusar@videon-central.com>
10 # Dominic Rath <Dominic.Rath@gmx.de>
12 # Based on an original Makefile, which is
14 # (C) Copyright 2000, 2001, 2002
15 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
17 # SPDX-License-Identifier: GPL-2.0+
19 include $(TOPDIR)/config.mk
21 LIB = $(obj)lib$(SOC).o
23 COBJS = cpu.o led.o speed.o timer.o
24 SOBJS = lowlevel_init.o
26 SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
27 OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
29 all: $(obj).depend $(LIB)
32 $(call cmd_link_o_target, $(OBJS))
34 #########################################################################
36 # defines $(obj).depend target
37 include $(SRCTREE)/rules.mk
39 sinclude $(obj).depend
41 #########################################################################