blob: 70603414f4ee0d6e224f017873eb61eb018c0979 [file] [log] [blame]
Gabor Juhos5a4dcfa2013-05-22 03:57:37 +00001#
2# (C) Copyright 2003-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Tom Rini0b179982013-07-24 09:34:30 -04005# SPDX-License-Identifier: GPL-2.0+
Gabor Juhos5a4dcfa2013-05-22 03:57:37 +00006#
7
8include $(TOPDIR)/config.mk
9
10LIB = $(obj)lib$(BOARD).o
11
12COBJS = $(BOARD).o
13SOBJS = lowlevel_init.o
14
15SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
16OBJS := $(addprefix $(obj),$(COBJS))
17SOBJS := $(addprefix $(obj),$(SOBJS))
18
19$(LIB): $(OBJS) $(SOBJS)
20 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
21
22#########################################################################
23
24# defines $(obj).depend target
25include $(SRCTREE)/rules.mk
26
27sinclude $(obj).depend
28
29#########################################################################