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:
parent
43309296b8
commit
6ed46e3412
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue