summaryrefslogtreecommitdiff
path: root/recipes-connectivity/usb-gadget-mode
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-connectivity/usb-gadget-mode')
-rw-r--r--recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bb b/recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bb
index 0f15830..0b94983 100644
--- a/recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bb
+++ b/recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bb
@@ -10,7 +10,7 @@ SECTION = "console/network"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
PV = "0.0.2"
-PR = "r3"
+PR = "r4"
SRC_URI = "\
file://usb-gadget.conf \
@@ -54,3 +54,8 @@ do_install_append_mtr() {
do_install_append_mtrv1() {
sed -i 's/ENABLED="yes"/ENABLED="no"/g' ${D}${sysconfdir}/default/usb-gadget
}
+
+# disable usb-gadget on mtre
+do_install_append_mtre() {
+ sed -i 's/ENABLED="yes"/ENABLED="no"/g' ${D}${sysconfdir}/default/usb-gadget
+}