Merges.
[vuplus_openembedded] / diethotplug / diethotplug_0.4.oe
index 91f0c8d..af74cfa 100644 (file)
@@ -1,14 +1,17 @@
 DEPENDS = "virtual/libc"
 DESCRIPTION = "A small, C implementation of hotplug."
 
-SRC_URI = "http://www.us.kernel.org/pub/linux/utils/kernel/hotplug/diethotplug-${PV}.tar.gz"
+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 ${FILESDIR}/modules.usbmap > usb_modules.h
-       perl convert_pci.pl ${FILESDIR}/modules.pcimap > pci_modules.h
-       perl convert_ieee1394.pl ${FILESDIR}/modules.ieee1394map > ieee1394_modules.h
+       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
 }