Skip to contentSkip to conversation

perf: Add support for Linux 3.13

PATCH New Anton Kolesov 2 participants 2 messages Jul 21, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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.

Cc Thomas De Schampheleire <[email protected]>
---
 package/perf/perf.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/perf/perf.mk +1 -1
index 7610f3d..ffeec02 100644
@@ -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." ; \
Signature · 1 line
1.8.4.1
#1 lore raw

PATCH v2 1/1 perf: Add support for Linux 3.13

Dear Anton Kolesov,

Quoted 8 lines · Anton Kolesov

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.

Cc Thomas De Schampheleire <[email protected]>
---
 package/perf/perf.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com