summaryrefslogtreecommitdiff
path: root/udev/udev_022.oe
diff options
context:
space:
mode:
Diffstat (limited to 'udev/udev_022.oe')
-rw-r--r--udev/udev_022.oe23
1 files changed, 23 insertions, 0 deletions
diff --git a/udev/udev_022.oe b/udev/udev_022.oe
index e69de29bb2..b9d803f586 100644
--- a/udev/udev_022.oe
+++ b/udev/udev_022.oe
@@ -0,0 +1,23 @@
+DEPENDS = "virtual/libc"
+RDEPENDS = "libc6"
+DESCRIPTION = " udev is a program which dynamically creates and removes device nodes from \
+/dev/. It responds to /sbin/hotplug device events and requires a 2.6 kernel."
+
+SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
+ file://${FILESDIR}/flags.patch;patch=1"
+
+bindir = "/bin"
+sbindir = "/sbin"
+libdir = "/lib"
+EXTRA_OEMAKE_append = " 'prefix=${prefix}' \
+ 'exec_prefix=${prefix}' \
+ 'etcdir=${sysconfdir}' \
+ 'sbindir=${sbindir}' \
+ 'mandir=${mandir}' \
+ 'hotplugdir=${sysconfdir}/hotplug.d/default' \
+ 'configdir=${sysconfdir}/udev/'"
+export LD=${CC}
+
+do_install () {
+ oe_runmake 'DESTDIR=${D}' install
+}