blob: 82a2208c1599dd94cbfa48a6f97e9ebf42377df3 [file] [log] [blame]
Stefano Babicdeb53482011-10-23 23:58:20 +00001#
2# Copyright (C) 2007, Guennadi Liakhovetski <lg@denx.de>
3#
4# (C) Copyright 2008-2009 Freescale Semiconductor, Inc.
5#
Wolfgang Denk1a459662013-07-08 09:37:19 +02006# SPDX-License-Identifier: GPL-2.0+
Stefano Babicdeb53482011-10-23 23:58:20 +00007#
8
9include $(TOPDIR)/config.mk
10
11LIB = $(obj)lib$(BOARD).o
12
13COBJS := flea3.o
14SOBJS := lowlevel_init.o
15
16SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
17OBJS := $(addprefix $(obj),$(COBJS))
18SOBJS := $(addprefix $(obj),$(SOBJS))
19
20$(LIB): $(obj).depend $(OBJS) $(SOBJS)
21 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
22
23clean:
24 rm -f $(SOBJS) $(OBJS)
25
26distclean: clean
27 rm -f $(LIB) core *.bak .depend
28
29#########################################################################
30
31# defines $(obj).depend target
32include $(SRCTREE)/rules.mk
33
34sinclude $(obj).depend
35
36#########################################################################