Commit 4b598ef6 authored by David Brownell's avatar David Brownell Committed by Linus Torvalds

[PATCH] more kbuild tweaks]

This fixes a typo reported by Geert, and more significantly
fixes static linking so that it works even when only the
device side of USB is enabled, and the host side (CONFIG_USB)
isn't.
parent cb7b2d16
...@@ -37,6 +37,7 @@ obj-$(CONFIG_SGI) += sgi/ ...@@ -37,6 +37,7 @@ obj-$(CONFIG_SGI) += sgi/
obj-$(CONFIG_PARIDE) += block/paride/ obj-$(CONFIG_PARIDE) += block/paride/
obj-$(CONFIG_TC) += tc/ obj-$(CONFIG_TC) += tc/
obj-$(CONFIG_USB) += usb/ obj-$(CONFIG_USB) += usb/
obj-$(CONFIG_USB_GADGET) += usb/gadget/
obj-$(CONFIG_INPUT) += input/ obj-$(CONFIG_INPUT) += input/
obj-$(CONFIG_GAMEPORT) += input/gameport/ obj-$(CONFIG_GAMEPORT) += input/gameport/
obj-$(CONFIG_SERIO) += input/serio/ obj-$(CONFIG_SERIO) += input/serio/
......
...@@ -59,6 +59,3 @@ obj-$(CONFIG_USB_TEST) += misc/ ...@@ -59,6 +59,3 @@ obj-$(CONFIG_USB_TEST) += misc/
obj-$(CONFIG_USB_TIGL) += misc/ obj-$(CONFIG_USB_TIGL) += misc/
obj-$(CONFIG_USB_USS720) += misc/ obj-$(CONFIG_USB_USS720) += misc/
obj-$(CONFIG_USB_NET2280) += gadget/
obj-$(CONFIG_USB_ZERO) += gadget/
obj-$(CONFIG_USB_ETH) += gadget/
...@@ -10,7 +10,7 @@ menuconfig USB_GADGET ...@@ -10,7 +10,7 @@ menuconfig USB_GADGET
tristate "Support for USB Gadgets" tristate "Support for USB Gadgets"
depends on EXPERIMENTAL depends on EXPERIMENTAL
help help
USB is a master/slave protocol, organized with with one master USB is a master/slave protocol, organized with one master
host (such as a PC) controlling up to 127 peripheral devices. host (such as a PC) controlling up to 127 peripheral devices.
The USB hardware is asymmetric, which makes it easier to set up: The USB hardware is asymmetric, which makes it easier to set up:
you can't connect two "to-the-host" connectors to each other. you can't connect two "to-the-host" connectors to each other.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment