summaryrefslogtreecommitdiff
path: root/board/ppcag/bg0900/Makefile
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2013-09-20 16:14:13 +0200
committerStefano Babic <sbabic@denx.de>2013-10-17 09:44:20 +0200
commitf97271612bb1767e0c0b816827603380d7d7e1b6 (patch)
tree093d7fff47def67931ae45b84ee42ee5ee78e554 /board/ppcag/bg0900/Makefile
parent0c5e26678b18e136c1514bf769a16060ae1b5ff8 (diff)
downloadu-boot-imx-f97271612bb1767e0c0b816827603380d7d7e1b6.zip
u-boot-imx-f97271612bb1767e0c0b816827603380d7d7e1b6.tar.gz
u-boot-imx-f97271612bb1767e0c0b816827603380d7d7e1b6.tar.bz2
ARM: mxs: Add PPC-AG BG0900 board
This board supports FEC Ethernet, SPI NOR and NAND flash. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Christoph Baumann <c.baumann@ppc-ag.de>
Diffstat (limited to 'board/ppcag/bg0900/Makefile')
-rw-r--r--board/ppcag/bg0900/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/board/ppcag/bg0900/Makefile b/board/ppcag/bg0900/Makefile
new file mode 100644
index 0000000..e17c0a5
--- /dev/null
+++ b/board/ppcag/bg0900/Makefile
@@ -0,0 +1,31 @@
+#
+# (C) Copyright 2000-2006
+# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+#
+# SPDX-License-Identifier: GPL-2.0+
+#
+
+include $(TOPDIR)/config.mk
+
+LIB = $(obj)lib$(BOARD).o
+
+ifndef CONFIG_SPL_BUILD
+COBJS := bg0900.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
+
+#########################################################################