From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- .../diethotplug-0.4/modules.ieee1394map | 6 ++++++ recipes/diethotplug/diethotplug-0.4/modules.pcimap | 1 + recipes/diethotplug/diethotplug-0.4/modules.usbmap | 1 + recipes/diethotplug/diethotplug_0.4.bb | 22 ++++++++++++++++++++++ 4 files changed, 30 insertions(+) create mode 100644 recipes/diethotplug/diethotplug-0.4/modules.ieee1394map create mode 100644 recipes/diethotplug/diethotplug-0.4/modules.pcimap create mode 100644 recipes/diethotplug/diethotplug-0.4/modules.usbmap create mode 100644 recipes/diethotplug/diethotplug_0.4.bb (limited to 'recipes/diethotplug') diff --git a/recipes/diethotplug/diethotplug-0.4/modules.ieee1394map b/recipes/diethotplug/diethotplug-0.4/modules.ieee1394map new file mode 100644 index 0000000000..544e0a1e8d --- /dev/null +++ b/recipes/diethotplug/diethotplug-0.4/modules.ieee1394map @@ -0,0 +1,6 @@ +# ieee1394 module match_flags vendor_id model_id specifier_id version +dv1394 0x0000000c 0x000000 0x000000 0x00a02d 0x010001 +raw1394 0x0000000c 0x000000 0x000000 0x00a02d 0x010001 +raw1394 0x0000000c 0x000000 0x000000 0x00a02d 0x000100 +sbp2 0x0000000c 0x000000 0x000000 0x00609e 0x010483 +video1394 0x0000000c 0x000000 0x000000 0x00a02d 0x000100 diff --git a/recipes/diethotplug/diethotplug-0.4/modules.pcimap b/recipes/diethotplug/diethotplug-0.4/modules.pcimap new file mode 100644 index 0000000000..3fd01ca286 --- /dev/null +++ b/recipes/diethotplug/diethotplug-0.4/modules.pcimap @@ -0,0 +1 @@ +# pci module vendor device subvendor subdevice class class_mask driver_data diff --git a/recipes/diethotplug/diethotplug-0.4/modules.usbmap b/recipes/diethotplug/diethotplug-0.4/modules.usbmap new file mode 100644 index 0000000000..50eb1c8bfa --- /dev/null +++ b/recipes/diethotplug/diethotplug-0.4/modules.usbmap @@ -0,0 +1 @@ +# usb module match_flags idVendor idProduct bcdDevice_lo bcdDevice_hi bDeviceClass bDeviceSubClass bDeviceProtocol bInterfaceClass bInterfaceSubClass bInterfaceProtocol driver_info diff --git a/recipes/diethotplug/diethotplug_0.4.bb b/recipes/diethotplug/diethotplug_0.4.bb new file mode 100644 index 0000000000..150b442962 --- /dev/null +++ b/recipes/diethotplug/diethotplug_0.4.bb @@ -0,0 +1,22 @@ +SECTION = "base" +LICENSE = "GPL" +DESCRIPTION = "A small, C implementation of hotplug." + +SRC_URI = "${KERNELORG_MIRROR}/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}/ +} -- cgit v1.2.3