summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/ncurses/ncurses.inc
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2020-09-10 21:53:54 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-11 17:59:56 +0100
commitc30c90e3adfa91407c37838c971e251f8482e2b8 (patch)
tree323824ab60922cb6be48fa105379b86145c07214 /meta/recipes-core/ncurses/ncurses.inc
parentb54d92235408abdf0ba75a4d46329ec992af6006 (diff)
downloadopenembedded-core-c30c90e3adfa91407c37838c971e251f8482e2b8.tar.gz
ncurses: remove config.cache
Instead of having a config.cache that overrides the system site files, simply set the values in CACHED_CONFIGUREVARS. We can also drop the mkstemp check as the configure.ac assumes it works, leaving just nanosleep. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/ncurses/ncurses.inc')
-rw-r--r--meta/recipes-core/ncurses/ncurses.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index 4156bf4f7d..1627fb91d3 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -16,7 +16,8 @@ inherit autotools binconfig-disabled multilib_header pkgconfig
SRC_URI = "git://salsa.debian.org/debian/ncurses.git;protocol=https"
EXTRA_AUTORECONF = "-I m4"
-CONFIG_SITE =+ "${WORKDIR}/config.cache"
+
+CACHED_CONFIGUREVARS = "cf_cv_func_nanosleep=yes"
EXTRASITECONFIG = "CFLAGS='${CFLAGS} -I${SYSROOT_DESTDIR}${includedir}'"