lib/libc: Allow common library to be empty

This allows the C library common library to be empty if no pieces are
needed, eliminating cmake warnings.

Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Keith Packard 2023-03-28 21:22:28 -07:00 committed by Stephanos Ioannidis
parent 9a6f7efd00
commit 52e57ef17f
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_library()
zephyr_library_property(ALLOW_EMPTY TRUE)
zephyr_library_sources_ifdef(CONFIG_COMMON_LIBC_TIME source/time/time.c)