summaryrefslogtreecommitdiff
path: root/board/ads5121/Makefile
diff options
context:
space:
mode:
authorRafal Jaworowski <raj@semihalf.com>2007-07-27 14:43:59 +0200
committerRafal Jaworowski <raj@semihalf.com>2007-07-27 14:43:59 +0200
commit8993e54b6f397973794f3d6f47d3b3c0c98dd4f6 (patch)
treec5ce1d56f002d132d527f66afc9a35adb077b56f /board/ads5121/Makefile
parent1863cfb7b100ba0ee3401799457a01dc058745f8 (diff)
downloadu-boot-imx-8993e54b6f397973794f3d6f47d3b3c0c98dd4f6.zip
u-boot-imx-8993e54b6f397973794f3d6f47d3b3c0c98dd4f6.tar.gz
u-boot-imx-8993e54b6f397973794f3d6f47d3b3c0c98dd4f6.tar.bz2
[ADS5121] Support for the ADS5121 board
The following MPC5121e subsystems are supported: - low-level CPU init - NOR Boot Flash (common CFI driver) - DDR SDRAM - FEC - I2C - Watchdog Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com> Signed-off-by: Rafal Jaworowski <raj@semihalf.com> Signed-off-by: Jan Wrobel <wrr@semihalf.com>
Diffstat (limited to 'board/ads5121/Makefile')
-rw-r--r--board/ads5121/Makefile50
1 files changed, 50 insertions, 0 deletions
diff --git a/board/ads5121/Makefile b/board/ads5121/Makefile
new file mode 100644
index 0000000..cd8148c
--- /dev/null
+++ b/board/ads5121/Makefile
@@ -0,0 +1,50 @@
+#
+# (C) Copyright 2007
+# 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
+
+SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS))
+SOBJS := $(addprefix $(obj),$(SOBJS))
+
+$(LIB): $(obj).depend $(OBJS)
+ $(AR) $(ARFLAGS) $@ $(OBJS)
+
+clean:
+ rm -f $(SOBJS) $(OBJS)
+
+distclean: clean
+ rm -f $(LIB) core *.bak .depend
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################