summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/automake
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2025-02-26 20:22:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-03-03 18:01:29 +0000
commitf71f5fcb62e72380ce20ec63bd00ec1c96ab78ba (patch)
treebabea67c9a8c9bc464ea5a3c069ff7ccb2a1c83b /meta/recipes-devtools/automake
parent9ac081be6f2d6652220ee2252830641cbb32325a (diff)
downloadpoky-f71f5fcb62e72380ce20ec63bd00ec1c96ab78ba.tar.gz
automake: remove upstreamed patches
0001-automake-Add-default-libtool_tag-to-cppasm.patch was upstreamed in 1.16[1]. 0003-build-fix-race-in-parallel-builds.patch wasn't directly applied, but a fix for the same problem was merged in 1.17[2]. [1] automake dc67b18d "automake: Add default libtool_tag to cppasm" [2] automake 5d022858 "build: fix race in parallel builds" (From OE-Core rev: 386feebe8221c5ef0f87d371dc3e79bfdee1a3bb) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/automake')
-rw-r--r--meta/recipes-devtools/automake/automake/0001-automake-Add-default-libtool_tag-to-cppasm.patch29
-rw-r--r--meta/recipes-devtools/automake/automake/0003-build-fix-race-in-parallel-builds.patch65
-rw-r--r--meta/recipes-devtools/automake/automake_1.17.bb2
3 files changed, 0 insertions, 96 deletions
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
deleted file mode 100644
index 9608b5db44..0000000000
--- a/meta/recipes-devtools/automake/automake/0001-automake-Add-default-libtool_tag-to-cppasm.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From 2884ad2aa8b51cbba25a376935151a242f488e30 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 26 Jul 2017 11:19:56 -0700
4Subject: [PATCH 1/6] automake: Add default libtool_tag to cppasm.
5
6 * bin/automake.in (register_language): Define default libtool tag to be CC
7 since CPPASCOMPILE is using CC to call assembler
8
9Upstream-Status: Submitted
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 bin/automake.in | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/bin/automake.in b/bin/automake.in
16index a17f452..18626de 100644
17--- a/bin/automake.in
18+++ b/bin/automake.in
19@@ -897,6 +897,7 @@ register_language ('name' => 'cppasm',
20 'libtool_tag' => 'CC',
21 'compile_flag' => '-c',
22 'output_flag' => '-o',
23+ 'libtool_tag' => 'CC',
24 'extensions' => ['.S', '.sx']);
25
26 # Fortran 77
27--
282.39.2
29
diff --git a/meta/recipes-devtools/automake/automake/0003-build-fix-race-in-parallel-builds.patch b/meta/recipes-devtools/automake/automake/0003-build-fix-race-in-parallel-builds.patch
deleted file mode 100644
index a4039c3bba..0000000000
--- a/meta/recipes-devtools/automake/automake/0003-build-fix-race-in-parallel-builds.patch
+++ /dev/null
@@ -1,65 +0,0 @@
1From b952d7064c9cee23857fbc7cb9d761542b98d59a Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Thu, 26 Jul 2018 00:58:12 -0700
4Subject: [PATCH 3/6] build: fix race in parallel builds
5
6The automake-$(APIVERSION) is a hardlink of automake, if it is
7created later than update_mans executing, there is a failure
8[snip]
9|: && mkdir -p doc && ./pre-inst-env /usr/bin/env perl
10../automake-1.16.1/doc/help2man --output=doc/aclocal-1.16.1
11aclocal-1.16
12|help2man: can't get `--help' info from aclocal-1.16
13|Try `--no-discard-stderr' if option outputs to stderr
14Makefile:3693: recipe for target 'doc/aclocal-1.16.1' failed
15[snip]
16
17The automake_script is required by update_mans and update_mans
18invokes automake-$(APIVERSION) rather than automake to generate
19doc, so we should assign `automake-$(APIVERSION)' to automake_script.
20
21The same reason to tweak aclocal_script.
22
23* bin/local.mk: correct automake_script/aclocal_script
24
25Upstream-Status: Submitted [automake-patches@gnu.org]
26
27Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
28---
29 Makefile.in | 4 ++--
30 bin/local.mk | 4 ++--
31 2 files changed, 4 insertions(+), 4 deletions(-)
32
33diff --git a/Makefile.in b/Makefile.in
34index a919544..c0f8c0d 100644
35--- a/Makefile.in
36+++ b/Makefile.in
37@@ -723,8 +723,8 @@ bin_SCRIPTS = bin/automake bin/aclocal
38 # Used by maintainer checks and such.
39 automake_in = $(srcdir)/bin/automake.in
40 aclocal_in = $(srcdir)/bin/aclocal.in
41-automake_script = bin/automake
42-aclocal_script = bin/aclocal
43+automake_script = bin/automake-$(APIVERSION)
44+aclocal_script = bin/aclocal-$(APIVERSION)
45 AUTOMAKESOURCES = $(automake_in) $(aclocal_in)
46 info_TEXINFOS = doc/automake.texi doc/automake-history.texi
47 doc_automake_TEXINFOS = doc/fdl.texi
48diff --git a/bin/local.mk b/bin/local.mk
49index 4232448..8f043b0 100644
50--- a/bin/local.mk
51+++ b/bin/local.mk
52@@ -31,8 +31,8 @@ CLEANFILES += \
53 # Used by maintainer checks and such.
54 automake_in = $(srcdir)/%D%/automake.in
55 aclocal_in = $(srcdir)/%D%/aclocal.in
56-automake_script = %D%/automake
57-aclocal_script = %D%/aclocal
58+automake_script = %D%/automake-$(APIVERSION)
59+aclocal_script = %D%/aclocal-$(APIVERSION)
60
61 AUTOMAKESOURCES = $(automake_in) $(aclocal_in)
62 TAGS_FILES += $(AUTOMAKESOURCES)
63--
642.39.2
65
diff --git a/meta/recipes-devtools/automake/automake_1.17.bb b/meta/recipes-devtools/automake/automake_1.17.bb
index 1118aa4668..4cda04e47b 100644
--- a/meta/recipes-devtools/automake/automake_1.17.bb
+++ b/meta/recipes-devtools/automake/automake_1.17.bb
@@ -19,9 +19,7 @@ RDEPENDS:${PN} += "\
19RDEPENDS:${PN}:class-native = "autoconf-native hostperl-runtime-native" 19RDEPENDS:${PN}:class-native = "autoconf-native hostperl-runtime-native"
20 20
21SRC_URI += "\ 21SRC_URI += "\
22 file://0001-automake-Add-default-libtool_tag-to-cppasm.patch \
23 file://0002-automake-Update-for-python.m4-to-respect-libdir.patch \ 22 file://0002-automake-Update-for-python.m4-to-respect-libdir.patch \
24 file://0003-build-fix-race-in-parallel-builds.patch \
25 file://0004-Add-a-new-distro-feature-ptest.patch \ 23 file://0004-Add-a-new-distro-feature-ptest.patch \
26 file://0006-automake-Remove-delays-in-configure-scripts-using-au.patch \ 24 file://0006-automake-Remove-delays-in-configure-scripts-using-au.patch \
27 file://0001-configure-don-t-report-error-when-the-path-of-Perl-c.patch \ 25 file://0001-configure-don-t-report-error-when-the-path-of-Perl-c.patch \