summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Kolesov <anton.kolesov@synopsys.com>2014-07-21 18:02:12 +0400
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-21 21:55:52 +0200
commitc07552996f9a24becbc78a27e2e3c6efe6bd87e7 (patch)
treeb14a6ec64debb5f8de21875fdf645094d150c117
parent6697a6eb31457b262b0dc9adfa43caf87aa605bb (diff)
downloadbuildroot-c07552996f9a24becbc78a27e2e3c6efe6bd87e7.tar.gz
buildroot-c07552996f9a24becbc78a27e2e3c6efe6bd87e7.zip
perf: Add support for Linux 3.13
The Makefile has been renamed to Makefile.perf; so now we check both Makefile and Makefile.perf to support 3.7 - 3.12 and 3.13 - beyond. Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/perf/perf.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/perf/perf.mk b/package/perf/perf.mk
index 7610f3d1d6..ffeec0282f 100644
--- a/package/perf/perf.mk
+++ b/package/perf/perf.mk
@@ -35,7 +35,7 @@ define PERF_BUILD_CMDS
exit 1 ; \
fi
$(Q)if test "$(BR2_PACKAGE_ELFUTILS)" = "" ; then \
- if ! grep -q NO_LIBELF $(LINUX_DIR)/tools/perf/Makefile ; then \
+ if ! grep -q NO_LIBELF $(LINUX_DIR)/tools/perf/Makefile* ; then \
if ! test -r $(LINUX_DIR)/tools/perf/config/Makefile ; then \
echo "The perf tool in your kernel cannot be built without libelf." ; \
echo "Either upgrade your kernel to >= 3.7, or enable the elfutils package." ; \
OpenPOWER on IntegriCloud