diff --git a/example/embedded/Makefile.inc b/example/embedded/Makefile.inc index 10d92d5f8..882c3474e 100644 --- a/example/embedded/Makefile.inc +++ b/example/embedded/Makefile.inc @@ -18,7 +18,6 @@ CORE += \ linked_list.c \ memory_pool.c \ run_loop.c \ - run_loop_posix.c \ COMMON += \ hci.c \ diff --git a/platforms/libusb/Makefile b/platforms/libusb/Makefile index 94b9e951b..3bc98d1e1 100644 --- a/platforms/libusb/Makefile +++ b/platforms/libusb/Makefile @@ -3,7 +3,8 @@ BTSTACK_ROOT = ../.. POSIX_ROOT= ${BTSTACK_ROOT}/platforms/posix CORE += main.c -COMMON += hci_transport_h2_libusb.c +COMMON += hci_transport_h2_libusb.c run_loop_posix.c + include ${BTSTACK_ROOT}/example/embedded/Makefile.inc