summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2012-05-02 18:21:02 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-25 11:17:57 +0100
commitc4dde062bd01e58095e03ebcefabffa6773228b6 (patch)
tree6babb500afdce1a4c53918d16266c312ba621748 /meta/recipes-kernel
parent724f9ad8cea45ef17ba8667b5b44ef1c5045b1f1 (diff)
downloadpoky-c4dde062bd01e58095e03ebcefabffa6773228b6.tar.gz
systemtap: fix build with automake 1.12
(From OE-Core rev: 0ab7b586de076ae96cfa91b4f97815ea0893ef7f) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r--meta/recipes-kernel/systemtap/systemtap/systemtap_fix_for_automake_1.12.patch23
-rw-r--r--meta/recipes-kernel/systemtap/systemtap_git.bb2
-rw-r--r--meta/recipes-kernel/systemtap/systemtap_git.inc1
3 files changed, 25 insertions, 1 deletions
diff --git a/meta/recipes-kernel/systemtap/systemtap/systemtap_fix_for_automake_1.12.patch b/meta/recipes-kernel/systemtap/systemtap/systemtap_fix_for_automake_1.12.patch
new file mode 100644
index 0000000000..ef74a09587
--- /dev/null
+++ b/meta/recipes-kernel/systemtap/systemtap/systemtap_fix_for_automake_1.12.patch
@@ -0,0 +1,23 @@
1Upstream-Status: Pending
2
3Automake 1.12 has deprecated automatic de-ANSI-fication support
4
5Fix this issue with automake 1.12:
6
7| configure.ac:23: error: automatic de-ANSI-fication support has been removed
8
9Signed-Off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
102012/05/02
11
12Index: git/configure.ac
13===================================================================
14--- git.orig/configure.ac
15+++ git/configure.ac
16@@ -20,7 +20,6 @@ AC_PROG_CXX
17 AC_PROG_CPP
18 AM_PROG_CC_STDC
19 AM_PROG_CC_C_O
20-AM_C_PROTOTYPES
21 AC_PROG_RANLIB
22 AC_OBJEXT
23 AC_EXEEXT
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb
index 91bccd1fae..4d340fc8a2 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.bb
+++ b/meta/recipes-kernel/systemtap/systemtap_git.bb
@@ -6,7 +6,7 @@ DEPENDS = "elfutils sqlite3 systemtap-native"
6DEPENDS_virtclass-native = "elfutils-native sqlite3-native gettext-native" 6DEPENDS_virtclass-native = "elfutils-native sqlite3-native gettext-native"
7DEPENDS_virtclass-nativesdk = "elfutils-nativesdk sqlite3-nativesdk gettext-nativesdk" 7DEPENDS_virtclass-nativesdk = "elfutils-nativesdk sqlite3-nativesdk gettext-nativesdk"
8 8
9PR = "r3" 9PR = "r4"
10 10
11export CC_FOR_BUILD = "${BUILD_CC}" 11export CC_FOR_BUILD = "${BUILD_CC}"
12export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}" 12export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.inc b/meta/recipes-kernel/systemtap/systemtap_git.inc
index 839cec35a2..9f4feee8ce 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.inc
+++ b/meta/recipes-kernel/systemtap/systemtap_git.inc
@@ -6,6 +6,7 @@ PV = "1.7+git${SRCPV}"
6 6
7SRC_URI = "git://sources.redhat.com/git/systemtap.git;protocol=git \ 7SRC_URI = "git://sources.redhat.com/git/systemtap.git;protocol=git \
8 file://docproc-build-fix.patch \ 8 file://docproc-build-fix.patch \
9 file://systemtap_fix_for_automake_1.12.patch \
9 " 10 "
10 11
11FILESPATH = "${FILE_DIRNAME}/systemtap" 12FILESPATH = "${FILE_DIRNAME}/systemtap"