summaryrefslogtreecommitdiffstats
path: root/board/schulercontrol/sc_sps_1/Makefile
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-08-07 00:01:52 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-09-01 14:58:18 +0200
commit4e3349b67e3490ad01d8bb14acf5e051f445bc28 (patch)
treeb619a29bd52d7af6351712276fe9bbf7f0bbc95d /board/schulercontrol/sc_sps_1/Makefile
parent8b165a5394723786dc94385f7ccad928ee28013b (diff)
downloadu-boot-4e3349b67e3490ad01d8bb14acf5e051f445bc28.tar.gz
u-boot-4e3349b67e3490ad01d8bb14acf5e051f445bc28.tar.xz
u-boot-4e3349b67e3490ad01d8bb14acf5e051f445bc28.zip
MX28: Add SchulerControl SC_SPS_1 platform
This i.MX28 platform supports the following: * 2x FEC ethernet * USB on USBH0 * I2C EEPROM * SPI NVRAM * LEDs Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'board/schulercontrol/sc_sps_1/Makefile')
-rw-r--r--board/schulercontrol/sc_sps_1/Makefile47
1 files changed, 47 insertions, 0 deletions
diff --git a/board/schulercontrol/sc_sps_1/Makefile b/board/schulercontrol/sc_sps_1/Makefile
new file mode 100644
index 0000000000..24a10032ae
--- /dev/null
+++ b/board/schulercontrol/sc_sps_1/Makefile
@@ -0,0 +1,47 @@
+#
+# (C) Copyright 2000-2012
+# 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 := sc_sps_1.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
+
+#########################################################################