summaryrefslogtreecommitdiff
path: root/board/bf537-stamp/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-10-21 11:53:36 +0900
committerTom Rini <trini@ti.com>2013-11-01 11:42:12 -0400
commit36fde45c8bd23c187e4b9377ea80e0aebdcfe69f (patch)
treeca6a11ef3424d3106e6cafb3b7564079d0d23e6c /board/bf537-stamp/Makefile
parent64bd89e43778b488763f67fbb6bf79fc973e2892 (diff)
downloadu-boot-imx-36fde45c8bd23c187e4b9377ea80e0aebdcfe69f.zip
u-boot-imx-36fde45c8bd23c187e4b9377ea80e0aebdcfe69f.tar.gz
u-boot-imx-36fde45c8bd23c187e4b9377ea80e0aebdcfe69f.tar.bz2
blackfin: convert makefiles to Kbuild style
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Sonic Zhang <sonic.zhang@analog.com>
Diffstat (limited to 'board/bf537-stamp/Makefile')
-rw-r--r--board/bf537-stamp/Makefile26
1 files changed, 3 insertions, 23 deletions
diff --git a/board/bf537-stamp/Makefile b/board/bf537-stamp/Makefile
index 3e267ed..234119a 100644
--- a/board/bf537-stamp/Makefile
+++ b/board/bf537-stamp/Makefile
@@ -9,26 +9,6 @@
# SPDX-License-Identifier: GPL-2.0+
#
-include $(TOPDIR)/config.mk
-
-LIB = $(obj)lib$(BOARD).o
-
-COBJS-y := $(BOARD).o
-COBJS-$(CONFIG_BFIN_IDE) += ide-cf.o
-COBJS-$(CONFIG_HAS_POST) += post-memory.o
-
-SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
-OBJS := $(addprefix $(obj),$(COBJS-y))
-SOBJS := $(addprefix $(obj),$(SOBJS-y))
-
-$(LIB): $(obj).depend $(OBJS) $(SOBJS)
- $(call cmd_link_o_target, $(OBJS) $(SOBJS))
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################
+obj-y := bf537-stamp.o
+obj-$(CONFIG_BFIN_IDE) += ide-cf.o
+obj-$(CONFIG_HAS_POST) += post-memory.o