Patchwork [5/7] oprofile: use "foreign" automake strictness

login
register
mail settings
Submitter Ross Burton
Date July 15, 2014, 4:18 p.m.
Message ID <a06eef80fa6a0912e704aa2d1fce598c46f7b588.1405440532.git.ross.burton@intel.com>
Download mbox | patch
Permalink /patch/75685/
State Accepted
Commit 68d1ee3182ca0d8b550f92e2f5bed0150b9d1328
Headers show

Comments

Ross Burton - July 15, 2014, 4:18 p.m.
oprofile doesn't want GNU-levels of automake strictness so tell it to be
"foreign".

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-kernel/oprofile/oprofile.inc                    |    1 +
 meta/recipes-kernel/oprofile/oprofile/automake-foreign.patch |    7 +++++++
 2 files changed, 8 insertions(+)
 create mode 100644 meta/recipes-kernel/oprofile/oprofile/automake-foreign.patch

Patch

diff --git a/meta/recipes-kernel/oprofile/oprofile.inc b/meta/recipes-kernel/oprofile/oprofile.inc
index 76d0b6c..6958203 100644
--- a/meta/recipes-kernel/oprofile/oprofile.inc
+++ b/meta/recipes-kernel/oprofile/oprofile.inc
@@ -20,6 +20,7 @@  FILES_${PN}-staticdev += "${libdir}/${BPN}/lib*.a"
 
 SRC_URI = "file://opstart.patch \
            file://acinclude.m4 \
+           file://automake-foreign.patch \
            file://oprofile-cross-compile-tests.patch \
            file://run-ptest \
            file://root-home-dir.patch"
diff --git a/meta/recipes-kernel/oprofile/oprofile/automake-foreign.patch b/meta/recipes-kernel/oprofile/oprofile/automake-foreign.patch
new file mode 100644
index 0000000..e82a381
--- /dev/null
+++ b/meta/recipes-kernel/oprofile/oprofile/automake-foreign.patch
@@ -0,0 +1,7 @@ 
+diff --git a/configure.ac b/configure.ac
+index 5740585..cf6c316 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -16 +16 @@ AC_CONFIG_SRCDIR([libop/op_config.h])
+-AM_INIT_AUTOMAKE
++AM_INIT_AUTOMAKE([foreign])