diff --git a/drivers/usbdev/CMakeLists.txt b/drivers/usbdev/CMakeLists.txt index 6fef1b4ad4a..cae55d63e39 100644 --- a/drivers/usbdev/CMakeLists.txt +++ b/drivers/usbdev/CMakeLists.txt @@ -57,6 +57,10 @@ if(CONFIG_USBDEV) list(APPEND SRCS adb.c) endif() + if(CONFIG_USBMTP) + list(APPEND SRCS mtp.c) + endif() + if(CONFIG_NET_CDCECM) list(APPEND SRCS cdcecm.c) endif()