posix: add logging to pooled resource templates

Support logging for all POSIX pooled resource types such as
pthread_t, pthread_mutex_t, and pthread_cond_t.

Signed-off-by: Christopher Friedt <cfriedt@meta.com>
This commit is contained in:
Christopher Friedt 2023-09-17 19:57:46 -04:00 committed by Chris Friedt
parent a04a1d8991
commit 9cff600e25
3 changed files with 9 additions and 0 deletions

View File

@ -3,6 +3,7 @@
# SPDX-License-Identifier: Apache-2.0
source "lib/posix/Kconfig.template.with_url"
source "lib/posix/Kconfig.template.with_logging"
# Not user configurable (i.e. private for now)
config $(TYPE)

View File

@ -3,6 +3,7 @@
# SPDX-License-Identifier: Apache-2.0
source "lib/posix/Kconfig.template.with_url"
source "lib/posix/Kconfig.template.with_logging"
# This is mainly for TIMER currently.
config $(TYPE)

View File

@ -0,0 +1,7 @@
# Copyright (c) 2023 Meta
#
# SPDX-License-Identifier: Apache-2.0
module = $(TYPE)
module-str = $(TYPE) logging
source "subsys/logging/Kconfig.template.log_config"