diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2013-10-21 02:53:36 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-11-01 15:42:12 (GMT) |
commit | 36fde45c8bd23c187e4b9377ea80e0aebdcfe69f (patch) | |
tree | ca6a11ef3424d3106e6cafb3b7564079d0d23e6c /board/bf609-ezkit | |
parent | 64bd89e43778b488763f67fbb6bf79fc973e2892 (diff) | |
download | u-boot-36fde45c8bd23c187e4b9377ea80e0aebdcfe69f.tar.xz |
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/bf609-ezkit')
-rw-r--r-- | board/bf609-ezkit/Makefile | 30 |
1 files changed, 2 insertions, 28 deletions
diff --git a/board/bf609-ezkit/Makefile b/board/bf609-ezkit/Makefile index cd2fdc7..3bfd088 100644 --- a/board/bf609-ezkit/Makefile +++ b/board/bf609-ezkit/Makefile @@ -9,31 +9,5 @@ # SPDX-License-Identifier: GPL-2.0+ # -include $(TOPDIR)/config.mk - -LIB = $(obj)lib$(BOARD).o - -COBJS-y := $(BOARD).o -COBJS-$(CONFIG_BFIN_SOFT_SWITCH) += soft_switch.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)) - -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend - -######################################################################### - -# defines $(obj).depend target -include $(SRCTREE)/rules.mk - -sinclude $(obj).depend - -######################################################################### +obj-y := bf609-ezkit.o +obj-$(CONFIG_BFIN_SOFT_SWITCH) += soft_switch.o |