summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-17 16:13:03 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-17 16:13:03 +0000
commit6cad69b4d8b6e626870f4f9ffb91239ab886550d (patch)
tree105b08957009f880ad98b015facf4cdd42532d79
parent632752506096491785bc85dae3261c2fadb284f9 (diff)
downloadpoky-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.bb14
-rw-r--r--meta/packages/libusb/libusb_0.1.12.bb16
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
16S = "${WORKDIR}/libusb-compat-0.1.0-beta2" 16S = "${WORKDIR}/libusb-compat-0.1.0-beta2"
17 17
18inherit autotools pkgconfig binconfig lib_package 18inherit autotools_stage pkgconfig binconfig lib_package
19 19
20PARALLEL_MAKE = "" 20PARALLEL_MAKE = ""
21EXTRA_OECONF = "--disable-build-docs" 21EXTRA_OECONF = "--disable-build-docs"
22 22
23export CXXFLAGS += "-lstdc++ -I${STAGING_INCDIR}" 23export CXXFLAGS += "-lstdc++ -I${STAGING_INCDIR}"
24 24
25do_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
37PACKAGES =+ "libusbpp" 25PACKAGES =+ "libusbpp"
38 26
39FILES_libusbpp = "${libdir}/libusbpp*.so.*" 27FILES_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"
8SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.gz \ 8SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.gz \
9 file://configure_fix.patch;patch=1" 9 file://configure_fix.patch;patch=1"
10 10
11inherit autotools pkgconfig binconfig lib_package 11inherit autotools_stage pkgconfig binconfig lib_package
12 12
13PARALLEL_MAKE = "" 13PARALLEL_MAKE = ""
14EXTRA_OECONF = "--disable-build-docs" 14EXTRA_OECONF = "--disable-build-docs"
15 15
16export CXXFLAGS += "-lstdc++" 16export CXXFLAGS += "-lstdc++"
17 17
18do_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
32PACKAGES =+ "libusbpp" 18PACKAGES =+ "libusbpp"
33 19
34FILES_libusbpp = "${libdir}/libusbpp*.so.*" 20FILES_libusbpp = "${libdir}/libusbpp*.so.*"