diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2012-03-26 14:27:54 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-26 10:05:05 +0100 |
commit | 343c85f77daa54760b456d247a71246d48a21e16 (patch) | |
tree | 4265e7082e73032a8511df2f97825d3c96edee9a /meta | |
parent | e9104518893eef493f2eced8d55645d6a643ae5a (diff) | |
download | poky-343c85f77daa54760b456d247a71246d48a21e16.tar.gz |
libusb*: import native support from meta-oe
(From OE-Core rev: 971361a4fac5622858f71a87c478e16ef02c4d76)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/libusb/libusb-compat_0.1.3.bb | 7 | ||||
-rw-r--r-- | meta/recipes-support/libusb/libusb1_1.0.8.bb | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/meta/recipes-support/libusb/libusb-compat_0.1.3.bb b/meta/recipes-support/libusb/libusb-compat_0.1.3.bb index 43da5af300..893bd68ce5 100644 --- a/meta/recipes-support/libusb/libusb-compat_0.1.3.bb +++ b/meta/recipes-support/libusb/libusb-compat_0.1.3.bb | |||
@@ -12,10 +12,11 @@ DEPENDS = "libusb1" | |||
12 | # so here libusb-0.1 is removed completely instead of adding virtual/libusb0. | 12 | # so here libusb-0.1 is removed completely instead of adding virtual/libusb0. |
13 | # Besides, libusb-0.1 uses a per 1ms polling that hurts a lot to power | 13 | # Besides, libusb-0.1 uses a per 1ms polling that hurts a lot to power |
14 | # consumption. | 14 | # consumption. |
15 | PROVIDES = "libusb" | 15 | PROVIDES = "libusb virtual/libusb0" |
16 | BBCLASSEXTEND = "native nativesdk" | ||
16 | 17 | ||
17 | PE = "1" | 18 | PE = "1" |
18 | PR = "r4" | 19 | PR = "r5" |
19 | 20 | ||
20 | SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-compat-${PV}.tar.bz2 \ | 21 | SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-compat-${PV}.tar.bz2 \ |
21 | file://0.1.0-beta1-gcc3.4-fix.patch" | 22 | file://0.1.0-beta1-gcc3.4-fix.patch" |
@@ -23,7 +24,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-compat-${PV}.tar.bz2 \ | |||
23 | SRC_URI[md5sum] = "570ac2ea085b80d1f74ddc7c6a93c0eb" | 24 | SRC_URI[md5sum] = "570ac2ea085b80d1f74ddc7c6a93c0eb" |
24 | SRC_URI[sha256sum] = "a590a03b6188030ee1ca1a0af55685fcde005ca807b963970f839be776031d94" | 25 | SRC_URI[sha256sum] = "a590a03b6188030ee1ca1a0af55685fcde005ca807b963970f839be776031d94" |
25 | 26 | ||
26 | inherit autotools pkgconfig binconfig | 27 | inherit autotools pkgconfig binconfig lib_package |
27 | 28 | ||
28 | EXTRA_OECONF = "--libdir=${base_libdir}" | 29 | EXTRA_OECONF = "--libdir=${base_libdir}" |
29 | 30 | ||
diff --git a/meta/recipes-support/libusb/libusb1_1.0.8.bb b/meta/recipes-support/libusb/libusb1_1.0.8.bb index b8fa79017a..5a664cad81 100644 --- a/meta/recipes-support/libusb/libusb1_1.0.8.bb +++ b/meta/recipes-support/libusb/libusb1_1.0.8.bb | |||
@@ -6,6 +6,8 @@ SECTION = "libs" | |||
6 | LICENSE = "LGPLv2.1+" | 6 | LICENSE = "LGPLv2.1+" |
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" |
8 | 8 | ||
9 | BBCLASSEXTEND = "native nativesdk" | ||
10 | |||
9 | PR = "r4" | 11 | PR = "r4" |
10 | 12 | ||
11 | SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2" | 13 | SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2" |