Re: [PATCH] perf tools: Fix build error on read only source.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kusanagi Kouichi
Date: Wednesday, August 18, 2010 - 5:37 am

On 2010-08-17 15:18:35 -0300, Arnaldo Carvalho de Melo wrote:

With POSIX shell patch, $(OUTPUT) has not been created yet when it is
used by try-cc. This fixes the issue anyway.

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index dcb9700..5b1c12b 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -281,6 +281,7 @@ endif

 -include feature-tests.mak

+$(shell mkdir -p $(OUTPUT) 2> /dev/null)
 ifeq ($(call try-cc,$(SOURCE_HELLO),-Werror -fstack-protector-all),y)
 	CFLAGS := $(CFLAGS) -fstack-protector-all
 endif
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] perf tools: Fix build error on read only source., Arnaldo Carvalho de Melo, (Tue Aug 17, 11:18 am)
Re: [PATCH] perf tools: Fix build error on read only source., Kusanagi Kouichi, (Wed Aug 18, 5:37 am)
Re: [PATCH] perf tools: Fix build error on read only source., Arnaldo Carvalho de Melo, (Wed Aug 18, 7:14 am)
Re: [PATCH] perf tools: Fix build error on read only source., Arnaldo Carvalho de Melo, (Wed Aug 18, 7:16 am)
Re: [PATCH] perf tools: Fix build error on read only source., Bernd Petrovitsch, (Wed Aug 18, 8:25 am)
Re: [PATCH] perf tools: Fix build error on read only source., Arnaldo Carvalho de Melo, (Wed Aug 18, 9:56 am)
Re: [PATCH] perf tools: Fix build error on read only source., Arnaldo Carvalho de Melo, (Wed Aug 18, 10:01 am)
Re: [PATCH] perf tools: Fix build error on read only source., Arnaldo Carvalho de Melo, (Wed Aug 18, 10:19 am)
Re: [PATCH] perf tools: Fix build error on read only source., Arnaldo Carvalho de Melo, (Wed Aug 18, 12:09 pm)
Re: [PATCH] perf tools: Fix build error on read only source., Bernd Petrovitsch, (Thu Aug 19, 2:02 am)
Re: [PATCH] perf tools: Fix build error on read only source., Bernd Petrovitsch, (Thu Aug 19, 3:31 am)
Re: [PATCH] perf tools: Fix build error on read only source., Arnaldo Carvalho de Melo, (Thu Aug 19, 7:13 am)