aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/busybox/busybox_1.1x.inc
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2010-10-29 22:27:35 +0200
committerEric Bénard <eric@eukrea.com>2010-10-30 02:30:57 +0200
commitcd7c9542bad478df9df733a6639ab3b6ef41ef72 (patch)
treefd431ee36b63cf02fe76cde1ffcab031b780fcc7 /recipes/busybox/busybox_1.1x.inc
parentab9224ff763dc5db437efabfd486b988ce4db848 (diff)
downloadopenembedded-cd7c9542bad478df9df733a6639ab3b6ef41ef72.tar.gz
busybox's mdev: add script to populate /dev/bus/usb
this patch allows libusb to work on kernel configured without CONFIG_USB_DEVICEFS Signed-off-by: Eric Bénard <eric@eukrea.com>
Diffstat (limited to 'recipes/busybox/busybox_1.1x.inc')
-rw-r--r--recipes/busybox/busybox_1.1x.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes/busybox/busybox_1.1x.inc b/recipes/busybox/busybox_1.1x.inc
index df536f6098..079c784f60 100644
--- a/recipes/busybox/busybox_1.1x.inc
+++ b/recipes/busybox/busybox_1.1x.inc
@@ -23,6 +23,7 @@ SRC_URI = "\
file://defconfig \
file://mdev \
file://mdev.conf \
+ file://usb.sh \
"
EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX}"
@@ -38,6 +39,7 @@ do_install_append() {
install -d ${D}${sysconfdir}/init.d/
install -d ${D}${sysconfdir}/mdev
install -m 0755 ${WORKDIR}/find-touchscreen.sh ${D}${sysconfdir}/mdev/
+ install -m 0755 ${WORKDIR}/usb.sh ${D}${sysconfdir}/mdev/
install -m 0755 ${WORKDIR}/mdev ${D}${sysconfdir}/init.d/
if grep "CONFIG_UDHCPD=y" ${WORKDIR}/defconfig; then