blob: e71625ef40b3f1dde220e55c534603b919bfe361 [file] [log] [blame]
stefano babic5e5803e2007-08-30 23:01:49 +02001#
2# (C) Copyright 2000-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+
stefano babic5e5803e2007-08-30 23:01:49 +02006#
7
8include $(TOPDIR)/config.mk
9
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010010LIB = $(obj)lib$(BOARD).o
stefano babic5e5803e2007-08-30 23:01:49 +020011
12COBJS := conxs.o eeprom.o
stefano babic5e5803e2007-08-30 23:01:49 +020013
Marek Vasutcc72ac62010-10-20 21:28:14 +020014SRCS := $(COBJS:.o=.c)
stefano babic5e5803e2007-08-30 23:01:49 +020015OBJS := $(addprefix $(obj),$(COBJS))
stefano babic5e5803e2007-08-30 23:01:49 +020016
Marek Vasutcc72ac62010-10-20 21:28:14 +020017$(LIB): $(obj).depend $(OBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010018 $(call cmd_link_o_target, $(OBJS))
stefano babic5e5803e2007-08-30 23:01:49 +020019
stefano babic5e5803e2007-08-30 23:01:49 +020020#########################################################################
21
22# defines $(obj).depend target
23include $(SRCTREE)/rules.mk
24
25sinclude $(obj).depend
26
27#########################################################################