summaryrefslogtreecommitdiff
path: root/board/freescale/mx6q_sabresd/Makefile
diff options
context:
space:
mode:
authorNancy Chen <Nancy.Chen@freescale.com>2012-01-23 05:39:32 -0600
committerNancy Chen <Nancy.Chen@freescale.com>2012-01-24 10:08:28 -0600
commit23971b0a8f674460c367b9556bc3e4c95e16faeb (patch)
treee59ac3d6b2dbcc5e6d01cd020c8b192c07631fce /board/freescale/mx6q_sabresd/Makefile
parent62ade1e4ba642f476d0f7a6f756d9e6f14d3c0bb (diff)
downloadu-boot-imx-23971b0a8f674460c367b9556bc3e4c95e16faeb.zip
u-boot-imx-23971b0a8f674460c367b9556bc3e4c95e16faeb.tar.gz
u-boot-imx-23971b0a8f674460c367b9556bc3e4c95e16faeb.tar.bz2
ENGR00172343 Add suport for i.MX 6Q Sabre Smart Device
Add suport for i.MX 6Quad SABRE Smart Device. Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com> Signed-off-by: Tony Lin <tony.lin@freescale.com> Signed-off-by: Frank Li <Frank.Li@freescale.com>
Diffstat (limited to 'board/freescale/mx6q_sabresd/Makefile')
-rw-r--r--board/freescale/mx6q_sabresd/Makefile47
1 files changed, 47 insertions, 0 deletions
diff --git a/board/freescale/mx6q_sabresd/Makefile b/board/freescale/mx6q_sabresd/Makefile
new file mode 100644
index 0000000..1d63462
--- /dev/null
+++ b/board/freescale/mx6q_sabresd/Makefile
@@ -0,0 +1,47 @@
+#
+# (C) Copyright 2012 Freescale Semiconductor, Inc.
+#
+# 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).a
+
+COBJS := $(BOARD).o
+SOBJS := lowlevel_init.o flash_header.o
+
+SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS))
+SOBJS := $(addprefix $(obj),$(SOBJS))
+
+$(LIB): $(obj).depend $(OBJS) $(SOBJS)
+ $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
+
+clean:
+ rm -f $(SOBJS) $(OBJS)
+
+distclean: clean
+ rm -f $(LIB) core *.bak .depend
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################