summaryrefslogtreecommitdiff
path: root/board/freescale/c29xpcie/Makefile
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-08-13 09:14:02 -0400
committerTom Rini <trini@ti.com>2013-08-13 09:14:02 -0400
commitb98d934128bcd98106e764d2f492ac79c38ae53d (patch)
tree5e078614fccb51f34fa8f7aa8d92c4f5f518b686 /board/freescale/c29xpcie/Makefile
parent67cafc0861477bf19a587508ed13f4538c7a281e (diff)
parent3aab0cd852d7c9565c2559a7983cbb73852bac28 (diff)
downloadu-boot-imx-b98d934128bcd98106e764d2f492ac79c38ae53d.zip
u-boot-imx-b98d934128bcd98106e764d2f492ac79c38ae53d.tar.gz
u-boot-imx-b98d934128bcd98106e764d2f492ac79c38ae53d.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Diffstat (limited to 'board/freescale/c29xpcie/Makefile')
-rw-r--r--board/freescale/c29xpcie/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/board/freescale/c29xpcie/Makefile b/board/freescale/c29xpcie/Makefile
new file mode 100644
index 0000000..ab8eb8f
--- /dev/null
+++ b/board/freescale/c29xpcie/Makefile
@@ -0,0 +1,30 @@
+#
+# Copyright 2013 Freescale Semiconductor, Inc.
+#
+# SPDX-License-Identifier: GPL-2.0+
+
+include $(TOPDIR)/config.mk
+
+LIB = $(obj)lib$(BOARD).o
+
+COBJS-y += $(BOARD).o
+COBJS-y += cpld.o
+COBJS-y += ddr.o
+COBJS-y += law.o
+COBJS-y += tlb.o
+
+SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS-y))
+SOBJS := $(addprefix $(obj),$(SOBJS))
+
+$(LIB): $(obj).depend $(OBJS) $(SOBJS)
+ $(call cmd_link_o_target, $(OBJS))
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################