blob: 70603414f4ee0d6e224f017873eb61eb018c0979 [file] [log] [blame]
Vlad Lungu0764c162008-01-16 19:27:51 +02001#
2# (C) Copyright 2003-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Vlad Lungu0764c162008-01-16 19:27:51 +02006#
7
8include $(TOPDIR)/config.mk
9
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010010LIB = $(obj)lib$(BOARD).o
Vlad Lungu0764c162008-01-16 19:27:51 +020011
Jean-Christophe PLAGNIOL-VILLARDbeeccf72008-02-17 16:58:04 +010012COBJS = $(BOARD).o
Vlad Lungu0764c162008-01-16 19:27:51 +020013SOBJS = lowlevel_init.o
14
15SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
16OBJS := $(addprefix $(obj),$(COBJS))
17SOBJS := $(addprefix $(obj),$(SOBJS))
18
19$(LIB): $(OBJS) $(SOBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010020 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
Vlad Lungu0764c162008-01-16 19:27:51 +020021
22#########################################################################
23
24# defines $(obj).depend target
25include $(SRCTREE)/rules.mk
26
27sinclude $(obj).depend
28
29#########################################################################