summaryrefslogtreecommitdiff
path: root/board/rattler/Makefile
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-04-03 23:11:38 +0000
committerwdenk <wdenk>2005-04-03 23:11:38 +0000
commit8b0bfc6804ad140a3bd31bfb2c15fc7d69c15f5c (patch)
treec70489e8bea07c692eae7ee5a7cf7d7b6eaf09f5 /board/rattler/Makefile
parent384cc687445b34241fcc8b31bbb7aa9fc252dd90 (diff)
downloadu-boot-imx-8b0bfc6804ad140a3bd31bfb2c15fc7d69c15f5c.zip
u-boot-imx-8b0bfc6804ad140a3bd31bfb2c15fc7d69c15f5c.tar.gz
u-boot-imx-8b0bfc6804ad140a3bd31bfb2c15fc7d69c15f5c.tar.bz2
* Patch by Yuli Barcohen, 08 Nov 2004:
Add support for Analogue & Micro Rattler boards. Tested on Rattler8248. * Patch by Andre Renaud, 08 Nov 2004: Fix watchdog support in common/lcd.c * Patch by Marc Leeman, 05 Nov 2003: Enable all 4 PCMBRW buffers for the MPC8245 processor since the CPU bug only affects the XPC8245 processors
Diffstat (limited to 'board/rattler/Makefile')
-rw-r--r--board/rattler/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/board/rattler/Makefile b/board/rattler/Makefile
new file mode 100644
index 0000000..52f0fd6
--- /dev/null
+++ b/board/rattler/Makefile
@@ -0,0 +1,46 @@
+#
+# (C) Copyright 2001-2005
+# 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
+
+$(LIB): $(OBJS) $(SOBJS)
+ $(AR) crv $@ $(OBJS)
+
+clean:
+ rm -f $(SOBJS) $(OBJS)
+
+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
+
+#########################################################################