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:
parent
a04a1d8991
commit
9cff600e25
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
7
lib/posix/Kconfig.template.with_logging
Normal file
7
lib/posix/Kconfig.template.with_logging
Normal 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"
|
||||
Loading…
Reference in New Issue
Block a user