blob: 9566cc86b218f7637e0e6e9a25beb0b386baaf06 [file] [log] [blame]
wdenk8bde7f72003-06-27 21:31:46 +00001
wdenke85390d2002-04-01 14:29:03 +00002#
Marian Balakowiczf9328632006-09-01 19:49:50 +02003# (C) Copyright 2001-2006
wdenke85390d2002-04-01 14:29:03 +00004# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5#
Wolfgang Denk1a459662013-07-08 09:37:19 +02006# SPDX-License-Identifier: GPL-2.0+
wdenke85390d2002-04-01 14:29:03 +00007#
8
9include $(TOPDIR)/config.mk
10
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010011LIB = $(obj)lib$(BOARD).o
wdenke85390d2002-04-01 14:29:03 +000012
Marian Balakowiczf9328632006-09-01 19:49:50 +020013COBJS = $(BOARD).o m48t59y.o pci.o flash.o
14SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
15OBJS := $(addprefix $(obj),$(COBJS))
16SOBJS := $(addprefix $(obj),$(SOBJS))
wdenke85390d2002-04-01 14:29:03 +000017
Marian Balakowiczf9328632006-09-01 19:49:50 +020018$(LIB): $(obj).depend $(OBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010019 $(call cmd_link_o_target, $(OBJS))
wdenke85390d2002-04-01 14:29:03 +000020
21#########################################################################
22
Marian Balakowiczf9328632006-09-01 19:49:50 +020023# defines $(obj).depend target
24include $(SRCTREE)/rules.mk
wdenke85390d2002-04-01 14:29:03 +000025
Marian Balakowiczf9328632006-09-01 19:49:50 +020026sinclude $(obj).depend
wdenke85390d2002-04-01 14:29:03 +000027
28#########################################################################