On Fri, Jan 24, 2025 at 6:34 AM Ross Burton via lists.openembedded.org <[email protected]> wrote:
> Recent changes in to the autotools class in core means that it no longer > sets CONFIG_SITE for compile tasks. However, ntp decides to reconfigure > itself mid-build, so the CONFIG_SITE values are lost. > This looks ok but larger question is have we looked at other recipes which maybe doing this eg I remember gcc and binutils do call configure scripts doing make What is the advantage of hiding site config from compile tasks ? > > Signed-off-by: Ross Burton <[email protected]> > --- > meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb > b/meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb > index 302cf9915f..6fae993482 100644 > --- a/meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb > +++ b/meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb > @@ -55,6 +55,11 @@ CVE_STATUS_NTP = " \ > > inherit autotools update-rc.d useradd systemd pkgconfig > > +# For some reason this recipe reconfigures the nested configure.ac files > in > +# do_compile because libtool.m4 is newer than aclocal.m4, and that then > +# doesn't know about the site configuration. > +do_compile[prefuncs] += "autotools_sitefiles" > + > # The ac_cv_header_readline_history is to stop ntpdc depending on either > # readline or curses > EXTRA_OECONF += "--with-net-snmp-config=no \ > -- > 2.43.0 > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#115067): https://lists.openembedded.org/g/openembedded-devel/message/115067 Mute This Topic: https://lists.openembedded.org/mt/110790899/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
