diff options
author | Ross Burton <ross.burton@arm.com> | 2025-01-24 14:34:01 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-01-24 18:27:39 -0800 |
commit | c941e231adb4f68b002aa7ae2befb2b67077ec5b (patch) | |
tree | 4e8bacae140f19d6872765be7ab36aee8e0968e6 /meta-networking/recipes-support/ntp | |
parent | bd4030df3ad0935a9513f7123b561e1198fcaf97 (diff) | |
download | meta-openembedded-c941e231adb4f68b002aa7ae2befb2b67077ec5b.tar.gz |
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>
Diffstat (limited to 'meta-networking/recipes-support/ntp')
-rw-r--r-- | meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb | 5 |
1 files changed, 5 insertions, 0 deletions
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 = " \ | |||
55 | 55 | ||
56 | inherit autotools update-rc.d useradd systemd pkgconfig | 56 | inherit autotools update-rc.d useradd systemd pkgconfig |
57 | 57 | ||
58 | # For some reason this recipe reconfigures the nested configure.ac files in | ||
59 | # do_compile because libtool.m4 is newer than aclocal.m4, and that then | ||
60 | # doesn't know about the site configuration. | ||
61 | do_compile[prefuncs] += "autotools_sitefiles" | ||
62 | |||
58 | # The ac_cv_header_readline_history is to stop ntpdc depending on either | 63 | # The ac_cv_header_readline_history is to stop ntpdc depending on either |
59 | # readline or curses | 64 | # readline or curses |
60 | EXTRA_OECONF += "--with-net-snmp-config=no \ | 65 | EXTRA_OECONF += "--with-net-snmp-config=no \ |