diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2011-05-23 13:13:02 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-05-23 16:13:18 +0200 |
commit | 896ba39f88c36b6f335066d06393dd86c15d3d03 (patch) | |
tree | 58cb4498b3964d62b7ed8666bf72767501784ed7 /meta-oe | |
parent | c1da9cf13b2e25ba6640e76c3a8a3556696c9652 (diff) | |
download | meta-openembedded-896ba39f88c36b6f335066d06393dd86c15d3d03.tar.gz |
udev: remove udev.inc since it was not being in use
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-core/udev/udev.inc | 101 |
1 files changed, 0 insertions, 101 deletions
diff --git a/meta-oe/recipes-core/udev/udev.inc b/meta-oe/recipes-core/udev/udev.inc deleted file mode 100644 index 0c8a66229..000000000 --- a/meta-oe/recipes-core/udev/udev.inc +++ /dev/null | |||
@@ -1,101 +0,0 @@ | |||
1 | DESCRIPTION ?= "udev is a program which dynamically creates and removes device nodes from \ | ||
2 | /dev/. It responds to /sbin/hotplug device events and requires a 2.6 kernel." | ||
3 | |||
4 | LICENSE = "GPLv2+" | ||
5 | |||
6 | SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ | ||
7 | file://udev.rules \ | ||
8 | file://devfs-udev.rules \ | ||
9 | file://links.conf \ | ||
10 | file://permissions.rules \ | ||
11 | file://mount.sh \ | ||
12 | file://network.sh \ | ||
13 | file://local.rules \ | ||
14 | file://init \ | ||
15 | file://udev-compat-wrapper-patch" | ||
16 | |||
17 | INC_PR = "r30" | ||
18 | |||
19 | inherit update-rc.d autotools pkgconfig | ||
20 | |||
21 | PARALLEL_MAKE = "" | ||
22 | UDEV_DEVFS_RULES ?= "0" | ||
23 | PKG_libvolume-id-dev = "libvolume-id-dev" | ||
24 | |||
25 | RDEPENDS_${PN} += "module-init-tools-depmod udev-utils" | ||
26 | |||
27 | INITSCRIPT_NAME = "udev" | ||
28 | INITSCRIPT_PARAMS = "start 03 S ." | ||
29 | |||
30 | export CROSS = "${TARGET_PREFIX}" | ||
31 | export HOSTCC = "${BUILD_CC}" | ||
32 | export udevdir ?= "/dev" | ||
33 | # Put stuff in /lib and /sbin | ||
34 | export bindir := "${base_bindir}" | ||
35 | export sbindir := "${base_sbindir}" | ||
36 | export usrbindir := "${bindir}" | ||
37 | export usrsbindir := "${sbindir}" | ||
38 | export etcdir := "${sysconfdir}" | ||
39 | |||
40 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
41 | UDEV_EXTRAS = "<override me>" | ||
42 | EXTRA_OEMAKE = "-e \ | ||
43 | 'EXTRAS=${UDEV_EXTRAS}' \ | ||
44 | 'STRIP=echo'" | ||
45 | |||
46 | RPROVIDES_udev_append = " udev-compat-wrapper" | ||
47 | RDEPENDS_udev_spitz += "udev-compat" | ||
48 | do_unpack_append_spitz() { | ||
49 | bb.build.exec_func('do_apply_compat_wrapper', d) | ||
50 | } | ||
51 | RDEPENDS_udev_akita += "udev-compat" | ||
52 | do_unpack_append_akita() { | ||
53 | bb.build.exec_func('do_apply_compat_wrapper', d) | ||
54 | } | ||
55 | RDEPENDS_udev_c7x0 += "udev-compat" | ||
56 | do_unpack_append_c7x0() { | ||
57 | bb.build.exec_func('do_apply_compat_wrapper', d) | ||
58 | } | ||
59 | RDEPENDS_udev_poodle += "udev-compat" | ||
60 | do_unpack_append_poodle() { | ||
61 | bb.build.exec_func('do_apply_compat_wrapper', d) | ||
62 | } | ||
63 | |||
64 | # Modify init script on platforms that need to boot old kernels: | ||
65 | do_apply_compat_wrapper() { | ||
66 | cd ${WORKDIR} | ||
67 | sed -i "s:/sbin/udevd:\$UDEVD:g;s:/sbin/udevadm:\$UDEVADM:g" init | ||
68 | patch <udev-compat-wrapper-patch | ||
69 | cd - | ||
70 | } | ||
71 | |||
72 | do_install () { | ||
73 | install -d ${D}${usrsbindir} \ | ||
74 | ${D}${sbindir} | ||
75 | oe_runmake 'DESTDIR=${D}' INSTALL=install install | ||
76 | install -d ${D}${sysconfdir}/init.d | ||
77 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev | ||
78 | |||
79 | install -d ${D}${sysconfdir}/udev/rules.d/ | ||
80 | |||
81 | install -m 0644 ${WORKDIR}/local.rules ${D}${sysconfdir}/udev/rules.d/local.rules | ||
82 | install -m 0644 ${WORKDIR}/permissions.rules ${D}${sysconfdir}/udev/rules.d/permissions.rules | ||
83 | install -m 0644 ${WORKDIR}/udev.rules ${D}${sysconfdir}/udev/rules.d/udev.rules | ||
84 | if [ "${UDEV_DEVFS_RULES}" = "1" ]; then | ||
85 | install -m 0644 ${WORKDIR}/devfs-udev.rules ${D}${sysconfdir}/udev/rules.d/devfs-udev.rules | ||
86 | fi | ||
87 | |||
88 | install -d ${D}${sysconfdir}/udev/scripts/ | ||
89 | |||
90 | install -m 0755 ${WORKDIR}/mount.sh ${D}${sysconfdir}/udev/scripts/mount.sh | ||
91 | install -m 0755 ${WORKDIR}/network.sh ${D}${sysconfdir}/udev/scripts | ||
92 | install -m 0644 ${S}/extras/volume_id/lib/libvolume_id.h ${D}${includedir} | ||
93 | oe_libinstall -C extras/volume_id/lib libvolume_id ${D}${libdir} | ||
94 | } | ||
95 | |||
96 | PACKAGES =+ "udev-utils libvolume-id libvolume-id-dev" | ||
97 | FILES_libvolume-id-dev = "${includedir}/libvolume_id.h ${libdir}/libvolume_id.a ${libdir}/libvolume_id.so ${libdir}/pkgconfig/libvolume_id.pc" | ||
98 | FILES_udev-utils = "${usrbindir}/udevinfo ${usrbindir}/udevtest ${sbindir}/udevadm" | ||
99 | FILES_libvolume-id = "${base_libdir}/libvolume_id.so.*" | ||
100 | FILES_${PN} += "${usrbindir}/* ${usrsbindir}/udevd" | ||
101 | FILES_${PN}-dbg += "${usrbindir}/.debug ${usrsbindir}/.debug" | ||