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:
d77fac7
)
perf tools: Fix makefile generation under dash
author
Sergei Trofimovich
<
[email protected]
>
Sun, 19 Jul 2015 09:30:05 +0000
(10:30 +0100)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Mon, 20 Jul 2015 20:49:50 +0000
(17:49 -0300)
Under dash 'echo -n' yields '-n' to stdout. Use printf "" instead.
Signed-off-by: Sergei Trofimovich <
[email protected]
>
Acked-by: Ingo Molnar <
[email protected]
>
Acked-by: Jiri Olsa <
[email protected]
>
Cc: Adrian Hunter <
[email protected]
>
Cc: Namhyung Kim <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[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 a9b93d1ecefa82c7b119fc4cae0915b673a91cf3..8768f84e42a57725058805be9018044f97840fab 100644
(file)
--- a/
tools/perf/config/Makefile
+++ b/
tools/perf/config/Makefile
@@
-11,7
+11,7
@@
ifneq ($(obj-perf),)
obj-perf := $(abspath $(obj-perf))/
endif
-$(shell
echo -n
> $(OUTPUT).config-detected)
+$(shell
printf ""
> $(OUTPUT).config-detected)
detected = $(shell echo "$(1)=y" >> $(OUTPUT).config-detected)
detected_var = $(shell echo "$(1)=$($(1))" >> $(OUTPUT).config-detected)