2009-06-30 23:17:48

by Anton Blanchard

[permalink] [raw]
Subject: [patch 2/8] perf_counter tools: Remove zlib dependency

The zlib devel libraries may not be installed and since we aren't using zlib
we may as well remove it.

Signed-off-by: Anton Blanchard <[email protected]>
---

Index: linux-2.6-tip/tools/perf/Makefile
===================================================================
--- linux-2.6-tip.orig/tools/perf/Makefile 2009-07-01 08:21:13.000000000 +1000
+++ linux-2.6-tip/tools/perf/Makefile 2009-07-01 08:21:28.000000000 +1000
@@ -379,12 +379,6 @@
endif
endif

-ifdef ZLIB_PATH
- BASIC_CFLAGS += -I$(ZLIB_PATH)/include
- EXTLIBS += -L$(ZLIB_PATH)/$(lib) $(CC_LD_DYNPATH)$(ZLIB_PATH)/$(lib)
-endif
-EXTLIBS += -lz
-
ifdef NEEDS_SOCKET
EXTLIBS += -lsocket
endif

--


2009-06-30 23:29:25

by Anton Blanchard

[permalink] [raw]
Subject: [tip:perfcounters/urgent] perf_counter tools: Remove zlib dependency

Commit-ID: 6717534ddc328ae5cdf89f1ef802db83fc451f19
Gitweb: http://git.kernel.org/tip/6717534ddc328ae5cdf89f1ef802db83fc451f19
Author: Anton Blanchard <[email protected]>
AuthorDate: Wed, 1 Jul 2009 09:00:45 +1000
Committer: Ingo Molnar <[email protected]>
CommitDate: Wed, 1 Jul 2009 01:25:18 +0200

perf_counter tools: Remove zlib dependency

The zlib devel libraries may not be installed and since we aren't
using zlib we may as well remove it.

Signed-off-by: Anton Blanchard <[email protected]>
Cc: [email protected]
Cc: [email protected]
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>


---
tools/perf/Makefile | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 9c6d0ae..f572c90 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -381,12 +381,6 @@ ifndef CC_LD_DYNPATH
endif
endif

-ifdef ZLIB_PATH
- BASIC_CFLAGS += -I$(ZLIB_PATH)/include
- EXTLIBS += -L$(ZLIB_PATH)/$(lib) $(CC_LD_DYNPATH)$(ZLIB_PATH)/$(lib)
-endif
-EXTLIBS += -lz
-
ifdef NEEDS_SOCKET
EXTLIBS += -lsocket
endif