diff options
Diffstat (limited to 'meta/recipes-core/udev/udev.inc')
-rw-r--r-- | meta/recipes-core/udev/udev.inc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc index db09c54843..3190731a6a 100644 --- a/meta/recipes-core/udev/udev.inc +++ b/meta/recipes-core/udev/udev.inc | |||
@@ -26,9 +26,12 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ | |||
26 | file://local.rules \ | 26 | file://local.rules \ |
27 | file://udev-cache \ | 27 | file://udev-cache \ |
28 | file://udev-cache.default \ | 28 | file://udev-cache.default \ |
29 | file://add-install-ptest.patch \ | ||
30 | file://run-ptest \ | ||
29 | file://init" | 31 | file://init" |
30 | 32 | ||
31 | inherit autotools pkgconfig update-rc.d | 33 | inherit autotools pkgconfig update-rc.d ptest |
34 | +RDEPENDS_${PN}-ptest += "make" | ||
32 | 35 | ||
33 | libexecdir = "${base_libdir}" | 36 | libexecdir = "${base_libdir}" |
34 | EXTRA_OECONF = "--disable-introspection \ | 37 | EXTRA_OECONF = "--disable-introspection \ |
@@ -99,3 +102,6 @@ python () { | |||
99 | if oe.utils.contains ('DISTRO_FEATURES', 'systemd', True, False, d): | 102 | if oe.utils.contains ('DISTRO_FEATURES', 'systemd', True, False, d): |
100 | raise bb.parse.SkipPackage("'systemd' in DISTRO_FEATURES") | 103 | raise bb.parse.SkipPackage("'systemd' in DISTRO_FEATURES") |
101 | } | 104 | } |
105 | do_compile_ptest() { | ||
106 | oe_runmake test-udev | ||
107 | } | ||