summaryrefslogtreecommitdiff
path: root/udev/udev_023.oe
diff options
context:
space:
mode:
Diffstat (limited to 'udev/udev_023.oe')
-rw-r--r--udev/udev_023.oe22
1 files changed, 22 insertions, 0 deletions
diff --git a/udev/udev_023.oe b/udev/udev_023.oe
index e69de29bb2..85c5afffcd 100644
--- a/udev/udev_023.oe
+++ b/udev/udev_023.oe
@@ -0,0 +1,22 @@
+DEPENDS = "virtual/libc"
+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
+}