drivers: edac: 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:
parent
f6a3dcf282
commit
77dd3daaaf
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
# Copyright (c) 2020 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
zephyr_sources_ifdef(CONFIG_EDAC_IBECC edac_ibecc.c)
|
||||
zephyr_sources_ifdef(CONFIG_EDAC_SHELL shell.c)
|
||||
zephyr_library()
|
||||
|
||||
zephyr_library_sources_ifdef(CONFIG_EDAC_IBECC edac_ibecc.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_EDAC_SHELL shell.c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue