diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-17 16:13:03 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-17 16:13:03 +0000 |
commit | 6cad69b4d8b6e626870f4f9ffb91239ab886550d (patch) | |
tree | 105b08957009f880ad98b015facf4cdd42532d79 | |
parent | 632752506096491785bc85dae3261c2fadb284f9 (diff) | |
download | poky-6cad69b4d8b6e626870f4f9ffb91239ab886550d.tar.gz |
libusb/libusb0: Drop unneeded custom staging functions
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | meta/packages/libusb/libusb-compat_0.0.9+0.1.0-beta2.bb | 14 | ||||
-rw-r--r-- | meta/packages/libusb/libusb_0.1.12.bb | 16 |
2 files changed, 2 insertions, 28 deletions
diff --git a/meta/packages/libusb/libusb-compat_0.0.9+0.1.0-beta2.bb b/meta/packages/libusb/libusb-compat_0.0.9+0.1.0-beta2.bb index 34cc1ac50d..cf6d01279b 100644 --- a/meta/packages/libusb/libusb-compat_0.0.9+0.1.0-beta2.bb +++ b/meta/packages/libusb/libusb-compat_0.0.9+0.1.0-beta2.bb | |||
@@ -15,25 +15,13 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-compat-0.1.0-beta2.tar.bz2 \ | |||
15 | 15 | ||
16 | S = "${WORKDIR}/libusb-compat-0.1.0-beta2" | 16 | S = "${WORKDIR}/libusb-compat-0.1.0-beta2" |
17 | 17 | ||
18 | inherit autotools pkgconfig binconfig lib_package | 18 | inherit autotools_stage pkgconfig binconfig lib_package |
19 | 19 | ||
20 | PARALLEL_MAKE = "" | 20 | PARALLEL_MAKE = "" |
21 | EXTRA_OECONF = "--disable-build-docs" | 21 | EXTRA_OECONF = "--disable-build-docs" |
22 | 22 | ||
23 | export CXXFLAGS += "-lstdc++ -I${STAGING_INCDIR}" | 23 | export CXXFLAGS += "-lstdc++ -I${STAGING_INCDIR}" |
24 | 24 | ||
25 | do_stage() { | ||
26 | autotools_stage_all | ||
27 | install -m 755 ${S}/libusb-config ${STAGING_BINDIR} | ||
28 | # can we get rid of that? wouldn't a sed statement do as well? | ||
29 | sed -i 's:\-L${libdir} :-L${STAGING_LIBDIR} :' ${STAGING_BINDIR}/libusb-config | ||
30 | |||
31 | if [ "${STAGING_BINDIR}" != "${STAGING_BINDIR_CROSS}" ]; then | ||
32 | install -d ${STAGING_BINDIR_CROSS}/ | ||
33 | mv ${STAGING_BINDIR}/libusb-config ${STAGING_BINDIR_CROSS}/libusb-config | ||
34 | fi | ||
35 | } | ||
36 | |||
37 | PACKAGES =+ "libusbpp" | 25 | PACKAGES =+ "libusbpp" |
38 | 26 | ||
39 | FILES_libusbpp = "${libdir}/libusbpp*.so.*" | 27 | FILES_libusbpp = "${libdir}/libusbpp*.so.*" |
diff --git a/meta/packages/libusb/libusb_0.1.12.bb b/meta/packages/libusb/libusb_0.1.12.bb index 316e67d873..8d34a625b8 100644 --- a/meta/packages/libusb/libusb_0.1.12.bb +++ b/meta/packages/libusb/libusb_0.1.12.bb | |||
@@ -8,27 +8,13 @@ PR = "r5" | |||
8 | SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.gz \ | 8 | SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.gz \ |
9 | file://configure_fix.patch;patch=1" | 9 | file://configure_fix.patch;patch=1" |
10 | 10 | ||
11 | inherit autotools pkgconfig binconfig lib_package | 11 | inherit autotools_stage pkgconfig binconfig lib_package |
12 | 12 | ||
13 | PARALLEL_MAKE = "" | 13 | PARALLEL_MAKE = "" |
14 | EXTRA_OECONF = "--disable-build-docs" | 14 | EXTRA_OECONF = "--disable-build-docs" |
15 | 15 | ||
16 | export CXXFLAGS += "-lstdc++" | 16 | export CXXFLAGS += "-lstdc++" |
17 | 17 | ||
18 | do_stage() { | ||
19 | |||
20 | autotools_stage_all | ||
21 | install -m 755 ${S}/libusb-config ${STAGING_BINDIR} | ||
22 | # can we get rid of that? wouldn't a sed statement do as well? | ||
23 | sed -i 's:\-L${libdir} :-L${STAGING_LIBDIR} :' ${STAGING_BINDIR}/libusb-config | ||
24 | |||
25 | if [ "${STAGING_BINDIR}" != "${STAGING_BINDIR_CROSS}" ]; then | ||
26 | install -d ${STAGING_BINDIR_CROSS}/ | ||
27 | mv ${STAGING_BINDIR}/libusb-config ${STAGING_BINDIR_CROSS}/libusb-config | ||
28 | fi | ||
29 | |||
30 | } | ||
31 | |||
32 | PACKAGES =+ "libusbpp" | 18 | PACKAGES =+ "libusbpp" |
33 | 19 | ||
34 | FILES_libusbpp = "${libdir}/libusbpp*.so.*" | 20 | FILES_libusbpp = "${libdir}/libusbpp*.so.*" |