diff options
Diffstat (limited to 'packages/diethotplug/diethotplug_0.4.bb')
-rw-r--r-- | packages/diethotplug/diethotplug_0.4.bb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/diethotplug/diethotplug_0.4.bb b/packages/diethotplug/diethotplug_0.4.bb index e69de29bb2..ddb0dccf62 100644 --- a/packages/diethotplug/diethotplug_0.4.bb +++ b/packages/diethotplug/diethotplug_0.4.bb @@ -0,0 +1,22 @@ +SECTION = "base" +LICENSE = "GPL" +DESCRIPTION = "A small, C implementation of hotplug." + +SRC_URI = "http://www.us.kernel.org/pub/linux/utils/kernel/hotplug/diethotplug-${PV}.tar.gz \ + file://modules.usbmap \ + file://modules.pcimap \ + file://modules.ieee1394map" + +export KLIBC = "" + +do_compile () { + perl convert_usb.pl ${WORKDIR}/modules.usbmap > usb_modules.h + perl convert_pci.pl ${WORKDIR}/modules.pcimap > pci_modules.h + perl convert_ieee1394.pl ${WORKDIR}/modules.ieee1394map > ieee1394_modules.h + oe_runmake +} + +do_install () { + install -d ${D}${sbindir} + install -m 0755 hotplug ${D}${sbindir}/ +} |