summaryrefslogtreecommitdiff
path: root/board/lwmon5/Makefile
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-06-15 08:18:01 +0200
committerStefan Roese <sr@denx.de>2007-06-15 08:18:01 +0200
commitb765ffb773f5a3cd5aa94ec76b6a05276b8cd5b2 (patch)
tree656f947d6d3b4cf79cb0812dc568a47b639bf93a /board/lwmon5/Makefile
parent85f737376d5ff3d5f0d45a8b657686326d175307 (diff)
downloadu-boot-imx-b765ffb773f5a3cd5aa94ec76b6a05276b8cd5b2.zip
u-boot-imx-b765ffb773f5a3cd5aa94ec76b6a05276b8cd5b2.tar.gz
u-boot-imx-b765ffb773f5a3cd5aa94ec76b6a05276b8cd5b2.tar.bz2
[ppc4xx] Add initial lwmon5 board support
This patch adds initial support for the Liebherr lwmon5 board euqipped with an AMCC 440EPx PowerPC. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/lwmon5/Makefile')
-rw-r--r--board/lwmon5/Makefile51
1 files changed, 51 insertions, 0 deletions
diff --git a/board/lwmon5/Makefile b/board/lwmon5/Makefile
new file mode 100644
index 0000000..06ef7f9
--- /dev/null
+++ b/board/lwmon5/Makefile
@@ -0,0 +1,51 @@
+#
+# (C) Copyright 2002-2006
+# 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 = $(obj)lib$(BOARD).a
+
+COBJS = $(BOARD).o sdram.o
+SOBJS = init.o
+
+SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS))
+SOBJS := $(addprefix $(obj),$(SOBJS))
+
+$(LIB): $(OBJS) $(SOBJS)
+ $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
+
+clean:
+ rm -f $(SOBJS) $(OBJS)
+
+distclean: clean
+ rm -f $(LIB) core *.bak .depend
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################