diff options
author | Jiri Olsa <jolsa@redhat.com> | 2013-04-14 22:32:28 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-05-30 09:50:21 -0400 |
commit | 2fe7374659d68cf3c751ae9d72d8682bbdd2773d (patch) | |
tree | b9f5596546fd73f4212d619d45c4a22143c31945 /tools/perf/config | |
parent | 8e1b3f68684c51c96df2a71b5e16167b43e5daa0 (diff) |
perf tools: Replace multiple line assignment with multiple statements
Replacing multiple line assignment with multiple statements.
Suggested-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1369398928-9809-24-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/config')
-rw-r--r-- | tools/perf/config/Makefile | 43 |
1 files changed, 19 insertions, 24 deletions
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile index 976599319c6e..f139dcd2796e 100644 --- a/tools/perf/config/Makefile +++ b/tools/perf/config/Makefile | |||
@@ -78,13 +78,12 @@ ifdef PARSER_DEBUG | |||
78 | CFLAGS += -DPARSER_DEBUG | 78 | CFLAGS += -DPARSER_DEBUG |
79 | endif | 79 | endif |
80 | 80 | ||
81 | CFLAGS += \ | 81 | CFLAGS += -fno-omit-frame-pointer |
82 | -fno-omit-frame-pointer \ | 82 | CFLAGS += -ggdb3 |
83 | -ggdb3 \ | 83 | CFLAGS += -funwind-tables |
84 | -funwind-tables \ | 84 | CFLAGS += -Wall |
85 | -Wall \ | 85 | CFLAGS += -Wextra |
86 | -Wextra \ | 86 | CFLAGS += -std=gnu99 |
87 | -std=gnu99 | ||
88 | 87 | ||
89 | EXTLIBS = -lpthread -lrt -lelf -lm | 88 | EXTLIBS = -lpthread -lrt -lelf -lm |
90 | 89 | ||
@@ -106,30 +105,26 @@ ifndef PERF_DEBUG | |||
106 | endif | 105 | endif |
107 | endif | 106 | endif |
108 | 107 | ||
109 | CFLAGS += \ | 108 | CFLAGS += -I$(src-perf)/util/include |
110 | -I$(src-perf)/util/include \ | 109 | CFLAGS += -I$(src-perf)/arch/$(ARCH)/include |
111 | -I$(src-perf)/arch/$(ARCH)/include \ | 110 | CFLAGS += -I$(srctree)/arch/$(ARCH)/include/uapi |
112 | -I$(srctree)/arch/$(ARCH)/include/uapi \ | 111 | CFLAGS += -I$(srctree)/arch/$(ARCH)/include |
113 | -I$(srctree)/arch/$(ARCH)/include \ | 112 | CFLAGS += -I$(srctree)/include/uapi |
114 | -I$(srctree)/include/uapi \ | 113 | CFLAGS += -I$(srctree)/include |
115 | -I$(srctree)/include | ||
116 | 114 | ||
117 | # $(obj-perf) for generated common-cmds.h | 115 | # $(obj-perf) for generated common-cmds.h |
118 | # $(obj-perf)/util for generated bison/flex headers | 116 | # $(obj-perf)/util for generated bison/flex headers |
119 | ifneq ($(OUTPUT),) | 117 | ifneq ($(OUTPUT),) |
120 | CFLAGS += \ | 118 | CFLAGS += -I$(obj-perf)/util |
121 | -I$(obj-perf)/util \ | 119 | CFLAGS += -I$(obj-perf) |
122 | -I$(obj-perf) | ||
123 | endif | 120 | endif |
124 | 121 | ||
125 | CFLAGS += \ | 122 | CFLAGS += -I$(src-perf)/util |
126 | -I$(src-perf)/util \ | 123 | CFLAGS += -I$(src-perf) |
127 | -I$(src-perf) \ | 124 | CFLAGS += -I$(TRACE_EVENT_DIR) |
128 | -I$(TRACE_EVENT_DIR) \ | 125 | CFLAGS += -I$(srctree)/tools/lib/ |
129 | -I$(srctree)/tools/lib/ | ||
130 | 126 | ||
131 | CFLAGS += \ | 127 | CFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE |
132 | -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE | ||
133 | 128 | ||
134 | ifndef NO_BIONIC | 129 | ifndef NO_BIONIC |
135 | ifeq ($(call try-cc,$(SOURCE_BIONIC),$(CFLAGS),bionic),y) | 130 | ifeq ($(call try-cc,$(SOURCE_BIONIC),$(CFLAGS),bionic),y) |