mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-18 02:44:37 +00:00
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 <sven@svenschwermer.de>
This commit is contained in:
parent
2a03114e6e
commit
ab5817027f
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ obj-$(CONFIG_MII) += miiphyutil.o
|
|||
obj-$(CONFIG_CMD_MII) += miiphyutil.o
|
||||
obj-$(CONFIG_PHYLIB) += miiphyutil.o
|
||||
|
||||
ifdef CONFIG_CMD_USB
|
||||
ifdef CONFIG_USB
|
||||
obj-y += usb.o usb_hub.o
|
||||
obj-$(CONFIG_USB_STORAGE) += usb_storage.o
|
||||
endif
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
|
||||
ifdef CONFIG_$(SPL_)DM_USB
|
||||
obj-$(CONFIG_CMD_USB) += usb-uclass.o
|
||||
obj-y += usb-uclass.o
|
||||
obj-$(CONFIG_SANDBOX) += usb-sandbox.o
|
||||
endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue