blob: 57cc460991ddc8f03d653a915abceadfdfc16e3b [file] [log] [blame]
Kristoffer Ericson80bf2bb2010-10-15 23:31:43 +02001#
2# (C) Copyright 2000-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# 2004 (c) MontaVista Software, Inc.
6#
Wolfgang Denk1a459662013-07-08 09:37:19 +02007# SPDX-License-Identifier: GPL-2.0+
Kristoffer Ericson80bf2bb2010-10-15 23:31:43 +02008#
9
10include $(TOPDIR)/config.mk
11
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010012LIB = $(obj)lib$(BOARD).o
Kristoffer Ericson80bf2bb2010-10-15 23:31:43 +020013
14COBJS := jornada.o
15SOBJS := setup.o
16
17SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
18OBJS := $(addprefix $(obj),$(COBJS))
19SOBJS := $(addprefix $(obj),$(SOBJS))
20
21$(LIB): $(obj).depend $(OBJS) $(SOBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010022 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
Kristoffer Ericson80bf2bb2010-10-15 23:31:43 +020023
Kristoffer Ericson80bf2bb2010-10-15 23:31:43 +020024#########################################################################
25
26# defines $(obj).depend target
27include $(SRCTREE)/rules.mk
28
29sinclude $(obj).depend
30
31#########################################################################