blob: 40d2156f678dfca8df8cb7c17bf815565a1e45e3 [file] [log] [blame]
wdenk2e5983d2003-07-15 20:04:06 +00001#
Marian Balakowiczf9328632006-09-01 19:49:50 +02002# (C) Copyright 2000-2006
wdenk2e5983d2003-07-15 20:04:06 +00003# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
wdenk2e5983d2003-07-15 20:04:06 +00006#
7
8include $(TOPDIR)/config.mk
9
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010010LIB = $(obj)lib$(CPU).o
wdenk2e5983d2003-07-15 20:04:06 +000011
12START = start.o
Jean-Christophe PLAGNIOL-VILLARDb54384e2009-05-15 23:47:02 +020013
14COBJS += cpu.o
15COBJS += omap925.o
16COBJS += timer.o
wdenk2e5983d2003-07-15 20:04:06 +000017
Marian Balakowiczf9328632006-09-01 19:49:50 +020018SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
19OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
20START := $(addprefix $(obj),$(START))
21
22all: $(obj).depend $(START) $(LIB)
wdenk2e5983d2003-07-15 20:04:06 +000023
24$(LIB): $(OBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010025 $(call cmd_link_o_target, $(OBJS))
wdenk2e5983d2003-07-15 20:04:06 +000026
27#########################################################################
28
Marian Balakowiczf9328632006-09-01 19:49:50 +020029# defines $(obj).depend target
30include $(SRCTREE)/rules.mk
wdenk2e5983d2003-07-15 20:04:06 +000031
Marian Balakowiczf9328632006-09-01 19:49:50 +020032sinclude $(obj).depend
wdenk2e5983d2003-07-15 20:04:06 +000033
34#########################################################################