ntp: set CONFIG_SITE in do_compile

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.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Ross Burton 2025-01-24 14:34:01 +00:00 committed by Khem Raj
parent bd4030df3a
commit c941e231ad
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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 \