From: Kusanagi Kouichi Date: Wed, 18 Aug 2010 16:32:37 +0000 (-0300) Subject: perf tools: Fix build error on read only source. X-Git-Tag: v2.6.36-rc2~33^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecafda60e88031bcc4271c446f984ee883d69ea8;p=pandora-kernel.git perf tools: Fix build error on read only source. Parts of the build process were generating files outside the specified O= directory, causing the build to fail on systems where the sources are in a read only file system. Fix it by using $(OUTPUT) on these locations. Also check that $(OUTPUT) actually exists, just like the top level kernel Makefile does. Otherwise the failure message emitted is completely misleading. Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Paul Mackerras LKML-Reference: <20100817140841.0859362C03A@msa106.auone-net.jp> Signed-off-by: Kusanagi Kouichi Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed