Commit 77dd3daa authored by Daniel Leung's avatar Daniel Leung Committed by Christopher Friedt
Browse files

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: default avatarDaniel Leung <daniel.leung@intel.com>
parent f6a3dcf2
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
# 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)