]> code.ossystems Code Review - openembedded-core.git/commitdiff
oprofile: use "foreign" automake strictness
authorRoss Burton <ross.burton@intel.com>
Tue, 15 Jul 2014 16:18:35 +0000 (17:18 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Jul 2014 09:27:16 +0000 (10:27 +0100)
oprofile doesn't want GNU-levels of automake strictness so tell it to be
"foreign".

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/oprofile/oprofile.inc
meta/recipes-kernel/oprofile/oprofile/automake-foreign.patch [new file with mode: 0644]

index 76d0b6cbe5244aa3fd4174e91501f1c9fa664023..69582039e86e3c578eebef275367fc1b2a7a6913 100644 (file)
@@ -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 (file)
index 0000000..e82a381
--- /dev/null
@@ -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])