From: Ross Burton Date: Wed, 27 Apr 2016 11:54:51 +0000 (+0100) Subject: eudev: add PACKAGECONFIG for hwdb X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~26011 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7006d3084bd4d6aab2ca64d052df3a014abaf813;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git eudev: add PACKAGECONFIG for hwdb Some users may not want the hwdb at all, so add a PACKAGECONFIG option to disable building it entirely. Signed-off-by: Ross Burton --- diff --git a/meta/recipes-core/udev/eudev_3.1.5.bb b/meta/recipes-core/udev/eudev_3.1.5.bb index ea19ec41387..e42630f5cf5 100644 --- a/meta/recipes-core/udev/eudev_3.1.5.bb +++ b/meta/recipes-core/udev/eudev_3.1.5.bb @@ -32,6 +32,9 @@ EXTRA_OECONF = " \ --with-rootprefix= \ " +PACKAGECONFIG ??= "hwdb" +PACKAGECONFIG[hwdb] = "--enable-hwdb,--disable-hwdb" + do_install_append() { install -d ${D}${sysconfdir}/init.d install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev @@ -104,4 +107,3 @@ pkg_postinst_eudev-hwdb () { pkg_prerm_eudev-hwdb () { rm -f $D${sysconfdir}/udev/hwdb.bin } -