summaryrefslogtreecommitdiff
path: root/board/hymod/Makefile
diff options
context:
space:
mode:
authorwdenk <wdenk>2001-08-05 15:35:05 +0000
committerwdenk <wdenk>2001-08-05 15:35:05 +0000
commit2dab301caa916c4d3cd707f70bfa029430f70d4b (patch)
tree146fbf0c936e6121a6b46c1580fd5c1af8f0e33d /board/hymod/Makefile
parenta475b5e2a0121c9234f66e1f5ed483814e07eb52 (diff)
downloadu-boot-imx-2dab301caa916c4d3cd707f70bfa029430f70d4b.zip
u-boot-imx-2dab301caa916c4d3cd707f70bfa029430f70d4b.tar.gz
u-boot-imx-2dab301caa916c4d3cd707f70bfa029430f70d4b.tar.bz2
Initial revision
Diffstat (limited to 'board/hymod/Makefile')
-rw-r--r--board/hymod/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/board/hymod/Makefile b/board/hymod/Makefile
new file mode 100644
index 0000000..1804b3c
--- /dev/null
+++ b/board/hymod/Makefile
@@ -0,0 +1,40 @@
+#
+# (C) Copyright 2000
+# 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 bsp.o eeprom.o fetch.o
+
+$(LIB): .depend $(OBJS)
+ $(AR) crv $@ $^
+
+#########################################################################
+
+.depend: Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c)
+ $(CC) -M $(CFLAGS) $(SOBJS:.o=.S) $(OBJS:.o=.c) > $@
+
+sinclude .depend
+
+#########################################################################