aboutsummaryrefslogtreecommitdiff
path: root/lib/lzma
diff options
context:
space:
mode:
authorMasahiro Yamada2013-10-17 17:35:01 +0900
committerTom Rini2013-10-31 13:26:44 -0400
commit0a1a1575587b1ec28196b8519c812d6d468a344a (patch)
tree5e109319236ada90b0d0a9c700febdfc6fcc35b4 /lib/lzma
parent9cc1180c37ab2011ed274bf61565b4aa5c877123 (diff)
lib: convert makefiles to Kbuild style
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'lib/lzma')
-rw-r--r--lib/lzma/Makefile24
1 files changed, 1 insertions, 23 deletions
diff --git a/lib/lzma/Makefile b/lib/lzma/Makefile
index 412e187c57e..25c6797fb60 100644
--- a/lib/lzma/Makefile
+++ b/lib/lzma/Makefile
@@ -8,28 +8,6 @@
# SPDX-License-Identifier: GPL-2.0+
#
-include $(TOPDIR)/config.mk
-
-LIB = $(obj)liblzma.o
-
-SOBJS =
-
CFLAGS += -D_LZMA_PROB32
-COBJS-$(CONFIG_LZMA) += LzmaDec.o LzmaTools.o
-
-COBJS = $(COBJS-y)
-SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
-
-$(LIB): $(obj).depend $(OBJS)
- $(call cmd_link_o_target, $(OBJS))
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################
+obj-$(CONFIG_LZMA) += LzmaDec.o LzmaTools.o