diff options
author | wangmy <wangmy@fujitsu.com> | 2022-03-23 16:01:42 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-24 17:45:29 +0000 |
commit | fe230e1bbfb53aa08037ef275c39db812ae179b7 (patch) | |
tree | d64317816a8e4fe4a40a1a44663d757fc0f2eb33 /meta/recipes-support | |
parent | 7bea963eed8da38f71547210f3e3677e2898ab11 (diff) | |
download | poky-fe230e1bbfb53aa08037ef275c39db812ae179b7.tar.gz |
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
(From OE-Core rev: e9fac3b6d32262e489992b116275d3eabcc35b4a)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/rng-tools/rng-tools_6.15.bb | 2 |
1 files changed, 2 insertions, 0 deletions
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 ae974f9f6f..0696351903 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 ." | |||
34 | 34 | ||
35 | SYSTEMD_SERVICE:${PN} = "rngd.service" | 35 | SYSTEMD_SERVICE:${PN} = "rngd.service" |
36 | 36 | ||
37 | CFLAGS += " -DJENT_CONF_ENABLE_INTERNAL_TIMER " | ||
38 | |||
37 | # Refer autogen.sh in rng-tools | 39 | # Refer autogen.sh in rng-tools |
38 | do_configure:prepend() { | 40 | do_configure:prepend() { |
39 | cp ${S}/README.md ${S}/README | 41 | cp ${S}/README.md ${S}/README |