summaryrefslogtreecommitdiff
path: root/cpu/mpc512x/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 /cpu/mpc512x/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 'cpu/mpc512x/Makefile')
-rw-r--r--cpu/mpc512x/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/cpu/mpc512x/Makefile b/cpu/mpc512x/Makefile
new file mode 100644
index 0000000..2be35b2
--- /dev/null
+++ b/cpu/mpc512x/Makefile
@@ -0,0 +1,46 @@
+#
+# (C) Copyright 2007 DENX Software Engineering
+#
+# 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$(CPU).a
+
+START = start.o
+COBJS = traps.o cpu.o cpu_init.o speed.o interrupts.o serial.o fec.o i2c.o
+
+SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
+START := $(addprefix $(obj),$(START))
+
+all: $(obj).depend $(START) $(LIB)
+
+$(LIB): $(OBJS)
+ $(AR) $(ARFLAGS) $@ $(OBJS)
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################