1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-28 00:39:23 +02:00

Add usb gadget feature flag

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22798 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mb 2010-08-25 17:35:34 +00:00
parent f838007d7e
commit a86afacc84
4 changed files with 6 additions and 1 deletions

View File

@ -38,6 +38,7 @@ define KernelPackage/usb-gadget
KCONFIG:=CONFIG_USB_GADGET KCONFIG:=CONFIG_USB_GADGET
FILES:= FILES:=
AUTOLOAD:= AUTOLOAD:=
DEPENDS:=@USB_GADGET_SUPPORT
$(call AddDepends/usb) $(call AddDepends/usb)
endef endef

View File

@ -158,6 +158,7 @@ sub target_config_features(@) {
/pci/ and $ret .= "\tselect PCI_SUPPORT\n"; /pci/ and $ret .= "\tselect PCI_SUPPORT\n";
/pcie/ and $ret .= "\tselect PCIE_SUPPORT\n"; /pcie/ and $ret .= "\tselect PCIE_SUPPORT\n";
/usb/ and $ret .= "\tselect USB_SUPPORT\n"; /usb/ and $ret .= "\tselect USB_SUPPORT\n";
/usbgadget/ and $ret .= "\tselect USB_GADGET_SUPPORT\n";
/pcmcia/ and $ret .= "\tselect PCMCIA_SUPPORT\n"; /pcmcia/ and $ret .= "\tselect PCMCIA_SUPPORT\n";
/squashfs/ and $ret .= "\tselect USES_SQUASHFS\n"; /squashfs/ and $ret .= "\tselect USES_SQUASHFS\n";
/jffs2/ and $ret .= "\tselect USES_JFFS2\n"; /jffs2/ and $ret .= "\tselect USES_JFFS2\n";

View File

@ -34,6 +34,9 @@ config USB_SUPPORT
select AUDIO_SUPPORT select AUDIO_SUPPORT
bool bool
config USB_GADGET_SUPPORT
bool
config BIG_ENDIAN config BIG_ENDIAN
bool bool

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=arm ARCH:=arm
BOARD:=omap24xx BOARD:=omap24xx
BOARDNAME:=TI OMAP-24xx BOARDNAME:=TI OMAP-24xx
FEATURES:=squashfs jffs2 FEATURES:=squashfs jffs2 usb usbgadget
LINUX_VERSION:=2.6.35.3 LINUX_VERSION:=2.6.35.3