projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dc0974
)
tools/perf/build: Simplify the libelf logic
author
Ingo Molnar
<
[email protected]
>
Thu, 10 Oct 2013 06:53:17 +0000
(08:53 +0200)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Mon, 14 Oct 2013 13:29:11 +0000
(10:29 -0300)
Ulrich Drepper and Namhyung Kim reported that the libelf logic in
config/Makefile is duplicated in part.
Remove the duplication, and also remove the now unused FLAGS_LIBELF
variable.
Reported-by: Ulrich Drepper <
[email protected]
>
Reported-by: Namhyung Kim <
[email protected]
>
Cc: Arnaldo Carvalho de Melo <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: David Ahern <
[email protected]
>
Cc: Jiri Olsa <
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/perf/config/Makefile
patch
|
blob
|
history
diff --git
a/tools/perf/config/Makefile
b/tools/perf/config/Makefile
index 9524c0c4e88fdb53545df18415392f16c65d2a1b..d2079220ff87b9a3aeb28a28db51e9efc6fd9ddb 100644
(file)
--- a/
tools/perf/config/Makefile
+++ b/
tools/perf/config/Makefile
@@
-280,7
+280,6
@@
endif # NO_LIBELF
ifndef NO_LIBELF
CFLAGS += -DHAVE_LIBELF_SUPPORT
- FLAGS_LIBELF=$(CFLAGS) $(LDFLAGS) $(EXTLIBS)
ifeq ($(feature-libelf-mmap), 1)
CFLAGS += -DHAVE_LIBELF_MMAP_SUPPORT
@@
-305,13
+304,6
@@
ifndef NO_LIBELF
endif # NO_DWARF
endif # NO_LIBELF
-ifndef NO_LIBELF
- CFLAGS += -DHAVE_LIBELF_SUPPORT
- ifeq ($(feature-libelf-mmap), 1)
- CFLAGS += -DHAVE_LIBELF_MMAP_SUPPORT
- endif
-endif # NO_LIBELF
-
# There's only x86 (both 32 and 64) support for CFI unwind so far
ifneq ($(ARCH),x86)
NO_LIBUNWIND := 1