summaryrefslogtreecommitdiff
path: root/board/samsung/goni/Makefile
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-06-17 21:06:16 +0200
committerWolfgang Denk <wd@denx.de>2010-06-17 21:06:16 +0200
commit399b09331f313d57b16b583f453387231d217f15 (patch)
tree240defa6bd80bdcd4ba89c9ba8f27093939d54b0 /board/samsung/goni/Makefile
parenta9046b9e1aeeedc66ddf1d00474ad0ce8c6aa6e4 (diff)
parent376e7fadbad3285231e390c6534feb5af86d594b (diff)
downloadu-boot-imx-399b09331f313d57b16b583f453387231d217f15.zip
u-boot-imx-399b09331f313d57b16b583f453387231d217f15.tar.gz
u-boot-imx-399b09331f313d57b16b583f453387231d217f15.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-arm
Diffstat (limited to 'board/samsung/goni/Makefile')
-rw-r--r--board/samsung/goni/Makefile54
1 files changed, 54 insertions, 0 deletions
diff --git a/board/samsung/goni/Makefile b/board/samsung/goni/Makefile
new file mode 100644
index 0000000..9b4c886
--- /dev/null
+++ b/board/samsung/goni/Makefile
@@ -0,0 +1,54 @@
+#
+# (C) Copyright 2000, 2001, 2002
+# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+#
+# (C) Copyright 2008
+# Guennadi Liakhovetki, DENX Software Engineering, <lg@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-y := goni.o onenand.o
+SOBJS := lowlevel_init.o
+
+SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS-y))
+SOBJS := $(addprefix $(obj),$(SOBJS))
+
+$(LIB): $(obj).depend $(SOBJS) $(OBJS)
+ $(AR) $(ARFLAGS) $@ $(SOBJS) $(OBJS)
+
+clean:
+ rm -f $(SOBJS) $(OBJS)
+
+distclean: clean
+ rm -f $(LIB) core *.bak $(obj).depend
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################