On 20 Feb 2025, at 08:56, Changqing Li <changqing...@windriver.com> wrote: > For autotools.bbclass, how about don't pass -I $i to acpaths, suppose that > upstream configure.ac or Makefile.am have set the correct > AC_CONFIG_MACRO_DIRS, ACLOCAL_AUTOMAKE_DIR, or ACLOCAL_AMFLAGS. if the > recipe is not correctly set, the recipe is responsible for set correct > acpaths themselves, or better to send patch to upstream, set correct macro > dirs in configure.ac. > Eg: > for freetype, according to > https://github.com/freetype/freetype/blob/master/autogen.sh#L165, we can set > acpaths= -I . > > I tried to do a world build with poky, only 3 recipes failed at > do_configure, I plan to test with all layer under meta-openembeded later.
Right, that’s what I was getting at and what I’ve _almost_ got entirely working in a branch: https://git.yoctoproject.org/poky-contrib/log/?h=ross/autoconf-wip I think the remaining problem was lttng-utils behaving very oddly on rebuilds. I’ll dig into my work log and do a rebuild, but I hope to be posting it shortly. Ross
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#211762): https://lists.openembedded.org/g/openembedded-core/message/211762 Mute This Topic: https://lists.openembedded.org/mt/110160165/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-