From 35c792754c0feb894781e1eee6ab6b6624beb309 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Thu, 17 Oct 2013 17:34:58 +0900 Subject: fs: convert makefiles to Kbuild style Signed-off-by: Masahiro Yamada --- fs/cbfs/Makefile | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'fs/cbfs') diff --git a/fs/cbfs/Makefile b/fs/cbfs/Makefile index 190fd8e561..6f33d2813d 100644 --- a/fs/cbfs/Makefile +++ b/fs/cbfs/Makefile @@ -3,26 +3,4 @@ # SPDX-License-Identifier: GPL-2.0+ # -include $(TOPDIR)/config.mk - -LIB = $(obj)libcbfs.o - -COBJS-$(CONFIG_CMD_CBFS) := cbfs.o - -SRCS := $(COBJS-y:.o=.c) -OBJS := $(addprefix $(obj),$(COBJS-y)) - -all: $(LIB) - -$(LIB): $(obj).depend $(OBJS) - $(call cmd_link_o_target, $(OBJS)) - - -######################################################################### - -# defines $(obj).depend target -include $(SRCTREE)/rules.mk - -sinclude $(obj).depend - -######################################################################### +obj-$(CONFIG_CMD_CBFS) := cbfs.o -- cgit v1.2.3