summaryrefslogtreecommitdiff
path: root/board/bluegiga/apx4devkit/Makefile
diff options
context:
space:
mode:
authorVeli-Pekka Peltola <veli-pekka.peltola@bluegiga.com>2012-07-09 03:14:50 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-09-01 14:58:16 +0200
commitc1393bb3def33b8ec154e4b6f06ed1ad81e052a1 (patch)
treefd77728fff9b67a7631b1f85ec5cef31e2d52187 /board/bluegiga/apx4devkit/Makefile
parentb0261b121238c00be9793f9527e823f37025dea7 (diff)
downloadu-boot-imx-c1393bb3def33b8ec154e4b6f06ed1ad81e052a1.zip
u-boot-imx-c1393bb3def33b8ec154e4b6f06ed1ad81e052a1.tar.gz
u-boot-imx-c1393bb3def33b8ec154e4b6f06ed1ad81e052a1.tar.bz2
Add support for Bluegiga APX4 Development Kit
This adds support for Bluegiga APX4 Development Kit. It is built around Freescale i.MX28. Currently supported features are: ethernet, I2C, MMC, RTC and USB. APX4 has only one ethernet port. Signed-off-by: Veli-Pekka Peltola <veli-pekka.peltola@bluegiga.com> Signed-off-by: Lauri Hintsala <lauri.hintsala@bluegiga.com> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board/bluegiga/apx4devkit/Makefile')
-rw-r--r--board/bluegiga/apx4devkit/Makefile47
1 files changed, 47 insertions, 0 deletions
diff --git a/board/bluegiga/apx4devkit/Makefile b/board/bluegiga/apx4devkit/Makefile
new file mode 100644
index 0000000..68ab8f3
--- /dev/null
+++ b/board/bluegiga/apx4devkit/Makefile
@@ -0,0 +1,47 @@
+#
+# (C) Copyright 2000-2006
+# 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
+
+ifndef CONFIG_SPL_BUILD
+COBJS := apx4devkit.o
+else
+COBJS := spl_boot.o
+endif
+
+SRCS := $(COBJS:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS))
+
+$(LIB): $(obj).depend $(OBJS)
+ $(call cmd_link_o_target, $(OBJS))
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################