diff options
author | Ross Burton <ross.burton@arm.com> | 2025-02-25 14:26:34 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-02-27 10:55:16 +0000 |
commit | 937758dc139278870d5381e87b16fa1e8a088169 (patch) | |
tree | ba667f9df05f3d5a23e3ab76e239383f5ebc16dc | |
parent | a4b1fa2b22794d59fee716afe6e269dae7f87ace (diff) | |
download | poky-937758dc139278870d5381e87b16fa1e8a088169.tar.gz |
recipes/*: remove obsolete use of acpaths
The bulk of these recipes used acpaths to work around argument list
limits as we passed the full path to every directory. As this behaviour
no longer happens we can remove these workarounds.
(From OE-Core rev: c4336f1b0da981b3ea396b17779b67898bceccef)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-connectivity/inetutils/inetutils_2.5.bb | 2 | ||||
-rw-r--r-- | meta/recipes-core/coreutils/coreutils_9.6.bb | 6 | ||||
-rw-r--r-- | meta/recipes-core/gettext/gettext_0.23.1.bb | 3 | ||||
-rw-r--r-- | meta/recipes-devtools/bison/bison_3.8.2.bb | 3 | ||||
-rw-r--r-- | meta/recipes-devtools/m4/m4-1.4.19.inc | 3 | ||||
-rw-r--r-- | meta/recipes-devtools/patch/patch_2.7.6.bb | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/pkgconfig/pkgconfig_git.bb | 2 | ||||
-rw-r--r-- | meta/recipes-extended/diffutils/diffutils_3.11.bb | 3 | ||||
-rw-r--r-- | meta/recipes-extended/grep/grep_3.11.bb | 3 | ||||
-rw-r--r-- | meta/recipes-extended/libpipeline/libpipeline_1.5.8.bb | 2 | ||||
-rw-r--r-- | meta/recipes-extended/tar/tar_1.35.bb | 6 | ||||
-rw-r--r-- | meta/recipes-extended/wget/wget.inc | 5 | ||||
-rw-r--r-- | meta/recipes-support/gmp/gmp_6.3.0.bb | 2 |
13 files changed, 0 insertions, 42 deletions
diff --git a/meta/recipes-connectivity/inetutils/inetutils_2.5.bb b/meta/recipes-connectivity/inetutils/inetutils_2.5.bb index 7310f2dc47..19bf7e1539 100644 --- a/meta/recipes-connectivity/inetutils/inetutils_2.5.bb +++ b/meta/recipes-connectivity/inetutils/inetutils_2.5.bb | |||
@@ -22,8 +22,6 @@ SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.xz \ | |||
22 | 22 | ||
23 | inherit autotools gettext update-alternatives texinfo | 23 | inherit autotools gettext update-alternatives texinfo |
24 | 24 | ||
25 | acpaths = "-I ./m4" | ||
26 | |||
27 | PACKAGECONFIG ??= "ftp uucpd \ | 25 | PACKAGECONFIG ??= "ftp uucpd \ |
28 | ${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \ | 26 | ${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \ |
29 | ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6 ping6', '', d)} \ | 27 | ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6 ping6', '', d)} \ |
diff --git a/meta/recipes-core/coreutils/coreutils_9.6.bb b/meta/recipes-core/coreutils/coreutils_9.6.bb index 0527787934..17bd33958b 100644 --- a/meta/recipes-core/coreutils/coreutils_9.6.bb +++ b/meta/recipes-core/coreutils/coreutils_9.6.bb | |||
@@ -82,12 +82,6 @@ RPROVIDES:coreutils += "${@bb.utils.contains('PACKAGECONFIG', 'single-binary', ' | |||
82 | PACKAGE_BEFORE_PN:class-target += "${PN}-getlimits" | 82 | PACKAGE_BEFORE_PN:class-target += "${PN}-getlimits" |
83 | FILES:${PN}-getlimits = "${bindir}/getlimits" | 83 | FILES:${PN}-getlimits = "${bindir}/getlimits" |
84 | 84 | ||
85 | # Let aclocal use the relative path for the m4 file rather than the | ||
86 | # absolute since coreutils has a lot of m4 files, otherwise there might | ||
87 | # be an "Argument list too long" error when it is built in a long/deep | ||
88 | # directory. | ||
89 | acpaths = "-I ./m4" | ||
90 | |||
91 | # Deal with a separate builddir failure if src doesn't exist when creating version.c/version.h | 85 | # Deal with a separate builddir failure if src doesn't exist when creating version.c/version.h |
92 | do_compile:prepend () { | 86 | do_compile:prepend () { |
93 | mkdir -p ${B}/src | 87 | mkdir -p ${B}/src |
diff --git a/meta/recipes-core/gettext/gettext_0.23.1.bb b/meta/recipes-core/gettext/gettext_0.23.1.bb index da4e6c6850..cbc3e48890 100644 --- a/meta/recipes-core/gettext/gettext_0.23.1.bb +++ b/meta/recipes-core/gettext/gettext_0.23.1.bb | |||
@@ -63,9 +63,6 @@ PACKAGECONFIG[libxml] = "--without-included-libxml,--with-included-libxml,libxml | |||
63 | PACKAGECONFIG[libunistring] = "--with-libunistring-prefix=${STAGING_LIBDIR}/..,--with-included-libunistring,libunistring" | 63 | PACKAGECONFIG[libunistring] = "--with-libunistring-prefix=${STAGING_LIBDIR}/..,--with-included-libunistring,libunistring" |
64 | PACKAGECONFIG[msgcat-curses] = "--with-libncurses-prefix=${STAGING_LIBDIR}/..,--disable-curses,ncurses," | 64 | PACKAGECONFIG[msgcat-curses] = "--with-libncurses-prefix=${STAGING_LIBDIR}/..,--disable-curses,ncurses," |
65 | 65 | ||
66 | acpaths = '-I ${S}/gettext-runtime/m4 \ | ||
67 | -I ${S}/gettext-tools/m4' | ||
68 | |||
69 | do_install:append:libc-musl () { | 66 | do_install:append:libc-musl () { |
70 | rm -f ${D}${libdir}/charset.alias | 67 | rm -f ${D}${libdir}/charset.alias |
71 | rm -f ${D}${includedir}/libintl.h | 68 | rm -f ${D}${includedir}/libintl.h |
diff --git a/meta/recipes-devtools/bison/bison_3.8.2.bb b/meta/recipes-devtools/bison/bison_3.8.2.bb index da138e3587..513d7ec287 100644 --- a/meta/recipes-devtools/bison/bison_3.8.2.bb +++ b/meta/recipes-devtools/bison/bison_3.8.2.bb | |||
@@ -37,9 +37,6 @@ CACHED_CONFIGUREVARS += "${@bb.utils.contains('PACKAGECONFIG', 'readline', '', ' | |||
37 | ${@bb.utils.contains('PACKAGECONFIG', 'textstyle', '', ' \ | 37 | ${@bb.utils.contains('PACKAGECONFIG', 'textstyle', '', ' \ |
38 | ac_cv_libtextstyle=no', d)}" | 38 | ac_cv_libtextstyle=no', d)}" |
39 | 39 | ||
40 | # The automatic m4 path detection gets confused, so force the right value | ||
41 | acpaths = "-I ./m4" | ||
42 | |||
43 | do_compile:prepend() { | 40 | do_compile:prepend() { |
44 | for i in mfcalc calc++ rpcalc; do mkdir -p ${B}/examples/$i; done | 41 | for i in mfcalc calc++ rpcalc; do mkdir -p ${B}/examples/$i; done |
45 | } | 42 | } |
diff --git a/meta/recipes-devtools/m4/m4-1.4.19.inc b/meta/recipes-devtools/m4/m4-1.4.19.inc index 1d1f1eb477..8fb13f543b 100644 --- a/meta/recipes-devtools/m4/m4-1.4.19.inc +++ b/meta/recipes-devtools/m4/m4-1.4.19.inc | |||
@@ -23,9 +23,6 @@ LICENSE = "GPL-3.0-only" | |||
23 | LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464\ | 23 | LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464\ |
24 | file://examples/COPYING;md5=4031593b2166d6c47cae282d944a7ede" | 24 | file://examples/COPYING;md5=4031593b2166d6c47cae282d944a7ede" |
25 | 25 | ||
26 | # Fix "Argument list too long" error when len(TMPDIR) = 410 | ||
27 | acpaths = "-I ./m4" | ||
28 | |||
29 | EXTRA_OECONF += "--without-libsigsegv-prefix" | 26 | EXTRA_OECONF += "--without-libsigsegv-prefix" |
30 | 27 | ||
31 | EXTRA_OEMAKE += "'infodir=${infodir}'" | 28 | EXTRA_OEMAKE += "'infodir=${infodir}'" |
diff --git a/meta/recipes-devtools/patch/patch_2.7.6.bb b/meta/recipes-devtools/patch/patch_2.7.6.bb index e0e44f9c97..a91944234f 100644 --- a/meta/recipes-devtools/patch/patch_2.7.6.bb +++ b/meta/recipes-devtools/patch/patch_2.7.6.bb | |||
@@ -18,8 +18,6 @@ SRC_URI[sha256sum] = "8cf86e00ad3aaa6d26aca30640e86b0e3e1f395ed99f189b06d4c9f74b | |||
18 | 18 | ||
19 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 19 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
20 | 20 | ||
21 | acpaths = "-I ${S}/m4 " | ||
22 | |||
23 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'xattr', d)}" | 21 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'xattr', d)}" |
24 | PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr," | 22 | PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr," |
25 | 23 | ||
diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb index 2b298eb5e8..baf37b0a9b 100644 --- a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb +++ b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb | |||
@@ -31,8 +31,6 @@ PACKAGECONFIG:class-native = "" | |||
31 | 31 | ||
32 | PACKAGECONFIG[glib] = "--without-internal-glib,--with-internal-glib,glib-2.0 pkgconfig-native" | 32 | PACKAGECONFIG[glib] = "--without-internal-glib,--with-internal-glib,glib-2.0 pkgconfig-native" |
33 | 33 | ||
34 | acpaths = "-I ." | ||
35 | |||
36 | BBCLASSEXTEND = "native nativesdk" | 34 | BBCLASSEXTEND = "native nativesdk" |
37 | 35 | ||
38 | # Set an empty dev package to ensure the base PN package gets | 36 | # Set an empty dev package to ensure the base PN package gets |
diff --git a/meta/recipes-extended/diffutils/diffutils_3.11.bb b/meta/recipes-extended/diffutils/diffutils_3.11.bb index 8f5a87c2db..a4badc044e 100644 --- a/meta/recipes-extended/diffutils/diffutils_3.11.bb +++ b/meta/recipes-extended/diffutils/diffutils_3.11.bb | |||
@@ -15,9 +15,6 @@ EXTRA_OECONF += "ac_cv_path_PR_PROGRAM=${bindir}/pr --without-libsigsegv-prefix" | |||
15 | # latest gnulib is no longer able to handle this - I dare not try to fix that maze of abstractions and generators | 15 | # latest gnulib is no longer able to handle this - I dare not try to fix that maze of abstractions and generators |
16 | CFLAGS:mingw32 = " -DSA_RESTART=0" | 16 | CFLAGS:mingw32 = " -DSA_RESTART=0" |
17 | 17 | ||
18 | # Fix "Argument list too long" error when len(TMPDIR) = 410 | ||
19 | acpaths = "-I ./m4" | ||
20 | |||
21 | EXTRA_OEMAKE:append:mingw32 = " LIBS='-lbcrypt'" | 18 | EXTRA_OEMAKE:append:mingw32 = " LIBS='-lbcrypt'" |
22 | inherit ptest | 19 | inherit ptest |
23 | 20 | ||
diff --git a/meta/recipes-extended/grep/grep_3.11.bb b/meta/recipes-extended/grep/grep_3.11.bb index cb3105de04..0d36eba3b2 100644 --- a/meta/recipes-extended/grep/grep_3.11.bb +++ b/meta/recipes-extended/grep/grep_3.11.bb | |||
@@ -12,9 +12,6 @@ SRC_URI[sha256sum] = "1db2aedde89d0dea42b16d9528f894c8d15dae4e190b59aecc78f5a951 | |||
12 | 12 | ||
13 | inherit autotools gettext texinfo pkgconfig | 13 | inherit autotools gettext texinfo pkgconfig |
14 | 14 | ||
15 | # Fix "Argument list too long" error when len(TMPDIR) = 410 | ||
16 | acpaths = "-I ./m4" | ||
17 | |||
18 | do_configure:prepend () { | 15 | do_configure:prepend () { |
19 | sed -i -e '1s,#!@SHELL@,#!/bin/sh,' ${S}/src/egrep.sh | 16 | sed -i -e '1s,#!@SHELL@,#!/bin/sh,' ${S}/src/egrep.sh |
20 | rm -f ${S}/m4/init.m4 | 17 | rm -f ${S}/m4/init.m4 |
diff --git a/meta/recipes-extended/libpipeline/libpipeline_1.5.8.bb b/meta/recipes-extended/libpipeline/libpipeline_1.5.8.bb index bd3f40ab82..1f6de1d925 100644 --- a/meta/recipes-extended/libpipeline/libpipeline_1.5.8.bb +++ b/meta/recipes-extended/libpipeline/libpipeline_1.5.8.bb | |||
@@ -10,5 +10,3 @@ SRC_URI = "${SAVANNAH_GNU_MIRROR}/libpipeline/libpipeline-${PV}.tar.gz" | |||
10 | SRC_URI[sha256sum] = "1b1203ca152ccd63983c3f2112f7fe6fa5afd453218ede5153d1b31e11bb8405" | 10 | SRC_URI[sha256sum] = "1b1203ca152ccd63983c3f2112f7fe6fa5afd453218ede5153d1b31e11bb8405" |
11 | 11 | ||
12 | inherit pkgconfig autotools | 12 | inherit pkgconfig autotools |
13 | |||
14 | acpaths = "-I ${S}/gl/m4 -I ${S}/m4" | ||
diff --git a/meta/recipes-extended/tar/tar_1.35.bb b/meta/recipes-extended/tar/tar_1.35.bb index c7bd1d195e..ea0993a909 100644 --- a/meta/recipes-extended/tar/tar_1.35.bb +++ b/meta/recipes-extended/tar/tar_1.35.bb | |||
@@ -22,12 +22,6 @@ EXTRA_OECONF += "DEFAULT_RMT_DIR=${sbindir}" | |||
22 | 22 | ||
23 | CACHED_CONFIGUREVARS += "tar_cv_path_RSH=no" | 23 | CACHED_CONFIGUREVARS += "tar_cv_path_RSH=no" |
24 | 24 | ||
25 | # Let aclocal use the relative path for the m4 file rather than the | ||
26 | # absolute since tar has a lot of m4 files, otherwise there might | ||
27 | # be an "Argument list too long" error when it is built in a long/deep | ||
28 | # directory. | ||
29 | acpaths = "-I ./m4" | ||
30 | |||
31 | do_install () { | 25 | do_install () { |
32 | autotools_do_install | 26 | autotools_do_install |
33 | ln -s tar ${D}${bindir}/gtar | 27 | ln -s tar ${D}${bindir}/gtar |
diff --git a/meta/recipes-extended/wget/wget.inc b/meta/recipes-extended/wget/wget.inc index 51926e7296..151aeabcdc 100644 --- a/meta/recipes-extended/wget/wget.inc +++ b/meta/recipes-extended/wget/wget.inc | |||
@@ -38,8 +38,3 @@ PACKAGECONFIG[libuuid] = "--with-libuuid,--without-libuuid,util-linux" | |||
38 | PACKAGECONFIG[openssl] = "--with-ssl=openssl,,openssl" | 38 | PACKAGECONFIG[openssl] = "--with-ssl=openssl,,openssl" |
39 | PACKAGECONFIG[pcre] = "--enable-pcre,--disable-pcre,libpcre" | 39 | PACKAGECONFIG[pcre] = "--enable-pcre,--disable-pcre,libpcre" |
40 | PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" | 40 | PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" |
41 | |||
42 | # Let aclocal use the relative path for the m4 file rather than | ||
43 | # absolute, otherwise there might be an "Argument list too long" error | ||
44 | # when it is built in a long/deep directory. | ||
45 | acpaths = "-I ./m4" | ||
diff --git a/meta/recipes-support/gmp/gmp_6.3.0.bb b/meta/recipes-support/gmp/gmp_6.3.0.bb index fd4aec92fd..2ce8ae385c 100644 --- a/meta/recipes-support/gmp/gmp_6.3.0.bb +++ b/meta/recipes-support/gmp/gmp_6.3.0.bb | |||
@@ -17,8 +17,6 @@ SRC_URI = "https://gmplib.org/download/${BPN}/${BP}${REVISION}.tar.bz2 \ | |||
17 | " | 17 | " |
18 | SRC_URI[sha256sum] = "ac28211a7cfb609bae2e2c8d6058d66c8fe96434f740cf6fe2e47b000d1c20cb" | 18 | SRC_URI[sha256sum] = "ac28211a7cfb609bae2e2c8d6058d66c8fe96434f740cf6fe2e47b000d1c20cb" |
19 | 19 | ||
20 | acpaths = "" | ||
21 | |||
22 | EXTRA_OECONF += " --enable-cxx=detect" | 20 | EXTRA_OECONF += " --enable-cxx=detect" |
23 | EXTRA_OECONF:append:mipsarchr6 = " --disable-assembly" | 21 | EXTRA_OECONF:append:mipsarchr6 = " --disable-assembly" |
24 | 22 | ||