[PATCH] kbuild: List libelf-devel as an alternative

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On openSUSE, the libelf development files are in package libelf-devel.

Signed-off-by: Jean Delare <jdelvare@xxxxxxx>
Cc: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Michal Marek <mmarek@xxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
 Makefile                   |    2 +-
 tools/perf/config/Makefile |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- linux-4.6.orig/Makefile	2016-05-16 00:43:13.000000000 +0200
+++ linux-4.6/Makefile	2016-06-16 10:42:26.990587718 +0200
@@ -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
--- linux-4.6.orig/tools/perf/config/Makefile	2016-05-16 00:43:13.000000000 +0200
+++ linux-4.6/tools/perf/config/Makefile	2016-06-16 10:43:29.517409971 +0200
@@ -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


-- 
Jean Delvare
SUSE L3 Support
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux