blob: e34e18217f208b6fd325536793d2002d9405447b [file] [log] [blame]
wdenk49822e22004-06-19 21:19:10 +00001#
2# board/mx1ads/Makefile
3#
Marian Balakowiczf9328632006-09-01 19:49:50 +02004# (C) Copyright 2006
5# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6#
wdenk49822e22004-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 Denk1a459662013-07-08 09:37:19 +020013# SPDX-License-Identifier: GPL-2.0+
wdenk2d24a3a2004-06-09 21:50:45 +000014
15include $(TOPDIR)/config.mk
16
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010017LIB = $(obj)lib$(BOARD).o
wdenk2d24a3a2004-06-09 21:50:45 +000018
Marian Balakowiczf9328632006-09-01 19:49:50 +020019COBJS := mx1ads.o syncflash.o
wdenk400558b2005-04-02 23:52:25 +000020SOBJS := lowlevel_init.o
wdenk2d24a3a2004-06-09 21:50:45 +000021
Marian Balakowiczf9328632006-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 Carlier6d8962e2010-11-05 15:48:07 +010027 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
wdenk2d24a3a2004-06-09 21:50:45 +000028
wdenk2d24a3a2004-06-09 21:50:45 +000029#########################################################################
30
Marian Balakowiczf9328632006-09-01 19:49:50 +020031# defines $(obj).depend target
32include $(SRCTREE)/rules.mk
wdenk2d24a3a2004-06-09 21:50:45 +000033
Marian Balakowiczf9328632006-09-01 19:49:50 +020034sinclude $(obj).depend
wdenk2d24a3a2004-06-09 21:50:45 +000035
36#########################################################################