]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/karo/tx6/Makefile
merged tx6dl-devel into denx master branch
[karo-tx-uboot.git] / board / karo / tx6 / Makefile
diff --git a/board/karo/tx6/Makefile b/board/karo/tx6/Makefile
new file mode 100644 (file)
index 0000000..37c90e7
--- /dev/null
@@ -0,0 +1,31 @@
+#
+# (C) Copyright 2009 DENX Software Engineering
+# Author: John Rigby <jcrigby@gmail.com>
+#
+# SPDX-License-Identifier:     GPL-2.0+
+#
+
+include $(TOPDIR)/config.mk
+
+LIB    = $(obj)lib$(BOARD).o
+
+COBJS  := tx6qdl.o
+SOBJS  := lowlevel_init.o
+ifeq ($(CONFIG_CMD_ROMUPDATE),y)
+       COBJS += flash.o
+endif
+
+SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS   := $(addprefix $(obj),$(COBJS))
+SOBJS  := $(addprefix $(obj),$(SOBJS))
+
+$(LIB):        $(obj).depend $(OBJS) $(SOBJS)
+       $(call cmd_link_o_target, $(OBJS) $(SOBJS))
+
+#########################################################################
+
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################