tracing: usb: Fix build issues.
1. Remove usb_descriptor.h as tracing_backend_usb.c doesn't have access to that include file. 2. Make TRACING_BACKEND_USB depend on USB being enabled. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
63fddba8d1
commit
d62dfe8d0e
2 changed files with 1 additions and 1 deletions
|
@ -151,6 +151,7 @@ config TRACING_BACKEND_UART
|
||||||
|
|
||||||
config TRACING_BACKEND_USB
|
config TRACING_BACKEND_USB
|
||||||
bool "Enable USB backend"
|
bool "Enable USB backend"
|
||||||
|
depends on USB
|
||||||
depends on TRACING_ASYNC
|
depends on TRACING_ASYNC
|
||||||
help
|
help
|
||||||
Use USB to output tracing data.
|
Use USB to output tracing data.
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
#include <sys/byteorder.h>
|
#include <sys/byteorder.h>
|
||||||
#include <usb/usb_device.h>
|
#include <usb/usb_device.h>
|
||||||
#include <usb/usb_common.h>
|
#include <usb/usb_common.h>
|
||||||
#include <usb_descriptor.h>
|
|
||||||
#include <tracing_core.h>
|
#include <tracing_core.h>
|
||||||
#include <tracing_buffer.h>
|
#include <tracing_buffer.h>
|
||||||
#include <tracing_backend.h>
|
#include <tracing_backend.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue