<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, May 16, 2014 at 7:13 AM, Jacob Kroon <span dir="ltr">&lt;<a href="mailto:jacob.kroon@gmail.com" target="_blank">jacob.kroon@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">Hello Saul,<div><div class="h5"><br>
<br>On Thu, May 15, 2014 at 5:58 PM, Saul Wold <span dir="ltr">&lt;<a href="mailto:sgw@linux.intel.com" target="_blank">sgw@linux.intel.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Signed-off-by: Saul Wold &lt;<a href="mailto:sgw@linux.intel.com" target="_blank">sgw@linux.intel.com</a>&gt;<br>

---<br>
 .../{libusb1-1.0.9 =&gt; libusb1}/obsolete_automake_macros.patch      | 0<br>
 .../recipes-support/libusb/{<a href="http://libusb1_1.0.9.bb" target="_blank">libusb1_1.0.9.bb</a> =&gt; <a href="http://libusb1_1.0.18.bb" target="_blank">libusb1_1.0.18.bb</a>} | 7 ++-----<br>
 2 files changed, 2 insertions(+), 5 deletions(-)<br>
 rename meta/recipes-support/libusb/{libusb1-1.0.9 =&gt; libusb1}/obsolete_automake_macros.patch (100%)<br>
 rename meta/recipes-support/libusb/{<a href="http://libusb1_1.0.9.bb" target="_blank">libusb1_1.0.9.bb</a> =&gt; <a href="http://libusb1_1.0.18.bb" target="_blank">libusb1_1.0.18.bb</a>} (78%)<br>
<br>
diff --git a/meta/recipes-support/libusb/libusb1-1.0.9/obsolete_automake_macros.patch b/meta/recipes-support/libusb/libusb1/obsolete_automake_macros.patch<br>
similarity index 100%<br>
rename from meta/recipes-support/libusb/libusb1-1.0.9/obsolete_automake_macros.patch<br>
rename to meta/recipes-support/libusb/libusb1/obsolete_automake_macros.patch<br>
diff --git a/meta/recipes-support/libusb/<a href="http://libusb1_1.0.9.bb" target="_blank">libusb1_1.0.9.bb</a> b/meta/recipes-support/libusb/<a href="http://libusb1_1.0.18.bb" target="_blank">libusb1_1.0.18.bb</a><br>
similarity index 78%<br>
rename from meta/recipes-support/libusb/<a href="http://libusb1_1.0.9.bb" target="_blank">libusb1_1.0.9.bb</a><br>
rename to meta/recipes-support/libusb/<a href="http://libusb1_1.0.18.bb" target="_blank">libusb1_1.0.18.bb</a><br>
index d57425b..c64f1db 100644<br>
--- a/meta/recipes-support/libusb/<a href="http://libusb1_1.0.9.bb" target="_blank">libusb1_1.0.9.bb</a><br>
+++ b/meta/recipes-support/libusb/<a href="http://libusb1_1.0.18.bb" target="_blank">libusb1_1.0.18.bb</a><br>
@@ -8,14 +8,11 @@ LIC_FILES_CHKSUM = &quot;file://COPYING;md5=fbc093901857fcd118f065f900982c24&quot;<br>
<br>
 BBCLASSEXTEND = &quot;native nativesdk&quot;<br>
<br>
-PR = &quot;r1&quot;<br>
-<br>
 SRC_URI = &quot;${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2 \<br>
-           file://obsolete_automake_macros.patch \<br>
           &quot;<br></blockquote><br></div></div></div>That patch is still in git, maybe it should be removed as well ?<span class=""><font color="#888888"><br><br></font></span></div></div></blockquote><div> </div><div>
Also, I think it needs to be added a PACKAGECONFIG for &quot;udev&quot;, otherwise I get a build failure when I generate an SDK on my system,<br></div><div>configure script can&#39;t find udev although it was requested.<br>
<br></div><div>Something like the patch below does the trick for me:<br><br>--- a/meta/recipes-support/libusb/<a href="http://libusb1_1.0.18.bb">libusb1_1.0.18.bb</a><br>+++ b/meta/recipes-support/libusb/<a href="http://libusb1_1.0.18.bb">libusb1_1.0.18.bb</a><br>
@@ -8,12 +8,17 @@ LIC_FILES_CHKSUM = &quot;file://COPYING;md5=fbc093901857fcd118f065f900982c24&quot;<br> <br> BBCLASSEXTEND = &quot;native nativesdk&quot;<br> <br>-SRC_URI = &quot;${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2 \<br>
-          &quot;<br>+SRC_URI = &quot;${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2&quot;<br> <br> SRC_URI[md5sum] = &quot;4a6d049923efc6496f1d383054dac1a6&quot;<br> SRC_URI[sha256sum] = &quot;c73f5cec45a5de94418da4e151b7232958571926984acfb9bce02b9424e83720&quot;<br>
 <br>+PACKAGECONFIG ?= &quot;udev&quot;<br>+PACKAGECONFIG_class-native = &quot;&quot;<br>+PACKAGECONFIG_class-nativesdk = &quot;&quot;<br>+<br>+PACKAGECONFIG[udev] = &quot;--enable-udev,--disable-udev,udev&quot;<br>+<br> S = &quot;${WORKDIR}/libusb-${PV}&quot;<br>
 <br> inherit autotools pkgconfig<br><br></div><div>If this looks good I can submit a proper patch for it.<br></div><div><br></div></div>/Jacob<br></div></div>