drivers: sys_con: build as static library

Instead of putting object files inside libzephyr.a,
simply build a separate static library as most other
driver types are doing this already.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2021-08-06 11:24:53 -07:00 committed by Christopher Friedt
commit 59a16f71d5

View file

@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_sources_ifdef(CONFIG_SYSCON syscon.c)
zephyr_library()
zephyr_library_sources_ifdef(CONFIG_SYSCON syscon.c)