summaryrefslogtreecommitdiff
path: root/board/freescale/m5275evb/Makefile
diff options
context:
space:
mode:
authorMatthew Fettke <[matthew.fettke@gmail.com]>2008-01-24 14:02:32 -0600
committerJohn Rigby <jrigby@freescale.com>2008-03-31 15:10:11 -0600
commit545c8e0a7cd3ca9d3846668f69b0d201250abea8 (patch)
tree681ee5e92ba0e5b9af6df7310e07bcf4e8eb6c79 /board/freescale/m5275evb/Makefile
parentf71d9d91a2cd9c30b2b6369f15c1a46c11537c2b (diff)
downloadu-boot-imx-545c8e0a7cd3ca9d3846668f69b0d201250abea8.zip
u-boot-imx-545c8e0a7cd3ca9d3846668f69b0d201250abea8.tar.gz
u-boot-imx-545c8e0a7cd3ca9d3846668f69b0d201250abea8.tar.bz2
ColdFire: Added M5275EVB support.
Signed-off-by: Matthew Fettke <mfettke@videon-central.com> Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com> Acked-by: John Rigby <jrigby@freescale.com>
Diffstat (limited to 'board/freescale/m5275evb/Makefile')
-rw-r--r--board/freescale/m5275evb/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/board/freescale/m5275evb/Makefile b/board/freescale/m5275evb/Makefile
new file mode 100644
index 0000000..9a0fa80
--- /dev/null
+++ b/board/freescale/m5275evb/Makefile
@@ -0,0 +1,40 @@
+#
+# (C) Copyright 2000-2003
+# 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 mii.o
+
+$(LIB): .depend $(OBJS)
+ $(AR) crv $@ $(OBJS)
+
+#########################################################################
+
+.depend: Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c)
+ $(CC) -M $(CFLAGS) $(SOBJS:.o=.S) $(OBJS:.o=.c) > $@
+
+sinclude .depend
+
+#########################################################################