diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2012-05-02 18:21:02 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-25 11:17:57 +0100 |
commit | c4dde062bd01e58095e03ebcefabffa6773228b6 (patch) | |
tree | 6babb500afdce1a4c53918d16266c312ba621748 /meta/recipes-kernel | |
parent | 724f9ad8cea45ef17ba8667b5b44ef1c5045b1f1 (diff) | |
download | poky-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')
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 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Automake 1.12 has deprecated automatic de-ANSI-fication support | ||
4 | |||
5 | Fix this issue with automake 1.12: | ||
6 | |||
7 | | configure.ac:23: error: automatic de-ANSI-fication support has been removed | ||
8 | |||
9 | Signed-Off-by: Nitin A Kamble <nitin.a.kamble@intel.com> | ||
10 | 2012/05/02 | ||
11 | |||
12 | Index: 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" | |||
6 | DEPENDS_virtclass-native = "elfutils-native sqlite3-native gettext-native" | 6 | DEPENDS_virtclass-native = "elfutils-native sqlite3-native gettext-native" |
7 | DEPENDS_virtclass-nativesdk = "elfutils-nativesdk sqlite3-nativesdk gettext-nativesdk" | 7 | DEPENDS_virtclass-nativesdk = "elfutils-nativesdk sqlite3-nativesdk gettext-nativesdk" |
8 | 8 | ||
9 | PR = "r3" | 9 | PR = "r4" |
10 | 10 | ||
11 | export CC_FOR_BUILD = "${BUILD_CC}" | 11 | export CC_FOR_BUILD = "${BUILD_CC}" |
12 | export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}" | 12 | export 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 | ||
7 | SRC_URI = "git://sources.redhat.com/git/systemtap.git;protocol=git \ | 7 | SRC_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 | ||
11 | FILESPATH = "${FILE_DIRNAME}/systemtap" | 12 | FILESPATH = "${FILE_DIRNAME}/systemtap" |