diff options
| author | Sven Schwermer <[email protected]> | 2018-11-21 08:43:55 +0100 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2018-11-26 21:19:03 +0100 |
| commit | ab5817027f9b4fce25f5f2a3e20577ac55bbd7e0 (patch) | |
| tree | ba36ce86bce35300318c32f4400a1d63e29cd294 /drivers | |
| parent | 2a03114e6e68eca5008f7bb122dace727ff2c39e (diff) | |
usb: Remove CMD_USB dependency for common code
Common USB code is built whenever USB is enabled (in non-SPL builds).
The USB uclass is built whenever (SPL_)DM_USB is enabled. Both need to
be independent from CMD_USB.
Signed-off-by: Sven Schwermer <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/usb/host/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/Makefile b/drivers/usb/host/Makefile index bfa565c4c3a..285c20ae863 100644 --- a/drivers/usb/host/Makefile +++ b/drivers/usb/host/Makefile @@ -4,7 +4,7 @@ # Wolfgang Denk, DENX Software Engineering, [email protected]. ifdef CONFIG_$(SPL_)DM_USB -obj-$(CONFIG_CMD_USB) += usb-uclass.o +obj-y += usb-uclass.o obj-$(CONFIG_SANDBOX) += usb-sandbox.o endif |
