From: Ben Hutchings Date: Sun, 19 Aug 2012 23:47:19 +0000 (+0100) Subject: perf tools: Fix include order for bison/flex-generated C files X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~97^2~31^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed7e2c2ec59422b68b643c479a5816197620016e;p=pandora-kernel.git perf tools: Fix include order for bison/flex-generated C files When we use a separate output directory, we add util/ to the include path for the generated C files. However, this is currently added to the end of the path, behind /usr/include/slang and /usr/include/gtk-2.0 if use of the respective libraries is enabled. Thus the '#include "../perf.h"' in util/parse-events.l can actually include /usr/include/perf.h if it exists. Move '-Iutil/' ahead of all the other preprocessor options. Reported-by: Sedat Dilek Signed-off-by: Ben Hutchings Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Sedat Dilek Link: http://lkml.kernel.org/r/1345420039.22400.80.camel@deadeye.wl.decadent.org.uk Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed