kbuild: List libelf-devel as an alternative
Subsystems (2)
PATCH 1/1 kbuild: List libelf-devel as an alternative
On openSUSE, the libelf development files are in package libelf-devel.
Signed-off-by Jean Delare <[email protected]>
Cc Josh Poimboeuf <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Michal Marek <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Arnaldo Carvalho de Melo <[email protected]>
--- Makefile | 2 +- tools/perf/config/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Makefile +1 -1
@@ -1013,7 +1013,7 @@ ifdef CONFIG_STACK_VALIDATION ifeq ($(has_libelf),1) objtool_target := tools/objtool FORCE else - $(warning "Cannot use CONFIG_STACK_VALIDATION, please install libelf-dev or elfutils-libelf-devel") + $(warning "Cannot use CONFIG_STACK_VALIDATION, please install libelf-dev, libelf-devel or elfutils-libelf-devel") SKIP_STACK_VALIDATION := 1 export SKIP_STACK_VALIDATION endif
tools/perf/config/Makefile +1 -1
@@ -243,7 +243,7 @@ else LIBC_SUPPORT := 1 endif ifeq ($(LIBC_SUPPORT),1) - msg := $(warning No libelf found, disables 'probe' tool and BPF support in 'perf record', please install elfutils-libelf-devel/libelf-dev); + msg := $(warning No libelf found, disables 'probe' tool and BPF support in 'perf record', please install libelf-dev, libelf-devel or elfutils-libelf-devel); NO_LIBELF := 1 NO_DWARF := 1
Signature · 2 lines
Jean Delvare SUSE L3 Support
Quoted 9 lines · Jean Delvare
On openSUSE, the libelf development files are in package libelf-devel.
Signed-off-by Jean Delare <[email protected]>Cc Josh Poimboeuf <[email protected]>Cc Jiri Olsa <[email protected]>Cc Michal Marek <[email protected]>Cc Peter Zijlstra <[email protected]>Cc Ingo Molnar <[email protected]>Cc Arnaldo Carvalho de Melo <[email protected]>
Acked-by Josh Poimboeuf <[email protected]>
Quoted 32 lines
--- Makefile | 2 +- tools/perf/config/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)Makefile +1
-1@@ -1013,7 +1013,7 @@ ifdef CONFIG_STACK_VALIDATION ifeq ($(has_libelf),1) objtool_target := tools/objtool FORCE else - $(warning "Cannot use CONFIG_STACK_VALIDATION, please install libelf-dev or elfutils-libelf-devel") + $(warning "Cannot use CONFIG_STACK_VALIDATION, please install libelf-dev, libelf-devel or elfutils-libelf-devel") SKIP_STACK_VALIDATION := 1 export SKIP_STACK_VALIDATION endiftools/perf/config/Makefile +1
-1@@ -243,7 +243,7 @@ else LIBC_SUPPORT := 1 endif ifeq ($(LIBC_SUPPORT),1) - msg := $(warning No libelf found, disables 'probe' tool and BPF support in 'perf record', please install elfutils-libelf-devel/libelf-dev); + msg := $(warning No libelf found, disables 'probe' tool and BPF support in 'perf record', please install libelf-dev, libelf-devel or elfutils-libelf-devel); NO_LIBELF := 1 NO_DWARF := 1Signature · 3 lines
-- Jean Delvare SUSE L3 Support
Signature · 1 line
Josh
Arnaldo Carvalho de Melo
maintainerEm Thu, Jun 16, 2016 at 10:08:09AM -0500, Josh Poimboeuf escreveu:
Quoted 11 lines · Jean Delvare
Quoted 9 lines
On openSUSE, the libelf development files are in package libelf-devel.
Signed-off-by Jean Delare <[email protected]>Cc Josh Poimboeuf <[email protected]>Cc Jiri Olsa <[email protected]>Cc Michal Marek <[email protected]>Cc Peter Zijlstra <[email protected]>Cc Ingo Molnar <[email protected]>Cc Arnaldo Carvalho de Melo <[email protected]>
Quoted 1 line
Acked-by Josh Poimboeuf <[email protected]>
Thanks, applying.
- Arnaldo
Quoted 35 lines
Quoted 32 lines
--- Makefile | 2 +- tools/perf/config/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)Makefile +1
-1@@ -1013,7 +1013,7 @@ ifdef CONFIG_STACK_VALIDATION ifeq ($(has_libelf),1) objtool_target := tools/objtool FORCE else - $(warning "Cannot use CONFIG_STACK_VALIDATION, please install libelf-dev or elfutils-libelf-devel") + $(warning "Cannot use CONFIG_STACK_VALIDATION, please install libelf-dev, libelf-devel or elfutils-libelf-devel") SKIP_STACK_VALIDATION := 1 export SKIP_STACK_VALIDATION endiftools/perf/config/Makefile +1
-1@@ -243,7 +243,7 @@ else LIBC_SUPPORT := 1 endif ifeq ($(LIBC_SUPPORT),1) - msg := $(warning No libelf found, disables 'probe' tool and BPF support in 'perf record', please install elfutils-libelf-devel/libelf-dev); + msg := $(warning No libelf found, disables 'probe' tool and BPF support in 'perf record', please install libelf-dev, libelf-devel or elfutils-libelf-devel); NO_LIBELF := 1 NO_DWARF := 1Signature · 3 lines
-- Jean Delvare SUSE L3 SupportSignature · 1 line
Josh