Under dash 'echo -n' yields '-n' to stdout. Use printf "" instead.
CC: Peter Zijlstra <a.p.zijls...@chello.nl> CC: Ingo Molnar <mi...@redhat.com> CC: Arnaldo Carvalho de Melo <a...@kernel.org> CC: Jiri Olsa <jo...@redhat.com> CC: Namhyung Kim <namhy...@kernel.org> CC: Adrian Hunter <adrian.hun...@intel.com> CC: linux-kernel@vger.kernel.org Signed-off-by: Sergei Trofimovich <siarh...@google.com> --- tools/perf/config/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile index 094ddae..bc0b59e 100644 --- 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) -- 2.4.6 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/