Commit 2fe73746 authored by Jiri Olsa's avatar Jiri Olsa Committed by Arnaldo Carvalho de Melo

perf tools: Replace multiple line assignment with multiple statements

Replacing multiple line assignment with multiple statements.
Suggested-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarJiri 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.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 8e1b3f68
...@@ -78,13 +78,12 @@ ifdef PARSER_DEBUG ...@@ -78,13 +78,12 @@ ifdef PARSER_DEBUG
CFLAGS += -DPARSER_DEBUG CFLAGS += -DPARSER_DEBUG
endif endif
CFLAGS += \ CFLAGS += -fno-omit-frame-pointer
-fno-omit-frame-pointer \ CFLAGS += -ggdb3
-ggdb3 \ CFLAGS += -funwind-tables
-funwind-tables \ CFLAGS += -Wall
-Wall \ CFLAGS += -Wextra
-Wextra \ CFLAGS += -std=gnu99
-std=gnu99
EXTLIBS = -lpthread -lrt -lelf -lm EXTLIBS = -lpthread -lrt -lelf -lm
...@@ -106,30 +105,26 @@ ifndef PERF_DEBUG ...@@ -106,30 +105,26 @@ ifndef PERF_DEBUG
endif endif
endif endif
CFLAGS += \ CFLAGS += -I$(src-perf)/util/include
-I$(src-perf)/util/include \ CFLAGS += -I$(src-perf)/arch/$(ARCH)/include
-I$(src-perf)/arch/$(ARCH)/include \ CFLAGS += -I$(srctree)/arch/$(ARCH)/include/uapi
-I$(srctree)/arch/$(ARCH)/include/uapi \ CFLAGS += -I$(srctree)/arch/$(ARCH)/include
-I$(srctree)/arch/$(ARCH)/include \ CFLAGS += -I$(srctree)/include/uapi
-I$(srctree)/include/uapi \ CFLAGS += -I$(srctree)/include
-I$(srctree)/include
# $(obj-perf) for generated common-cmds.h # $(obj-perf) for generated common-cmds.h
# $(obj-perf)/util for generated bison/flex headers # $(obj-perf)/util for generated bison/flex headers
ifneq ($(OUTPUT),) ifneq ($(OUTPUT),)
CFLAGS += \ CFLAGS += -I$(obj-perf)/util
-I$(obj-perf)/util \ CFLAGS += -I$(obj-perf)
-I$(obj-perf)
endif endif
CFLAGS += \ CFLAGS += -I$(src-perf)/util
-I$(src-perf)/util \ CFLAGS += -I$(src-perf)
-I$(src-perf) \ CFLAGS += -I$(TRACE_EVENT_DIR)
-I$(TRACE_EVENT_DIR) \ CFLAGS += -I$(srctree)/tools/lib/
-I$(srctree)/tools/lib/
CFLAGS += \ CFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
ifndef NO_BIONIC ifndef NO_BIONIC
ifeq ($(call try-cc,$(SOURCE_BIONIC),$(CFLAGS),bionic),y) ifeq ($(call try-cc,$(SOURCE_BIONIC),$(CFLAGS),bionic),y)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment