summaryrefslogtreecommitdiff
path: root/cpu/at32ap/at32ap700x/Makefile
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2007-10-29 13:09:56 +0100
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-12-17 10:34:12 +0100
commit36f28f8a9605ee5dcfa330482cfc62171261af97 (patch)
tree6a5c181ebf6c8f0d2b55c131afc597a45cbea190 /cpu/at32ap/at32ap700x/Makefile
parent4d5fa99c73f354e7cf985efcf417ea55ca2f6a5e (diff)
downloadu-boot-imx-36f28f8a9605ee5dcfa330482cfc62171261af97.zip
u-boot-imx-36f28f8a9605ee5dcfa330482cfc62171261af97.tar.gz
u-boot-imx-36f28f8a9605ee5dcfa330482cfc62171261af97.tar.bz2
AVR32: Rename at32ap7000 -> at32ap700x
The SoC-specific code for all the AT32AP700x CPUs is practically identical; the only difference is that some chips have less features than others. By doing this rename, we can add support for the AP7000 derivatives simply by making some features conditional. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'cpu/at32ap/at32ap700x/Makefile')
-rw-r--r--cpu/at32ap/at32ap700x/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/cpu/at32ap/at32ap700x/Makefile b/cpu/at32ap/at32ap700x/Makefile
new file mode 100644
index 0000000..d276712
--- /dev/null
+++ b/cpu/at32ap/at32ap700x/Makefile
@@ -0,0 +1,43 @@
+#
+# 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$(SOC).a
+
+COBJS := gpio.o
+SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
+
+all: $(obj).depend $(LIB)
+
+$(LIB): $(OBJS)
+ $(AR) $(ARFLAGS) $@ $^
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################