summaryrefslogtreecommitdiff
path: root/board/mpc8540eval/Makefile
diff options
context:
space:
mode:
authorLunsheng Wang <lunsheng@sohu.com>2005-07-29 10:20:29 -0500
committerJon Loeliger <jdl@freescale.com>2005-07-29 10:20:29 -0500
commitb0e32949239c7870d409ca687a2dfc1261a3d838 (patch)
treeca388e33fad2066128d6d34ceb54eeeb07a71710 /board/mpc8540eval/Makefile
parenta720fd99b614ba36293565771bcd19799bc53959 (diff)
downloadu-boot-imx-b0e32949239c7870d409ca687a2dfc1261a3d838.zip
u-boot-imx-b0e32949239c7870d409ca687a2dfc1261a3d838.tar.gz
u-boot-imx-b0e32949239c7870d409ca687a2dfc1261a3d838.tar.bz2
* Patch by Ron Alder, 11 July 2005
Add Xianghua Xiao and Lunsheng Wang's support for the GDA MPC8540 EVAL board.
Diffstat (limited to 'board/mpc8540eval/Makefile')
-rw-r--r--board/mpc8540eval/Makefile49
1 files changed, 49 insertions, 0 deletions
diff --git a/board/mpc8540eval/Makefile b/board/mpc8540eval/Makefile
new file mode 100644
index 0000000..6f1995e
--- /dev/null
+++ b/board/mpc8540eval/Makefile
@@ -0,0 +1,49 @@
+#
+# (C) Copyright 2001
+# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+#
+# See file CREDITS for list of people who contributed to this
+# project.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+
+include $(TOPDIR)/config.mk
+
+LIB = lib$(BOARD).a
+
+OBJS := $(BOARD).o flash.o
+#OBJS := $(BOARD).o flash.o $(BOARD)_slave.o
+SOBJS := init.o
+#SOBJS :=
+
+$(LIB): $(OBJS) $(SOBJS)
+ $(AR) crv $@ $(OBJS)
+
+clean:
+ rm -f $(OBJS) $(SOBJS)
+
+distclean: clean
+ rm -f $(LIB) core *.bak .depend
+
+#########################################################################
+
+.depend: Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c)
+ $(CC) -M $(CPPFLAGS) $(SOBJS:.o=.S) $(OBJS:.o=.c) > $@
+
+-include .depend
+
+#########################################################################