syscon: Compile the generic driver only when selected
Currently the generic driver is always unconditionally compiled. Fix this by compiling it only when needed. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
parent
9e4968bb90
commit
9397dafa95
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
zephyr_library()
|
||||
zephyr_library_sources_ifdef(CONFIG_SYSCON syscon.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_SYSCON_GENERIC syscon.c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue