perf: remove dep on -lelf during libaudit check
PATCH 1/2 perf: remove dep on -lelf during libaudit check
If your machine does not have the elfutils-devel installed on it, then the check of libaudit will fail even though the machine has the audit-libs-devel package installed.
The check for -lelf is unneeded.
--- tools/perf/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
tools/perf/Makefile +1 -1
@@ -518,7 +518,7 @@ PERFLIBS = $(LIB_FILE) -include config.mak ifndef NO_AUDIT -FLAGS_AUDIT=$(ALL_CFLAGS) -laudit $(ALL_LDFLAGS) $(EXTLIBS) +FLAGS_AUDIT=$(ALL_CFLAGS) -laudit $(ALL_LDFLAGS) ifneq ($(call try-cc,$(SOURCE_AUDIT),$(FLAGS_AUDIT)),y) msg := $(error No libaudit found. Please install audit-libs-dev/audit-libs-devel); NO_AUDIT := 1
Signature · 1 line
1.7.3.2
PATCH 2/2 perf: add memcpy to perf packaging
There seems to be a new dependency on arch/*/lib/memcpy*.S when compiling the perf tool. Make sure that file is included in the MANIFEST when creating the tarball.
--- tools/perf/MANIFEST | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
tools/perf/MANIFEST +1 -0
@@ -7,6 +7,7 @@ include/linux/stringify.h lib/rbtree.c include/linux/swab.h arch/*/include/asm/unistd*.h +arch/*/lib/memcpy*.S include/linux/poison.h include/linux/magic.h include/linux/hw_breakpoint.h
Signature · 1 line
1.7.3.2
Arnaldo Carvalho de Melo
AppliedRe: [PATCH 2/2] perf: add memcpy to perf packaging
Em Tue, Nov 30, 2010 at 05:12:13PM -0500, Don Zickus escreveu:
Quoted 5 lines
There seems to be a new dependency on
arch/*/lib/memcpy*.Swhen compiling the perf tool. Make sure that file is included in the MANIFEST when creating the tarball.Signed-off-by Don Zickus <[email protected]>
Thanks, applied.
- Arnaldo
[tip:perf/core] perf packaging: add memcpy to perf MANIFEST
In reply to Don ZickusCommit-ID: 3e8e24f2fc66d32eb0e570e4117dfd05227047e6 Gitweb: http://git.kernel.org/tip/3e8e24f2fc66d32eb0e570e4117dfd05227047e6 Author: Don Zickus <[email protected]> AuthorDate: Tue, 30 Nov 2010 17:12:13 -0500 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Tue, 30 Nov 2010 23:00:10 -0200
perf packaging: add memcpy to perf MANIFEST
There seems to be a new dependency on arch/*/lib/memcpy*.S when compiling the perf tool. Make sure that file is included in the MANIFEST when creating the tarball.
Cc: Ingo Molnar <[email protected]>
LKML-Reference: <[email protected]>
--- tools/perf/MANIFEST | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
tools/perf/MANIFEST +1 -0
@@ -7,6 +7,7 @@ include/linux/stringify.h lib/rbtree.c include/linux/swab.h arch/*/include/asm/unistd*.h +arch/*/lib/memcpy*.S include/linux/poison.h include/linux/magic.h include/linux/hw_breakpoint.h
Em Tue, Nov 30, 2010 at 05:12:12PM -0500, Don Zickus escreveu:
Quoted 5 lines
If your machine does not have the elfutils-devel installed on it, then the check of libaudit will fail even though the machine has the audit-libs-devel package installed.
The check for -lelf is unneeded.
Ingo, this one is just for tip/master,
- Arnaldo