kbuild: ftrace: don't assume that scripts/recordmcount.pl is executable
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 27 Aug 2008 07:08:30 +0000 (09:08 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:36:16 +0000 (10:36 +0200)
commitb3a320417484a6d6b9d28098944df58341353992
treec2b408434feb6ddf7547b19d85ad5f5c2649d6de
parentf2f8458e751f9ae41dfec3c00a46d3e62dc38f60
kbuild: ftrace: don't assume that scripts/recordmcount.pl is executable

CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CC      scripts/mod/empty.o
/bin/sh: /usr/src/25/scripts/recordmcount.pl: Permission denied

We shouldn't assume that files have their `x' bits set.  There are various
ways in which file permissions get lost, including use of patch(1).

It might not be correct to assume that perl lives in $PATH?

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
scripts/Makefile.build