drivers: serial: Remove usage of zephyr_library_ifdef
Phasing out the usage of this cmake macro from the drivers/serial folder. Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
This commit is contained in:
parent
5f5e9fb968
commit
963a0bee8d
|
@ -22,7 +22,6 @@ add_subdirectory_if_kconfig(pinmux)
|
|||
add_subdirectory_if_kconfig(pwm)
|
||||
add_subdirectory_if_kconfig(rtc)
|
||||
add_subdirectory_if_kconfig(sensor)
|
||||
add_subdirectory_if_kconfig(serial)
|
||||
add_subdirectory_if_kconfig(spi)
|
||||
add_subdirectory_if_kconfig(usb)
|
||||
add_subdirectory_if_kconfig(watchdog)
|
||||
|
@ -30,6 +29,7 @@ add_subdirectory_if_kconfig(wifi)
|
|||
add_subdirectory_if_kconfig(can)
|
||||
|
||||
add_subdirectory_ifdef(CONFIG_FLASH_HAS_DRIVER_ENABLED flash)
|
||||
add_subdirectory_ifdef(CONFIG_SERIAL_HAS_DRIVER serial)
|
||||
add_subdirectory_ifdef(CONFIG_AIO_COMPARATOR aio)
|
||||
add_subdirectory_ifdef(CONFIG_BT bluetooth)
|
||||
add_subdirectory_ifdef(CONFIG_NETWORKING net)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
zephyr_library_ifdef(CONFIG_SERIAL_HAS_DRIVER)
|
||||
zephyr_library()
|
||||
|
||||
zephyr_library_sources_ifdef(CONFIG_UART_ALTERA_JTAG uart_altera_jtag_hal.c)
|
||||
zephyr_library_sources_if_kconfig(uart_imx.c)
|
||||
|
|
Loading…
Reference in a new issue