Przeglądaj źródła

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>
Ross Burton 4 miesięcy temu
rodzic
commit
c941e231ad

+ 5 - 0
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 \