cmake: don't link interface libraries with zephyr_interface

Stop linking interface libraries against zephyr_interface. This is
cargo cult code that in practice does nothing.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
This commit is contained in:
Sebastian Bøe 2019-08-30 17:11:22 +02:00 committed by Kumar Gala
commit 8610b84d55
5 changed files with 0 additions and 7 deletions

View file

@ -21,4 +21,3 @@ zephyr_library_sources_ifdef(
) )
zephyr_library_link_libraries(CMSIS) zephyr_library_link_libraries(CMSIS)
target_link_libraries(CMSIS INTERFACE zephyr_interface)

View file

@ -20,4 +20,3 @@ zephyr_library_sources_ifdef(
) )
zephyr_library_link_libraries(CMSIS) zephyr_library_link_libraries(CMSIS)
target_link_libraries(CMSIS INTERFACE zephyr_interface)

View file

@ -23,5 +23,3 @@ zephyr_library_sources_ifdef( CONFIG_LVGL_MEM_POOL_USER lvgl_mem_user.c)
zephyr_library_sources_ifdef( CONFIG_LVGL_MEM_POOL_KERNEL lvgl_mem_kernel.c) zephyr_library_sources_ifdef( CONFIG_LVGL_MEM_POOL_KERNEL lvgl_mem_kernel.c)
zephyr_library_link_libraries(lvgl) zephyr_library_link_libraries(lvgl)
target_link_libraries(lvgl INTERFACE zephyr_interface)

View file

@ -24,4 +24,3 @@ zephyr_library_sources_ifdef(CONFIG_POSIX_MQUEUE mqueue.c)
zephyr_library_sources_ifdef(CONFIG_POSIX_FS fs.c) zephyr_library_sources_ifdef(CONFIG_POSIX_FS fs.c)
zephyr_library_link_libraries(posix_subsys) zephyr_library_link_libraries(posix_subsys)
target_link_libraries(posix_subsys INTERFACE zephyr_interface)

View file

@ -15,5 +15,3 @@ if(CONFIG_BT_CTLR)
add_subdirectory(controller) add_subdirectory(controller)
endif() endif()
endif() endif()
target_link_libraries(subsys__bluetooth INTERFACE zephyr_interface)