summaryrefslogtreecommitdiff
path: root/board/friendlyarm/mini2440/Makefile
diff options
context:
space:
mode:
authorGabriel Huau <contact@huau-gabriel.fr>2012-05-02 10:48:37 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-10-03 10:50:27 +0200
commitb77026225a319066eaaa11839121a273469a2cf4 (patch)
treea2fb244a0b510c2c924a46ab9d038dedaa5354ce /board/friendlyarm/mini2440/Makefile
parent5d889ae79eee6d65b992ec29b8f8901e006ffa35 (diff)
downloadu-boot-imx-b77026225a319066eaaa11839121a273469a2cf4.zip
u-boot-imx-b77026225a319066eaaa11839121a273469a2cf4.tar.gz
u-boot-imx-b77026225a319066eaaa11839121a273469a2cf4.tar.bz2
ARM : Add support for MINI2440 (s3c2440).
Support of the MINI2440 board from FriendlyARM from an old version of u-boot : http://repo.or.cz/r/u-boot-openmoko/mini2440.git Currently, supporting only boot from NOR. Signed-off-by: Gabriel Huau <contact@huau-gabriel.fr>
Diffstat (limited to 'board/friendlyarm/mini2440/Makefile')
-rw-r--r--board/friendlyarm/mini2440/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/board/friendlyarm/mini2440/Makefile b/board/friendlyarm/mini2440/Makefile
new file mode 100644
index 0000000..b88e569
--- /dev/null
+++ b/board/friendlyarm/mini2440/Makefile
@@ -0,0 +1,44 @@
+#
+# (C) Copyright 2012
+# 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).o
+
+COBJS := mini2440.o
+
+SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS))
+SOBJS := $(addprefix $(obj),$(SOBJS))
+
+$(LIB): $(obj).depend $(OBJS) $(SOBJS)
+ $(call cmd_link_o_target, $(OBJS) $(SOBJS))
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################