blob: 5aaf766a0d0503b2f10318346b60de85e21664fd [file] [log] [blame]
Sascha Hauera5864c02008-03-26 20:41:17 +01001#
2# (C) Copyright 2000-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Sascha Hauera5864c02008-03-26 20:41:17 +01006#
7
8include $(TOPDIR)/config.mk
9
Sebastien Carliera8d426f2010-11-05 15:48:07 +010010LIB = $(obj)lib$(BOARD).o
Sascha Hauera5864c02008-03-26 20:41:17 +010011
12COBJS := imx31_phycore.o
13SOBJS := lowlevel_init.o
14
15SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
16OBJS := $(addprefix $(obj),$(COBJS))
17SOBJS := $(addprefix $(obj),$(SOBJS))
18
19$(LIB): $(obj).depend $(OBJS) $(SOBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010020 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
Sascha Hauera5864c02008-03-26 20:41:17 +010021
Sascha Hauera5864c02008-03-26 20:41:17 +010022#########################################################################
23
24# defines $(obj).depend target
25include $(SRCTREE)/rules.mk
26
27sinclude $(obj).depend
28
29#########################################################################