summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/automake/automake
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/automake/automake')
-rw-r--r--meta/recipes-devtools/automake/automake/0001-Drop-ar-u-argument.patch35
-rw-r--r--meta/recipes-devtools/automake/automake/0001-automake-Add-default-libtool_tag-to-cppasm.patch12
-rw-r--r--meta/recipes-devtools/automake/automake/0002-automake-Update-for-python.m4-to-respect-libdir.patch (renamed from meta/recipes-devtools/automake/automake/0001-automake-Update-for-python.m4-to-respect-libdir.patch)34
-rw-r--r--meta/recipes-devtools/automake/automake/0003-build-fix-race-in-parallel-builds.patch (renamed from meta/recipes-devtools/automake/automake/0001-build-fix-race-in-parallel-builds.patch)12
-rw-r--r--meta/recipes-devtools/automake/automake/0004-Add-a-new-distro-feature-ptest.patch (renamed from meta/recipes-devtools/automake/automake/buildtest.patch)12
-rw-r--r--meta/recipes-devtools/automake/automake/0005-Set-relative-to-top_builddir-path-in-Makefile-to-acc.patch (renamed from meta/recipes-devtools/automake/automake/new_rt_path_for_test-driver.patch)18
-rw-r--r--meta/recipes-devtools/automake/automake/0006-automake-Remove-delays-in-configure-scripts-using-au.patch77
-rw-r--r--meta/recipes-devtools/automake/automake/performance.patch82
8 files changed, 128 insertions, 154 deletions
diff --git a/meta/recipes-devtools/automake/automake/0001-Drop-ar-u-argument.patch b/meta/recipes-devtools/automake/automake/0001-Drop-ar-u-argument.patch
deleted file mode 100644
index f72788c3a6..0000000000
--- a/meta/recipes-devtools/automake/automake/0001-Drop-ar-u-argument.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1From bed646918bc67e9e2151ccbda03aae34717821fe Mon Sep 17 00:00:00 2001
2From: Andrei Gherzan <andrei.gherzan@huawei.com>
3Date: Wed, 20 Apr 2022 14:57:14 +0200
4Subject: [PATCH] Drop ar 'u' argument
5
6binutils/ar is configured in deterministic mode by default making the
7'u' argument irrelevant while leading to warning massages similar to:
8
9| ar: `u' modifier ignored since `D' is the default (see `U')
10
11We also add 'D' flag explicitely to not rely in the default configuration
12for reproducible archives.
13
14Upstream-Status: Inappropriate [OE specific]
15Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
16---
17 bin/automake.in | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/bin/automake.in b/bin/automake.in
21index 92bcebe..0f2b84b 100644
22--- a/bin/automake.in
23+++ b/bin/automake.in
24@@ -2678,7 +2678,7 @@ sub handle_libraries ()
25 }
26
27 define_variable ('AR', 'ar', INTERNAL);
28- define_variable ('ARFLAGS', 'cru', INTERNAL);
29+ define_variable ('ARFLAGS', 'crD', INTERNAL);
30 define_verbose_tagvar ('AR');
31
32 foreach my $pair (@liblist)
33--
342.25.1
35
diff --git a/meta/recipes-devtools/automake/automake/0001-automake-Add-default-libtool_tag-to-cppasm.patch b/meta/recipes-devtools/automake/automake/0001-automake-Add-default-libtool_tag-to-cppasm.patch
index deb1d03503..9608b5db44 100644
--- a/meta/recipes-devtools/automake/automake/0001-automake-Add-default-libtool_tag-to-cppasm.patch
+++ b/meta/recipes-devtools/automake/automake/0001-automake-Add-default-libtool_tag-to-cppasm.patch
@@ -1,23 +1,22 @@
1From b3c6e1971786cd93a2e3017c92bfbfe96baaf2f7 Mon Sep 17 00:00:00 2001 1From 2884ad2aa8b51cbba25a376935151a242f488e30 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 26 Jul 2017 11:19:56 -0700 3Date: Wed, 26 Jul 2017 11:19:56 -0700
4Subject: [PATCH] automake: Add default libtool_tag to cppasm. 4Subject: [PATCH 1/6] automake: Add default libtool_tag to cppasm.
5 5
6 * bin/automake.in (register_language): Define default libtool tag to be CC 6 * bin/automake.in (register_language): Define default libtool tag to be CC
7 since CPPASCOMPILE is using CC to call assembler 7 since CPPASCOMPILE is using CC to call assembler
8 8
9Upstream-Status: Submitted 9Upstream-Status: Submitted
10Signed-off-by: Khem Raj <raj.khem@gmail.com> 10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11
12--- 11---
13 bin/automake.in | 1 + 12 bin/automake.in | 1 +
14 1 file changed, 1 insertion(+) 13 1 file changed, 1 insertion(+)
15 14
16diff --git a/bin/automake.in b/bin/automake.in 15diff --git a/bin/automake.in b/bin/automake.in
17index 3a66965..08ba09a 100644 16index a17f452..18626de 100644
18--- a/bin/automake.in 17--- a/bin/automake.in
19+++ b/bin/automake.in 18+++ b/bin/automake.in
20@@ -898,6 +898,7 @@ register_language ('name' => 'cppasm', 19@@ -897,6 +897,7 @@ register_language ('name' => 'cppasm',
21 'libtool_tag' => 'CC', 20 'libtool_tag' => 'CC',
22 'compile_flag' => '-c', 21 'compile_flag' => '-c',
23 'output_flag' => '-o', 22 'output_flag' => '-o',
@@ -25,3 +24,6 @@ index 3a66965..08ba09a 100644
25 'extensions' => ['.S', '.sx']); 24 'extensions' => ['.S', '.sx']);
26 25
27 # Fortran 77 26 # Fortran 77
27--
282.39.2
29
diff --git a/meta/recipes-devtools/automake/automake/0001-automake-Update-for-python.m4-to-respect-libdir.patch b/meta/recipes-devtools/automake/automake/0002-automake-Update-for-python.m4-to-respect-libdir.patch
index d28045618e..308a7d075d 100644
--- a/meta/recipes-devtools/automake/automake/0001-automake-Update-for-python.m4-to-respect-libdir.patch
+++ b/meta/recipes-devtools/automake/automake/0002-automake-Update-for-python.m4-to-respect-libdir.patch
@@ -1,7 +1,7 @@
1From dff74c5b19935cc11b30116a7ae9c8affdff246b Mon Sep 17 00:00:00 2001 1From 05194070775b597829abfa0d9a5f96d19cc064b8 Mon Sep 17 00:00:00 2001
2From: Kumar Gala <galak@kernel.crashing.org> 2From: Kumar Gala <galak@kernel.crashing.org>
3Date: Thu, 11 Aug 2011 01:26:33 -0500 3Date: Thu, 11 Aug 2011 01:26:33 -0500
4Subject: [PATCH] automake: Update for python.m4 to respect libdir 4Subject: [PATCH 2/6] automake: Update for python.m4 to respect libdir
5 5
6Upstream-Status: Inappropriate [embedded specific] 6Upstream-Status: Inappropriate [embedded specific]
7 7
@@ -12,14 +12,14 @@ Updated for automake-1.12.6
12Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> 12Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
13Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 13Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
14--- 14---
15 m4/python.m4 | 24 ++++++------------------ 15 m4/python.m4 | 32 ++++++--------------------------
16 1 file changed, 6 insertions(+), 18 deletions(-) 16 1 file changed, 6 insertions(+), 26 deletions(-)
17 17
18diff --git a/m4/python.m4 b/m4/python.m4 18diff --git a/m4/python.m4 b/m4/python.m4
19index 4e7de9427..40fc5b396 100644 19index 0b1db26..07db0eb 100644
20--- a/m4/python.m4 20--- a/m4/python.m4
21+++ b/m4/python.m4 21+++ b/m4/python.m4
22@@ -96,6 +96,8 @@ AC_DEFUN([AM_PATH_PYTHON], 22@@ -99,6 +99,8 @@ AC_DEFUN([AM_PATH_PYTHON],
23 [am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[[:2]])"`]) 23 [am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[[:2]])"`])
24 AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) 24 AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])
25 25
@@ -28,14 +28,18 @@ index 4e7de9427..40fc5b396 100644
28 dnl At times, e.g., when building shared libraries, you may want 28 dnl At times, e.g., when building shared libraries, you may want
29 dnl to know which OS platform Python thinks this is. 29 dnl to know which OS platform Python thinks this is.
30 dnl 30 dnl
31@@ -251,14 +253,7 @@ except ImportError: 31@@ -268,18 +270,7 @@ except ImportError:
32 else 32 else
33 am_py_prefix=$am_cv_python_prefix 33 am_py_prefix=$am_cv_python_prefix
34 fi 34 fi
35- am_cv_python_pythondir=`$PYTHON -c " 35- am_cv_python_pythondir=`$PYTHON -c "
36-$am_python_setup_sysconfig 36-$am_python_setup_sysconfig
37-if can_use_sysconfig: 37-if can_use_sysconfig:
38- sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'}) 38- try:
39- $am_python_setup_scheme
40- sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'})
41- except:
42- sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
39-else: 43-else:
40- from distutils import sysconfig 44- from distutils import sysconfig
41- sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix') 45- sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
@@ -44,7 +48,7 @@ index 4e7de9427..40fc5b396 100644
44 # 48 #
45 case $am_cv_python_pythondir in 49 case $am_cv_python_pythondir in
46 $am_py_prefix*) 50 $am_py_prefix*)
47@@ -268,7 +263,7 @@ sys.stdout.write(sitedir)"` 51@@ -289,7 +280,7 @@ sys.stdout.write(sitedir)"`
48 *) 52 *)
49 case $am_py_prefix in 53 case $am_py_prefix in
50 /usr|/System*) ;; 54 /usr|/System*) ;;
@@ -53,14 +57,18 @@ index 4e7de9427..40fc5b396 100644
53 ;; 57 ;;
54 esac 58 esac
55 ;; 59 ;;
56@@ -293,14 +288,7 @@ sys.stdout.write(sitedir)"` 60@@ -315,18 +306,7 @@ sys.stdout.write(sitedir)"`
57 else 61 else
58 am_py_exec_prefix=$am_cv_python_exec_prefix 62 am_py_exec_prefix=$am_cv_python_exec_prefix
59 fi 63 fi
60- am_cv_python_pyexecdir=`$PYTHON -c " 64- am_cv_python_pyexecdir=`$PYTHON -c "
61-$am_python_setup_sysconfig 65-$am_python_setup_sysconfig
62-if can_use_sysconfig: 66-if can_use_sysconfig:
63- sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'}) 67- try:
68- $am_python_setup_scheme
69- sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'})
70- except:
71- sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'})
64-else: 72-else:
65- from distutils import sysconfig 73- from distutils import sysconfig
66- sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix') 74- sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
@@ -69,7 +77,7 @@ index 4e7de9427..40fc5b396 100644
69 # 77 #
70 case $am_cv_python_pyexecdir in 78 case $am_cv_python_pyexecdir in
71 $am_py_exec_prefix*) 79 $am_py_exec_prefix*)
72@@ -310,7 +298,7 @@ sys.stdout.write(sitedir)"` 80@@ -336,7 +316,7 @@ sys.stdout.write(sitedir)"`
73 *) 81 *)
74 case $am_py_exec_prefix in 82 case $am_py_exec_prefix in
75 /usr|/System*) ;; 83 /usr|/System*) ;;
@@ -79,5 +87,5 @@ index 4e7de9427..40fc5b396 100644
79 esac 87 esac
80 ;; 88 ;;
81-- 89--
822.20.1 902.39.2
83 91
diff --git a/meta/recipes-devtools/automake/automake/0001-build-fix-race-in-parallel-builds.patch b/meta/recipes-devtools/automake/automake/0003-build-fix-race-in-parallel-builds.patch
index 591fce1bf1..a4039c3bba 100644
--- a/meta/recipes-devtools/automake/automake/0001-build-fix-race-in-parallel-builds.patch
+++ b/meta/recipes-devtools/automake/automake/0003-build-fix-race-in-parallel-builds.patch
@@ -1,7 +1,7 @@
1From 592eb55b248a765abfc796fccb68baa3d53745ac Mon Sep 17 00:00:00 2001 1From b952d7064c9cee23857fbc7cb9d761542b98d59a Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Thu, 26 Jul 2018 00:58:12 -0700 3Date: Thu, 26 Jul 2018 00:58:12 -0700
4Subject: [PATCH] build: fix race in parallel builds 4Subject: [PATCH 3/6] build: fix race in parallel builds
5 5
6The automake-$(APIVERSION) is a hardlink of automake, if it is 6The automake-$(APIVERSION) is a hardlink of automake, if it is
7created later than update_mans executing, there is a failure 7created later than update_mans executing, there is a failure
@@ -31,10 +31,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
31 2 files changed, 4 insertions(+), 4 deletions(-) 31 2 files changed, 4 insertions(+), 4 deletions(-)
32 32
33diff --git a/Makefile.in b/Makefile.in 33diff --git a/Makefile.in b/Makefile.in
34index c3e934c..7cddb8d 100644 34index a919544..c0f8c0d 100644
35--- a/Makefile.in 35--- a/Makefile.in
36+++ b/Makefile.in 36+++ b/Makefile.in
37@@ -691,8 +691,8 @@ bin_SCRIPTS = bin/automake bin/aclocal 37@@ -723,8 +723,8 @@ bin_SCRIPTS = bin/automake bin/aclocal
38 # Used by maintainer checks and such. 38 # Used by maintainer checks and such.
39 automake_in = $(srcdir)/bin/automake.in 39 automake_in = $(srcdir)/bin/automake.in
40 aclocal_in = $(srcdir)/bin/aclocal.in 40 aclocal_in = $(srcdir)/bin/aclocal.in
@@ -46,7 +46,7 @@ index c3e934c..7cddb8d 100644
46 info_TEXINFOS = doc/automake.texi doc/automake-history.texi 46 info_TEXINFOS = doc/automake.texi doc/automake-history.texi
47 doc_automake_TEXINFOS = doc/fdl.texi 47 doc_automake_TEXINFOS = doc/fdl.texi
48diff --git a/bin/local.mk b/bin/local.mk 48diff --git a/bin/local.mk b/bin/local.mk
49index 97b38db..058ca99 100644 49index 4232448..8f043b0 100644
50--- a/bin/local.mk 50--- a/bin/local.mk
51+++ b/bin/local.mk 51+++ b/bin/local.mk
52@@ -31,8 +31,8 @@ CLEANFILES += \ 52@@ -31,8 +31,8 @@ CLEANFILES += \
@@ -61,5 +61,5 @@ index 97b38db..058ca99 100644
61 AUTOMAKESOURCES = $(automake_in) $(aclocal_in) 61 AUTOMAKESOURCES = $(automake_in) $(aclocal_in)
62 TAGS_FILES += $(AUTOMAKESOURCES) 62 TAGS_FILES += $(AUTOMAKESOURCES)
63-- 63--
642.7.4 642.39.2
65 65
diff --git a/meta/recipes-devtools/automake/automake/buildtest.patch b/meta/recipes-devtools/automake/automake/0004-Add-a-new-distro-feature-ptest.patch
index c43a4ac8f3..91c7f1c2cc 100644
--- a/meta/recipes-devtools/automake/automake/buildtest.patch
+++ b/meta/recipes-devtools/automake/automake/0004-Add-a-new-distro-feature-ptest.patch
@@ -1,7 +1,7 @@
1From a860b28069785aa5bf2fa9b671287de9af5004ff Mon Sep 17 00:00:00 2001 1From 839dca38cf24e70c7f0e20015d55aa8e543dd403 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Bj=C3=B6rn=20Stenberg?= <bjst@enea.com> 2From: =?UTF-8?q?Bj=C3=B6rn=20Stenberg?= <bjst@enea.com>
3Date: Wed, 19 Dec 2012 17:18:27 +0100 3Date: Wed, 19 Dec 2012 17:18:27 +0100
4Subject: [PATCH] Add a new distro feature "ptest". 4Subject: [PATCH 4/6] Add a new distro feature "ptest".
5MIME-Version: 1.0 5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8 6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit 7Content-Transfer-Encoding: 8bit
@@ -11,13 +11,12 @@ be run separately.
11 11
12Signed-off-by: Björn Stenberg <bjst@enea.com> 12Signed-off-by: Björn Stenberg <bjst@enea.com>
13Upstream-Status: Pending 13Upstream-Status: Pending
14
15--- 14---
16 lib/am/check.am | 11 +++++++++-- 15 lib/am/check.am | 11 +++++++++--
17 1 file changed, 9 insertions(+), 2 deletions(-) 16 1 file changed, 9 insertions(+), 2 deletions(-)
18 17
19diff --git a/lib/am/check.am b/lib/am/check.am 18diff --git a/lib/am/check.am b/lib/am/check.am
20index e0db651..de137fa 100644 19index e51a771..070e2da 100644
21--- a/lib/am/check.am 20--- a/lib/am/check.am
22+++ b/lib/am/check.am 21+++ b/lib/am/check.am
23@@ -41,7 +41,7 @@ am__tty_colors = { \ 22@@ -41,7 +41,7 @@ am__tty_colors = { \
@@ -29,7 +28,7 @@ index e0db651..de137fa 100644
29 28
30 if !%?SERIAL_TESTS% 29 if !%?SERIAL_TESTS%
31 30
32@@ -466,7 +466,14 @@ else %?SERIAL_TESTS% 31@@ -520,7 +520,14 @@ else %?SERIAL_TESTS%
33 32
34 ## Obsolescent serial testsuite driver. 33 ## Obsolescent serial testsuite driver.
35 34
@@ -45,3 +44,6 @@ index e0db651..de137fa 100644
45 @failed=0; all=0; xfail=0; xpass=0; skip=0; \ 44 @failed=0; all=0; xfail=0; xpass=0; skip=0; \
46 srcdir=$(srcdir); export srcdir; \ 45 srcdir=$(srcdir); export srcdir; \
47 ## Make sure Solaris VPATH-expands all members of this list, even 46 ## Make sure Solaris VPATH-expands all members of this list, even
47--
482.39.2
49
diff --git a/meta/recipes-devtools/automake/automake/new_rt_path_for_test-driver.patch b/meta/recipes-devtools/automake/automake/0005-Set-relative-to-top_builddir-path-in-Makefile-to-acc.patch
index 1f71722334..a5bad068a4 100644
--- a/meta/recipes-devtools/automake/automake/new_rt_path_for_test-driver.patch
+++ b/meta/recipes-devtools/automake/automake/0005-Set-relative-to-top_builddir-path-in-Makefile-to-acc.patch
@@ -1,22 +1,21 @@
1From f78dfa39139d528c94d72f27994f337f2fd3b6bd Mon Sep 17 00:00:00 2001 1From 4f576c10613b43cbbfcdf5a451d893faecd6fea9 Mon Sep 17 00:00:00 2001
2From: Adrian Calianu <adrian.calianu@enea.com> 2From: Adrian Calianu <adrian.calianu@enea.com>
3Date: Thu, 25 Feb 2016 16:08:04 +0100 3Date: Thu, 25 Feb 2016 16:08:04 +0100
4Subject: [PATCH] Set relative to top_builddir path in Makefile to access 4Subject: [PATCH 5/6] Set relative to top_builddir path in Makefile to access
5 test-driver 5 test-driver
6 6
7Signed-off-by: Adrian Calianu <adrian.calianu@enea.com> 7Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
8Upstream-Status: Pending 8Upstream-Status: Inappropriate [specific to oe-core target ptest installation]
9Bug-Report: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19042 9Bug-Report: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19042
10
11--- 10---
12 bin/automake.in | 9 ++++++++- 11 bin/automake.in | 9 ++++++++-
13 1 file changed, 8 insertions(+), 1 deletion(-) 12 1 file changed, 8 insertions(+), 1 deletion(-)
14 13
15diff --git a/bin/automake.in b/bin/automake.in 14diff --git a/bin/automake.in b/bin/automake.in
16index a52a489..8377d20 100644 15index 18626de..3aa8706 100644
17--- a/bin/automake.in 16--- a/bin/automake.in
18+++ b/bin/automake.in 17+++ b/bin/automake.in
19@@ -324,6 +324,9 @@ my $config_aux_dir_set_in_configure_ac = 0; 18@@ -325,6 +325,9 @@ my $config_aux_dir_set_in_configure_ac = 0;
20 # $AM_CONFIG_AUX_DIR is prefixed with $(top_srcdir), so it can be used 19 # $AM_CONFIG_AUX_DIR is prefixed with $(top_srcdir), so it can be used
21 # in Makefiles. 20 # in Makefiles.
22 my $am_config_aux_dir = ''; 21 my $am_config_aux_dir = '';
@@ -26,7 +25,7 @@ index a52a489..8377d20 100644
26 25
27 # Directory to search for AC_LIBSOURCE files, as set by AC_CONFIG_LIBOBJ_DIR 26 # Directory to search for AC_LIBSOURCE files, as set by AC_CONFIG_LIBOBJ_DIR
28 # in configure.ac. 27 # in configure.ac.
29@@ -4854,7 +4857,7 @@ sub handle_per_suffix_test 28@@ -4917,7 +4920,7 @@ sub handle_per_suffix_test
30 { 29 {
31 require_conf_file ("parallel-tests", FOREIGN, 'test-driver'); 30 require_conf_file ("parallel-tests", FOREIGN, 'test-driver');
32 define_variable ("${pfx}LOG_DRIVER", 31 define_variable ("${pfx}LOG_DRIVER",
@@ -35,7 +34,7 @@ index a52a489..8377d20 100644
35 INTERNAL); 34 INTERNAL);
36 } 35 }
37 my $driver = '$(' . $pfx . 'LOG_DRIVER)'; 36 my $driver = '$(' . $pfx . 'LOG_DRIVER)';
38@@ -7440,6 +7443,10 @@ sub locate_aux_dir () 37@@ -7554,6 +7557,10 @@ sub locate_aux_dir ()
39 $am_config_aux_dir = 38 $am_config_aux_dir =
40 '$(top_srcdir)' . ($config_aux_dir eq '.' ? "" : "/$config_aux_dir"); 39 '$(top_srcdir)' . ($config_aux_dir eq '.' ? "" : "/$config_aux_dir");
41 $am_config_aux_dir =~ s,/*$,,; 40 $am_config_aux_dir =~ s,/*$,,;
@@ -46,3 +45,6 @@ index a52a489..8377d20 100644
46 } 45 }
47 46
48 47
48--
492.39.2
50
diff --git a/meta/recipes-devtools/automake/automake/0006-automake-Remove-delays-in-configure-scripts-using-au.patch b/meta/recipes-devtools/automake/automake/0006-automake-Remove-delays-in-configure-scripts-using-au.patch
new file mode 100644
index 0000000000..e5e39169b6
--- /dev/null
+++ b/meta/recipes-devtools/automake/automake/0006-automake-Remove-delays-in-configure-scripts-using-au.patch
@@ -0,0 +1,77 @@
1From b43c0ccd1d98a43c0ddcade40fa288e98d381420 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Mon, 7 Dec 2015 18:28:05 +0000
4Subject: [PATCH 6/6] automake: Remove delays in configure scripts using
5 automake
6
7By default automake puts "sleep 1" into the start of configure scripts
8which adds pointless delays to them. Rather than do this, lets just assume
9our systems are sane.
10
11RP
122015/12/7
13Upstream-Status: Inappropriate
14---
15 m4/sanity.m4 | 48 +-----------------------------------------------
16 1 file changed, 1 insertion(+), 47 deletions(-)
17
18diff --git a/m4/sanity.m4 b/m4/sanity.m4
19index c7f32da..f25625a 100644
20--- a/m4/sanity.m4
21+++ b/m4/sanity.m4
22@@ -176,51 +176,5 @@ case $srcdir in
23 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
24 esac
25
26-# Do 'set' in a subshell so we don't clobber the current shell's
27-# arguments. Must try -L first in case configure is actually a
28-# symlink; some systems play weird games with the mod time of symlinks
29-# (eg FreeBSD returns the mod time of the symlink's containing
30-# directory).
31-am_build_env_is_sane=no
32-am_has_slept=no
33-rm -f conftest.file
34-for am_try in 1 2; do
35- echo "timestamp, slept: $am_has_slept" > conftest.file
36- if (
37- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
38- if test "$[]*" = "X"; then
39- # -L didn't work.
40- set X `ls -t "$srcdir/configure" conftest.file`
41- fi
42- test "$[]2" = conftest.file
43- ); then
44- am_build_env_is_sane=yes
45- break
46- fi
47- # Just in case.
48- sleep "$am_cv_filesystem_timestamp_resolution"
49- am_has_slept=yes
50-done
51-
52-AC_MSG_RESULT([$am_build_env_is_sane])
53-if test "$am_build_env_is_sane" = no; then
54- AC_MSG_ERROR([newly created file is older than distributed files!
55-Check your system clock])
56-fi
57-
58-# If we didn't sleep, we still need to ensure time stamps of config.status and
59-# generated files are strictly newer.
60-am_sleep_pid=
61-AS_IF([test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1],, [dnl
62- ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
63- am_sleep_pid=$!
64-])
65-AC_CONFIG_COMMANDS_PRE(
66- [AC_MSG_CHECKING([that generated files are newer than configure])
67- if test -n "$am_sleep_pid"; then
68- # Hide warnings about reused PIDs.
69- wait $am_sleep_pid 2>/dev/null
70- fi
71- AC_MSG_RESULT([done])])
72-rm -f conftest.file
73+AC_MSG_RESULT([yes])
74 ])
75--
762.39.2
77
diff --git a/meta/recipes-devtools/automake/automake/performance.patch b/meta/recipes-devtools/automake/automake/performance.patch
deleted file mode 100644
index a8ba6592fa..0000000000
--- a/meta/recipes-devtools/automake/automake/performance.patch
+++ /dev/null
@@ -1,82 +0,0 @@
1From cd47c328cb53546891bb3dc7c9b2c54ed01cc6d1 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Mon, 7 Dec 2015 18:28:05 +0000
4Subject: [PATCH] automake: Remove delays in configure scripts using automake
5
6By default automake puts "sleep 1" into the start of configure scripts
7which adds pointless delays to them. Rather than do this, lets just assume
8our systems are sane.
9
10RP
112015/12/7
12Upstream-Status: Inappropriate
13
14---
15 m4/sanity.m4 | 55 -------------------------------------------------------
16 1 file changed, 55 deletions(-)
17
18diff --git a/m4/sanity.m4 b/m4/sanity.m4
19index eaac218..bfdfe88 100644
20--- a/m4/sanity.m4
21+++ b/m4/sanity.m4
22@@ -23,60 +23,5 @@ case $srcdir in
23 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
24 esac
25
26-# Do 'set' in a subshell so we don't clobber the current shell's
27-# arguments. Must try -L first in case configure is actually a
28-# symlink; some systems play weird games with the mod time of symlinks
29-# (eg FreeBSD returns the mod time of the symlink's containing
30-# directory).
31-if (
32- am_has_slept=no
33- for am_try in 1 2; do
34- echo "timestamp, slept: $am_has_slept" > conftest.file
35- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
36- if test "$[*]" = "X"; then
37- # -L didn't work.
38- set X `ls -t "$srcdir/configure" conftest.file`
39- fi
40- if test "$[*]" != "X $srcdir/configure conftest.file" \
41- && test "$[*]" != "X conftest.file $srcdir/configure"; then
42-
43- # If neither matched, then we have a broken ls. This can happen
44- # if, for instance, CONFIG_SHELL is bash and it inherits a
45- # broken ls alias from the environment. This has actually
46- # happened. Such a system could not be considered "sane".
47- AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
48- alias in your environment])
49- fi
50- if test "$[2]" = conftest.file || test $am_try -eq 2; then
51- break
52- fi
53- # Just in case.
54- sleep 1
55- am_has_slept=yes
56- done
57- test "$[2]" = conftest.file
58- )
59-then
60- # Ok.
61- :
62-else
63- AC_MSG_ERROR([newly created file is older than distributed files!
64-Check your system clock])
65-fi
66 AC_MSG_RESULT([yes])
67-# If we didn't sleep, we still need to ensure time stamps of config.status and
68-# generated files are strictly newer.
69-am_sleep_pid=
70-if grep 'slept: no' conftest.file >/dev/null 2>&1; then
71- ( sleep 1 ) &
72- am_sleep_pid=$!
73-fi
74-AC_CONFIG_COMMANDS_PRE(
75- [AC_MSG_CHECKING([that generated files are newer than configure])
76- if test -n "$am_sleep_pid"; then
77- # Hide warnings about reused PIDs.
78- wait $am_sleep_pid 2>/dev/null
79- fi
80- AC_MSG_RESULT([done])])
81-rm -f conftest.file
82 ])