summaryrefslogtreecommitdiff
path: root/board/sbc8641d/Makefile
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-08-13 22:00:25 +0200
committerWolfgang Denk <wd@denx.de>2007-08-13 22:00:25 +0200
commit8a92b7c60b40ff79e2cc96e13aeac2a531dde473 (patch)
tree8a1d8883fa6868b8c0acd529b49fd5c00b425301 /board/sbc8641d/Makefile
parentbe5d72d10d47609326226225181e301fb9a33b58 (diff)
parent8e2dd87eee01bb1b83beab7caf22b851c5cafb2c (diff)
downloadu-boot-imx-8a92b7c60b40ff79e2cc96e13aeac2a531dde473.zip
u-boot-imx-8a92b7c60b40ff79e2cc96e13aeac2a531dde473.tar.gz
u-boot-imx-8a92b7c60b40ff79e2cc96e13aeac2a531dde473.tar.bz2
Merge with /home/wd/git/u-boot/custodian/u-boot-mpc86xx
Diffstat (limited to 'board/sbc8641d/Makefile')
-rw-r--r--board/sbc8641d/Makefile52
1 files changed, 52 insertions, 0 deletions
diff --git a/board/sbc8641d/Makefile b/board/sbc8641d/Makefile
new file mode 100644
index 0000000..a90b725
--- /dev/null
+++ b/board/sbc8641d/Makefile
@@ -0,0 +1,52 @@
+#
+# (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 = $(obj)lib$(BOARD).a
+
+COBJS := $(BOARD).o
+SOBJS := init.o
+
+SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS))
+SOBJS := $(addprefix $(obj),$(SOBJS))
+
+$(LIB): $(obj).depend $(OBJS) $(SOBJS)
+ $(AR) $(ARFLAGS) $@ $(OBJS)
+
+clean:
+ rm -f $(OBJS) $(SOBJS)
+
+.PHONY: distclean
+distclean: clean
+ rm -f $(LIB) core *.bak .depend
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude ($obj).depend
+
+#########################################################################