summaryrefslogtreecommitdiff
path: root/conf/distro/include/slugos.inc
diff options
context:
space:
mode:
authorMike Westerhof <mwester@dls.net>2008-12-31 15:03:49 -0600
committerMike Westerhof <mwester@dls.net>2008-12-31 15:06:44 -0600
commit9f0e7ad2abce9435db48ea26bf7192c3d0209a0e (patch)
tree2da762864c70749279ecf455151155454af8fd97 /conf/distro/include/slugos.inc
parent8183f7566af38505c4bfba5b292864e21f7d642a (diff)
libusb: create dummy libusb version to pull in libusb-compat instead.
See comments in libusb_0.0.0.bb for details on the problem. In a nutshell, set PREFERRED_VERSION_libusb = "0.0.0" for your distro to ensure that libusb-compat and libusb1 is not stomped on by libusb.
Diffstat (limited to 'conf/distro/include/slugos.inc')
-rw-r--r--conf/distro/include/slugos.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/distro/include/slugos.inc b/conf/distro/include/slugos.inc
index 40eef63ff8..d46dcf5380 100644
--- a/conf/distro/include/slugos.inc
+++ b/conf/distro/include/slugos.inc
@@ -243,5 +243,11 @@ PREFERRED_VERSION_m4-native ?= "1.4.8"
PREFERRED_VERSION_pkgconfig ?= "0.23"
PREFERRED_VERSION_pkgconfig-native ?= "0.23"
+# Hack alert - selecting this version of libusb effectively selects
+# the use of libusb1 and libusb-compat in the case that something
+# still depends on libusb. This is required because otherwise
+# libusb will overwrite libusb-compat in staging.
+PREFERRED_VERSION_libusb ?= "0.0.0"
+
require conf/distro/include/sane-srcdates.inc
require conf/distro/include/sane-srcrevs.inc