summaryrefslogtreecommitdiff
path: root/udev/udev_003.oe
blob: 3aae77006f084f90dd711097408ba95f57d72fc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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}/install.patch;patch=1 \
	   file://${FILESDIR}/partsegfault.patch;patch=1 \
	   file://${FILESDIR}/compile.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/'"

do_install () {
	oe_runmake 'DESTDIR=${D}' install
}