blob: 2772a24dc692c425a1fde2e70189856c453df633 [file] [log] [blame]
Pali Roháred407be2012-10-29 07:54:01 +00001#
2# (C) Copyright 2000, 2001, 2002
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Pali Roháred407be2012-10-29 07:54:01 +00006#
7
8include $(TOPDIR)/config.mk
9
10LIB = $(obj)lib$(BOARD).o
11
12COBJS-y := $(BOARD).o
13SOBJS-y := lowlevel_init.o
14
15COBJS := $(sort $(COBJS-y))
16SOBJS := $(sort $(SOBJS-y))
17SRCS := $(COBJS:.o=.c) $(SOBJS:.o=.S)
18OBJS := $(addprefix $(obj),$(COBJS)) $(addprefix $(obj),$(SOBJS))
19
20$(LIB): $(obj).depend $(OBJS)
21 $(call cmd_link_o_target, $(OBJS))
22
23#########################################################################
24
25# defines $(obj).depend target
26include $(SRCTREE)/rules.mk
27
28sinclude $(obj).depend
29
30#########################################################################