summaryrefslogtreecommitdiff
path: root/cpu/arm_cortexa8/Makefile
diff options
context:
space:
mode:
authorDirk Behme <dirk.behme@googlemail.com>2008-12-14 09:47:13 +0100
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-01-24 17:51:21 +0100
commit0b02b184003e6a5023e05d5f31de54db279b1431 (patch)
treee83661bb41f4ed4b0b8602c592c307f70f774168 /cpu/arm_cortexa8/Makefile
parenta8b6450546cd507d331b8fde384791d84bde5651 (diff)
downloadu-boot-imx-0b02b184003e6a5023e05d5f31de54db279b1431.zip
u-boot-imx-0b02b184003e6a5023e05d5f31de54db279b1431.tar.gz
u-boot-imx-0b02b184003e6a5023e05d5f31de54db279b1431.tar.bz2
OMAP3: Add common cpu and start code
Add common cpu and start code. Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
Diffstat (limited to 'cpu/arm_cortexa8/Makefile')
-rw-r--r--cpu/arm_cortexa8/Makefile47
1 files changed, 47 insertions, 0 deletions
diff --git a/cpu/arm_cortexa8/Makefile b/cpu/arm_cortexa8/Makefile
new file mode 100644
index 0000000..ae20299
--- /dev/null
+++ b/cpu/arm_cortexa8/Makefile
@@ -0,0 +1,47 @@
+#
+# (C) Copyright 2000-2003
+# 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$(CPU).a
+
+START := start.o
+COBJS := cpu.o
+
+SRCS := $(START:.o=.S) $(COBJS:.o=.c)
+OBJS := $(addprefix $(obj),$(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
+
+######################################################################### \ No newline at end of file