drivers: ptp_clock: 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-04 14:51:22 -07:00 committed by Christopher Friedt
commit 6ed46e3412

View file

@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_sources_ifdef(CONFIG_PTP_CLOCK ptp_clock.c)
zephyr_library()
zephyr_library_sources_ifdef(CONFIG_PTP_CLOCK ptp_clock.c)