From: wangmy Date: Wed, 23 Mar 2022 08:01:42 +0000 (+0800) Subject: rng-tools: enable macro JENT_CONF_ENABLE_INTERNAL_TIMER X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~4635 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9fac3b6d32262e489992b116275d3eabcc35b4a;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git rng-tools: enable macro JENT_CONF_ENABLE_INTERNAL_TIMER do_compile error : | ../git/rngd_jitter.c: In function 'rngd_notime_start': | ../git/rngd_jitter.c:56:45: error: invalid use of undefined type 'struct jent_notime_ctx' | 56 | ret = -pthread_attr_init(&thread_ctx->notime_pthread_attr); enable macro JENT_CONF_ENABLE_INTERNAL_TIMER to use struct jent_notime_ctx Signed-off-by: Wang Mingyu Signed-off-by: Alexandre Belloni --- diff --git a/meta/recipes-support/rng-tools/rng-tools_6.15.bb b/meta/recipes-support/rng-tools/rng-tools_6.15.bb index ae974f9f6f4..0696351903e 100644 --- a/meta/recipes-support/rng-tools/rng-tools_6.15.bb +++ b/meta/recipes-support/rng-tools/rng-tools_6.15.bb @@ -34,6 +34,8 @@ INITSCRIPT_PARAMS = "start 03 2 3 4 5 . stop 30 0 6 1 ." SYSTEMD_SERVICE:${PN} = "rngd.service" +CFLAGS += " -DJENT_CONF_ENABLE_INTERNAL_TIMER " + # Refer autogen.sh in rng-tools do_configure:prepend() { cp ${S}/README.md ${S}/README