summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Willis <John.Willis@Distant-earth.com>2009-05-30 01:51:50 +0000
committerKoen Kooi <koen@openembedded.org>2009-05-30 14:32:53 +0200
commit13ee19b077addb5f0c78e7ba8f6a6507c11c1bab (patch)
tree61bc14d2f39023e295f99cce3c75cda83fcf1dc9
parent22f2fe8b5b835a86ce64105661f978f976a7b1ba (diff)
usb-gadget-mode: Add defaults for omap3-pandora and fix broken script.
Add default usb-gadget mode for the omap3-pandora and fix typo in recipes/usb-gadget-mode/files/usb-gadget that breaks package. Signed-off-by: John Willis <John.Willis@Distant-earth.com> Signed-off-by: Koen Kooi <koen@openembedded.org>
-rw-r--r--recipes/usb-gadget-mode/files/omap3-pandora/usb-gadget.conf3
-rwxr-xr-xrecipes/usb-gadget-mode/files/usb-gadget2
-rw-r--r--recipes/usb-gadget-mode/usb-gadget-mode.bb2
3 files changed, 5 insertions, 2 deletions
diff --git a/recipes/usb-gadget-mode/files/omap3-pandora/usb-gadget.conf b/recipes/usb-gadget-mode/files/omap3-pandora/usb-gadget.conf
new file mode 100644
index 0000000000..35ff0d4fa9
--- /dev/null
+++ b/recipes/usb-gadget-mode/files/omap3-pandora/usb-gadget.conf
@@ -0,0 +1,3 @@
+USB_MODE="composite"
+MODULE_OPTIONS=""
+
diff --git a/recipes/usb-gadget-mode/files/usb-gadget b/recipes/usb-gadget-mode/files/usb-gadget
index c9ff2f0485..0e6b39f845 100755
--- a/recipes/usb-gadget-mode/files/usb-gadget
+++ b/recipes/usb-gadget-mode/files/usb-gadget
@@ -26,7 +26,7 @@ go() {
networking) setup_usb g_ether "$MODULE_OPTIONS" ;;
zero) setup_usb g_zero "$MODULE_OPTIONS" ;;
midi) setup_usb g_midi "$MODULE_OPTIONS" ;;
- printer setup_usb g_printer "$MODULE_OPTIONS" ;;
+ printer) setup_usb g_printer "$MODULE_OPTIONS" ;;
gadgetfs) setup_usb gadgetfs "$MODULE_OPTIONS" ;;
composite) setup_usb g_cdc "$MODULE_OPTIONS" ;;
storage) setup_usb g_file_storage "$MODULE_OPTIONS" ;;
diff --git a/recipes/usb-gadget-mode/usb-gadget-mode.bb b/recipes/usb-gadget-mode/usb-gadget-mode.bb
index cc00a887fa..e6e8e51097 100644
--- a/recipes/usb-gadget-mode/usb-gadget-mode.bb
+++ b/recipes/usb-gadget-mode/usb-gadget-mode.bb
@@ -9,7 +9,7 @@ DESCRIPTION = "Manage the default USB gadget mode"
SECTION = "console/network"
LICENSE = "GPL"
PV = "0.0.2"
-PR = "r2"
+PR = "r3"
SRC_URI = "\
file://usb-gadget.conf \