]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
recipes/*: remove obsolete use of acpaths
authorRoss Burton <ross.burton@arm.com>
Tue, 25 Feb 2025 14:26:34 +0000 (14:26 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Feb 2025 10:47:09 +0000 (10:47 +0000)
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.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 files changed:
meta/recipes-connectivity/inetutils/inetutils_2.5.bb
meta/recipes-core/coreutils/coreutils_9.6.bb
meta/recipes-core/gettext/gettext_0.23.1.bb
meta/recipes-devtools/bison/bison_3.8.2.bb
meta/recipes-devtools/m4/m4-1.4.19.inc
meta/recipes-devtools/patch/patch_2.7.6.bb
meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
meta/recipes-extended/diffutils/diffutils_3.11.bb
meta/recipes-extended/grep/grep_3.11.bb
meta/recipes-extended/libpipeline/libpipeline_1.5.8.bb
meta/recipes-extended/tar/tar_1.35.bb
meta/recipes-extended/wget/wget.inc
meta/recipes-support/gmp/gmp_6.3.0.bb

index 7310f2dc47e8d132b2adf01712d0c31dd6a8b88c..19bf7e1539b305f55dcabc03892fd2e72475b43e 100644 (file)
@@ -22,8 +22,6 @@ SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.xz \
 
 inherit autotools gettext update-alternatives texinfo
 
-acpaths = "-I ./m4"
-
 PACKAGECONFIG ??= "ftp uucpd \
                    ${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \
                    ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6 ping6', '', d)} \
index 0527787934372994014266902d995494feaf5cf5..17bd33958b98ca515192543c80b254c31dbce843 100644 (file)
@@ -82,12 +82,6 @@ RPROVIDES:coreutils += "${@bb.utils.contains('PACKAGECONFIG', 'single-binary', '
 PACKAGE_BEFORE_PN:class-target += "${PN}-getlimits"
 FILES:${PN}-getlimits = "${bindir}/getlimits"
 
-# Let aclocal use the relative path for the m4 file rather than the
-# absolute since coreutils has a lot of m4 files, otherwise there might
-# be an "Argument list too long" error when it is built in a long/deep
-# directory.
-acpaths = "-I ./m4"
-
 # Deal with a separate builddir failure if src doesn't exist when creating version.c/version.h
 do_compile:prepend () {
        mkdir -p ${B}/src
index da4e6c685008bf21ed894b346c0cd5cb882c5b31..cbc3e48890ef63e2ed2152b6294db46b1f318a65 100644 (file)
@@ -63,9 +63,6 @@ PACKAGECONFIG[libxml] = "--without-included-libxml,--with-included-libxml,libxml
 PACKAGECONFIG[libunistring] = "--with-libunistring-prefix=${STAGING_LIBDIR}/..,--with-included-libunistring,libunistring"
 PACKAGECONFIG[msgcat-curses] = "--with-libncurses-prefix=${STAGING_LIBDIR}/..,--disable-curses,ncurses,"
 
-acpaths = '-I ${S}/gettext-runtime/m4 \
-           -I ${S}/gettext-tools/m4'
-
 do_install:append:libc-musl () {
        rm -f ${D}${libdir}/charset.alias
        rm -f ${D}${includedir}/libintl.h
index da138e358746b62b7a707b04e9d44fbebae3e838..513d7ec287d7a97fe34070b2251df6df81ac34c4 100644 (file)
@@ -37,9 +37,6 @@ CACHED_CONFIGUREVARS += "${@bb.utils.contains('PACKAGECONFIG', 'readline', '', '
                          ${@bb.utils.contains('PACKAGECONFIG', 'textstyle', '', ' \
                            ac_cv_libtextstyle=no', d)}"
 
-# The automatic m4 path detection gets confused, so force the right value
-acpaths = "-I ./m4"
-
 do_compile:prepend() {
        for i in mfcalc calc++ rpcalc; do mkdir -p ${B}/examples/$i; done
 }
index 1d1f1eb477aad4304626ae68fa23432a70cbafa0..8fb13f543b21a6751aee529dba9e3081305165ec 100644 (file)
@@ -23,9 +23,6 @@ LICENSE = "GPL-3.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464\
                    file://examples/COPYING;md5=4031593b2166d6c47cae282d944a7ede"
 
-# Fix "Argument list too long" error when len(TMPDIR) = 410
-acpaths = "-I ./m4"
-
 EXTRA_OECONF += "--without-libsigsegv-prefix"
 
 EXTRA_OEMAKE += "'infodir=${infodir}'"
index e0e44f9c97785e83a1bf0fbde10d3d4623c4fcc4..a91944234f18f31a55ee1d64ef99c290875747d3 100644 (file)
@@ -18,8 +18,6 @@ SRC_URI[sha256sum] = "8cf86e00ad3aaa6d26aca30640e86b0e3e1f395ed99f189b06d4c9f74b
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
-acpaths = "-I ${S}/m4 "
-
 PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'xattr', d)}"
 PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr,"
 
index 2b298eb5e85e5f024cbdd5b570bbae0729b70c95..baf37b0a9be93aeaee62b281146dcce60148abac 100644 (file)
@@ -31,8 +31,6 @@ PACKAGECONFIG:class-native = ""
 
 PACKAGECONFIG[glib] = "--without-internal-glib,--with-internal-glib,glib-2.0 pkgconfig-native"
 
-acpaths = "-I ."
-
 BBCLASSEXTEND = "native nativesdk"
 
 # Set an empty dev package to ensure the base PN package gets
index 8f5a87c2db7fac799e923a7d8625bc0a2ec4d7f6..a4badc044e9d9457ead2b6c24cacfe41d146cf0b 100644 (file)
@@ -15,9 +15,6 @@ EXTRA_OECONF += "ac_cv_path_PR_PROGRAM=${bindir}/pr --without-libsigsegv-prefix"
 # latest gnulib is no longer able to handle this - I dare not try to fix that maze of abstractions and generators
 CFLAGS:mingw32 = " -DSA_RESTART=0"
 
-# Fix "Argument list too long" error when len(TMPDIR) = 410
-acpaths = "-I ./m4"
-
 EXTRA_OEMAKE:append:mingw32 = " LIBS='-lbcrypt'"
 inherit ptest
 
index cb3105de04c9adce8d025a59e98209c69327b6e6..0d36eba3b28b7126ccf058b5801703f5f9367f7b 100644 (file)
@@ -12,9 +12,6 @@ SRC_URI[sha256sum] = "1db2aedde89d0dea42b16d9528f894c8d15dae4e190b59aecc78f5a951
 
 inherit autotools gettext texinfo pkgconfig
 
-# Fix "Argument list too long" error when len(TMPDIR) = 410
-acpaths = "-I ./m4"
-
 do_configure:prepend () {
        sed -i -e '1s,#!@SHELL@,#!/bin/sh,' ${S}/src/egrep.sh
        rm -f ${S}/m4/init.m4
index bd3f40ab822a25de6414cbc3c9fae1162df1b0fa..1f6de1d925d0e47c6c3e17d65d8a686109ef5601 100644 (file)
@@ -10,5 +10,3 @@ SRC_URI = "${SAVANNAH_GNU_MIRROR}/libpipeline/libpipeline-${PV}.tar.gz"
 SRC_URI[sha256sum] = "1b1203ca152ccd63983c3f2112f7fe6fa5afd453218ede5153d1b31e11bb8405"
 
 inherit pkgconfig autotools
-
-acpaths = "-I ${S}/gl/m4 -I ${S}/m4"
index c7bd1d195e501830750c22d7d44a9d5fec8ff7f9..ea0993a909898fff407418ba9a8bc5161549f20a 100644 (file)
@@ -22,12 +22,6 @@ EXTRA_OECONF += "DEFAULT_RMT_DIR=${sbindir}"
 
 CACHED_CONFIGUREVARS += "tar_cv_path_RSH=no"
 
-# Let aclocal use the relative path for the m4 file rather than the
-# absolute since tar has a lot of m4 files, otherwise there might
-# be an "Argument list too long" error when it is built in a long/deep
-# directory.
-acpaths = "-I ./m4"
-
 do_install () {
     autotools_do_install
     ln -s tar ${D}${bindir}/gtar
index 51926e72962eda2675a01d9a7a4b244bc0ef5ce9..151aeabcdcebadc209e196a8dd5efbdc6a3cc204 100644 (file)
@@ -38,8 +38,3 @@ PACKAGECONFIG[libuuid] = "--with-libuuid,--without-libuuid,util-linux"
 PACKAGECONFIG[openssl] = "--with-ssl=openssl,,openssl"
 PACKAGECONFIG[pcre] = "--enable-pcre,--disable-pcre,libpcre"
 PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"
-
-# Let aclocal use the relative path for the m4 file rather than
-# absolute, otherwise there might be an "Argument list too long" error
-# when it is built in a long/deep directory.
-acpaths = "-I ./m4"
index fd4aec92fdb9d94d59b5984d8f152287eb96b725..2ce8ae385c01c1edfb3cdb4d24ba86f641b85c24 100644 (file)
@@ -17,8 +17,6 @@ SRC_URI = "https://gmplib.org/download/${BPN}/${BP}${REVISION}.tar.bz2 \
            "
 SRC_URI[sha256sum] = "ac28211a7cfb609bae2e2c8d6058d66c8fe96434f740cf6fe2e47b000d1c20cb"
 
-acpaths = ""
-
 EXTRA_OECONF += " --enable-cxx=detect"
 EXTRA_OECONF:append:mipsarchr6 = " --disable-assembly"