Commit 198430b5 authored by Jiri Olsa's avatar Jiri Olsa Committed by Arnaldo Carvalho de Melo

tools lib traceevent: Replace tabs with spaces for all non-commands statements

The tabbed indentation in non-commands statements could be sometimes
considered as follow up for the rule command in the Makefile.

This error is hard to find, so as a precaution replacing tabs with
spaces for all non-commands statements.
Signed-off-by: default avatarJiri Olsa <jolsa@redhat.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.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: Steven Rostedt <rostedt@goodmis.org>
Link: http://marc.info/?t=136484403900003&r=1&w=2
Link: http://lkml.kernel.org/r/20140102095304.GA1196@krava.brq.redhat.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent f7c64474
...@@ -86,8 +86,8 @@ ifeq ($(BUILD_SRC),) ...@@ -86,8 +86,8 @@ ifeq ($(BUILD_SRC),)
ifneq ($(OUTPUT),) ifneq ($(OUTPUT),)
define build_output define build_output
$(if $(VERBOSE:1=),@)+$(MAKE) -C $(OUTPUT) \ $(if $(VERBOSE:1=),@)+$(MAKE) -C $(OUTPUT) \
BUILD_SRC=$(CURDIR)/ -f $(CURDIR)/Makefile $1 BUILD_SRC=$(CURDIR)/ -f $(CURDIR)/Makefile $1
endef endef
all: sub-make all: sub-make
...@@ -221,23 +221,23 @@ $(PLUGINS): %.so: %.o ...@@ -221,23 +221,23 @@ $(PLUGINS): %.so: %.o
$(QUIET_LINK)$(CC) $(CFLAGS) -shared -nostartfiles -o $@ $< $(QUIET_LINK)$(CC) $(CFLAGS) -shared -nostartfiles -o $@ $<
define make_version.h define make_version.h
(echo '/* This file is automatically generated. Do not modify. */'; \ (echo '/* This file is automatically generated. Do not modify. */'; \
echo \#define VERSION_CODE $(shell \ echo \#define VERSION_CODE $(shell \
expr $(VERSION) \* 256 + $(PATCHLEVEL)); \ expr $(VERSION) \* 256 + $(PATCHLEVEL)); \
echo '#define EXTRAVERSION ' $(EXTRAVERSION); \ echo '#define EXTRAVERSION ' $(EXTRAVERSION); \
echo '#define VERSION_STRING "'$(VERSION).$(PATCHLEVEL).$(EXTRAVERSION)'"'; \ echo '#define VERSION_STRING "'$(VERSION).$(PATCHLEVEL).$(EXTRAVERSION)'"'; \
echo '#define FILE_VERSION '$(FILE_VERSION); \ echo '#define FILE_VERSION '$(FILE_VERSION); \
) > $1 ) > $1
endef endef
define update_version.h define update_version.h
($(call make_version.h, $@.tmp); \ ($(call make_version.h, $@.tmp); \
if [ -r $@ ] && cmp -s $@ $@.tmp; then \ if [ -r $@ ] && cmp -s $@ $@.tmp; then \
rm -f $@.tmp; \ rm -f $@.tmp; \
else \ else \
echo ' UPDATE $@'; \ echo ' UPDATE $@'; \
mv -f $@.tmp $@; \ mv -f $@.tmp $@; \
fi); fi);
endef endef
ep_version.h: force ep_version.h: force
...@@ -246,13 +246,13 @@ ep_version.h: force ...@@ -246,13 +246,13 @@ ep_version.h: force
VERSION_FILES = ep_version.h VERSION_FILES = ep_version.h
define update_dir define update_dir
(echo $1 > $@.tmp; \ (echo $1 > $@.tmp; \
if [ -r $@ ] && cmp -s $@ $@.tmp; then \ if [ -r $@ ] && cmp -s $@ $@.tmp; then \
rm -f $@.tmp; \ rm -f $@.tmp; \
else \ else \
echo ' UPDATE $@'; \ echo ' UPDATE $@'; \
mv -f $@.tmp $@; \ mv -f $@.tmp $@; \
fi); fi);
endef endef
## make deps ## make deps
...@@ -262,10 +262,10 @@ all_deps := $(all_objs:%.o=.%.d) ...@@ -262,10 +262,10 @@ all_deps := $(all_objs:%.o=.%.d)
# let .d file also depends on the source and header files # let .d file also depends on the source and header files
define check_deps define check_deps
@set -e; $(RM) $@; \ @set -e; $(RM) $@; \
$(CC) -MM $(CFLAGS) $< > $@.$$$$; \ $(CC) -MM $(CFLAGS) $< > $@.$$$$; \
sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \ sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
$(RM) $@.$$$$ $(RM) $@.$$$$
endef endef
$(all_deps): .%.d: $(src)/%.c $(all_deps): .%.d: $(src)/%.c
......
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