blob: e34e18217f208b6fd325536793d2002d9405447b [file] [log] [blame]
wdenk9e930b62004-06-19 21:19:10 +00001#
2# board/mx1ads/Makefile
3#
Marian Balakowiczd62379d2006-09-01 19:49:50 +02004# (C) Copyright 2006
5# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6#
wdenk9e930b62004-06-19 21:19:10 +00007# (c) Copyright 2004
8# Techware Information Technology, Inc.
9# http://www.techware.com.tw/
10#
11# Ming-Len Wu <minglen_wu@techware.com.tw>
12#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +020013# SPDX-License-Identifier: GPL-2.0+
wdenk9f664dd2004-06-09 21:50:45 +000014
15include $(TOPDIR)/config.mk
16
Sebastien Carliera8d426f2010-11-05 15:48:07 +010017LIB = $(obj)lib$(BOARD).o
wdenk9f664dd2004-06-09 21:50:45 +000018
Marian Balakowiczd62379d2006-09-01 19:49:50 +020019COBJS := mx1ads.o syncflash.o
wdenk336b2bc2005-04-02 23:52:25 +000020SOBJS := lowlevel_init.o
wdenk9f664dd2004-06-09 21:50:45 +000021
Marian Balakowiczd62379d2006-09-01 19:49:50 +020022SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
23OBJS := $(addprefix $(obj),$(COBJS))
24SOBJS := $(addprefix $(obj),$(SOBJS))
25
26$(LIB): $(obj).depend $(OBJS) $(SOBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010027 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
wdenk9f664dd2004-06-09 21:50:45 +000028
wdenk9f664dd2004-06-09 21:50:45 +000029#########################################################################
30
Marian Balakowiczd62379d2006-09-01 19:49:50 +020031# defines $(obj).depend target
32include $(SRCTREE)/rules.mk
wdenk9f664dd2004-06-09 21:50:45 +000033
Marian Balakowiczd62379d2006-09-01 19:49:50 +020034sinclude $(obj).depend
wdenk9f664dd2004-06-09 21:50:45 +000035
36#########################################################################