summaryrefslogtreecommitdiff
path: root/lib/zlib
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-10-17 17:35:01 +0900
committerTom Rini <trini@ti.com>2013-10-31 13:26:44 -0400
commit0a1a1575587b1ec28196b8519c812d6d468a344a (patch)
tree5e109319236ada90b0d0a9c700febdfc6fcc35b4 /lib/zlib
parent9cc1180c37ab2011ed274bf61565b4aa5c877123 (diff)
downloadu-boot-imx-0a1a1575587b1ec28196b8519c812d6d468a344a.zip
u-boot-imx-0a1a1575587b1ec28196b8519c812d6d468a344a.tar.gz
u-boot-imx-0a1a1575587b1ec28196b8519c812d6d468a344a.tar.bz2
lib: convert makefiles to Kbuild style
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'lib/zlib')
-rw-r--r--lib/zlib/Makefile22
1 files changed, 1 insertions, 21 deletions
diff --git a/lib/zlib/Makefile b/lib/zlib/Makefile
index b69e234..1e9e04d 100644
--- a/lib/zlib/Makefile
+++ b/lib/zlib/Makefile
@@ -5,24 +5,4 @@
# SPDX-License-Identifier: GPL-2.0+
#
-include $(TOPDIR)/config.mk
-
-LIB = $(obj)libz.o
-
-COBJS-$(CONFIG_ZLIB) += zlib.o
-
-COBJS := $(COBJS-y)
-SRCS := $(COBJS:.o=.c)
-OBJS := $(addprefix $(obj),$(COBJS))
-
-$(LIB): $(obj).depend $(OBJS)
- $(call cmd_link_o_target, $(OBJS))
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################
+obj-$(CONFIG_ZLIB) += zlib.o