summaryrefslogtreecommitdiff
path: root/board/mimc/mimc200/Makefile
diff options
context:
space:
mode:
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-08-20 09:12:28 +0200
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-08-20 09:12:28 +0200
commit7321d7e7b6a96a9eed02e65d2d4377391dc7ea83 (patch)
tree4a31c8593505e06598eea72cc17806377eda919e /board/mimc/mimc200/Makefile
parent7772c13ba07eaabd42499998f3713b23350fc119 (diff)
parent13b50fe3bc065c48911fa373231421280855a9d6 (diff)
downloadu-boot-imx-7321d7e7b6a96a9eed02e65d2d4377391dc7ea83.zip
u-boot-imx-7321d7e7b6a96a9eed02e65d2d4377391dc7ea83.tar.gz
u-boot-imx-7321d7e7b6a96a9eed02e65d2d4377391dc7ea83.tar.bz2
Merge branch 'mimc200' of git://git.denx.de/u-boot-avr32
Conflicts: MAKEALL Makefile
Diffstat (limited to 'board/mimc/mimc200/Makefile')
-rw-r--r--board/mimc/mimc200/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/board/mimc/mimc200/Makefile b/board/mimc/mimc200/Makefile
new file mode 100644
index 0000000..9f3849f
--- /dev/null
+++ b/board/mimc/mimc200/Makefile
@@ -0,0 +1,40 @@
+#
+# Copyright (C) 2005-2006 Atmel Corporation
+#
+# 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
+
+SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
+
+$(LIB): $(obj).depend $(OBJS)
+ $(AR) $(ARFLAGS) $@ $(OBJS)
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################