summaryrefslogtreecommitdiff
path: root/board/digsy_mtc/Makefile
diff options
context:
space:
mode:
authorGrzegorz Bernacki <gjb@semihalf.com>2009-03-17 10:06:40 +0100
committerWolfgang Denk <wd@denx.de>2009-03-20 22:39:14 +0100
commit5c4fa9b474af95d60f019ec6369cbe77b9dab4b5 (patch)
treeb5fce8725007726afc47808b364b1e3b9cbde652 /board/digsy_mtc/Makefile
parentff7dc067369e30066744f096995aef7d97574d15 (diff)
downloadu-boot-imx-5c4fa9b474af95d60f019ec6369cbe77b9dab4b5.zip
u-boot-imx-5c4fa9b474af95d60f019ec6369cbe77b9dab4b5.tar.gz
u-boot-imx-5c4fa9b474af95d60f019ec6369cbe77b9dab4b5.tar.bz2
Add support for the digsy MTC board.
This is the InterControl custom device based on the MPC5200B chip. Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
Diffstat (limited to 'board/digsy_mtc/Makefile')
-rw-r--r--board/digsy_mtc/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/board/digsy_mtc/Makefile b/board/digsy_mtc/Makefile
new file mode 100644
index 0000000..7d659e5
--- /dev/null
+++ b/board/digsy_mtc/Makefile
@@ -0,0 +1,32 @@
+
+#
+# Author: Grzegorz Bernacki, Semihalf, gjb@semihalf.com
+#
+
+include $(TOPDIR)/config.mk
+
+LIB = $(obj)lib$(BOARD).a
+
+COBJS := $(BOARD).o
+
+SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS))
+SOBJS := $(addprefix $(obj),$(SOBJS))
+
+$(LIB): $(obj).depend $(OBJS)
+ $(AR) $(ARFLAGS) $@ $(OBJS)
+
+clean:
+ rm -f $(SOBJS) $(OBJS)
+
+distclean: clean
+ rm -f $(LIB) core *.bak .depend
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################