summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2013-04-15 04:32:28 +0200
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:43:38 +0900
commit0058350841919abff6d580ac1bfb0ea04d8d44f7 (patch)
tree9bcad6cd50810173a9f5e2335421c75d3726492c /tools
parent42064064efa22d1b7e758500c75e81d4b158ba76 (diff)
downloadlinux-3.10-0058350841919abff6d580ac1bfb0ea04d8d44f7.tar.gz
linux-3.10-0058350841919abff6d580ac1bfb0ea04d8d44f7.tar.bz2
linux-3.10-0058350841919abff6d580ac1bfb0ea04d8d44f7.zip
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')
-rw-r--r--tools/perf/config/Makefile43
1 files changed, 19 insertions, 24 deletions
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
index 976599319c6..f139dcd2796 100644
--- a/tools/perf/config/Makefile
+++ b/tools/perf/config/Makefile
@@ -78,13 +78,12 @@ ifdef PARSER_DEBUG
CFLAGS += -DPARSER_DEBUG
endif
-CFLAGS += \
- -fno-omit-frame-pointer \
- -ggdb3 \
- -funwind-tables \
- -Wall \
- -Wextra \
- -std=gnu99
+CFLAGS += -fno-omit-frame-pointer
+CFLAGS += -ggdb3
+CFLAGS += -funwind-tables
+CFLAGS += -Wall
+CFLAGS += -Wextra
+CFLAGS += -std=gnu99
EXTLIBS = -lpthread -lrt -lelf -lm
@@ -106,30 +105,26 @@ ifndef PERF_DEBUG
endif
endif
-CFLAGS += \
- -I$(src-perf)/util/include \
- -I$(src-perf)/arch/$(ARCH)/include \
- -I$(srctree)/arch/$(ARCH)/include/uapi \
- -I$(srctree)/arch/$(ARCH)/include \
- -I$(srctree)/include/uapi \
- -I$(srctree)/include
+CFLAGS += -I$(src-perf)/util/include
+CFLAGS += -I$(src-perf)/arch/$(ARCH)/include
+CFLAGS += -I$(srctree)/arch/$(ARCH)/include/uapi
+CFLAGS += -I$(srctree)/arch/$(ARCH)/include
+CFLAGS += -I$(srctree)/include/uapi
+CFLAGS += -I$(srctree)/include
# $(obj-perf) for generated common-cmds.h
# $(obj-perf)/util for generated bison/flex headers
ifneq ($(OUTPUT),)
-CFLAGS += \
- -I$(obj-perf)/util \
- -I$(obj-perf)
+CFLAGS += -I$(obj-perf)/util
+CFLAGS += -I$(obj-perf)
endif
-CFLAGS += \
- -I$(src-perf)/util \
- -I$(src-perf) \
- -I$(TRACE_EVENT_DIR) \
- -I$(srctree)/tools/lib/
+CFLAGS += -I$(src-perf)/util
+CFLAGS += -I$(src-perf)
+CFLAGS += -I$(TRACE_EVENT_DIR)
+CFLAGS += -I$(srctree)/tools/lib/
-CFLAGS += \
- -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
+CFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
ifndef NO_BIONIC
ifeq ($(call try-cc,$(SOURCE_BIONIC),$(CFLAGS),bionic),y)