[oe-commits] [openembedded-core] 38/94: eudev: add PACKAGECONFIG for hwdb
git at git.openembedded.org
git at git.openembedded.org
Wed Jun 29 18:37:02 UTC 2016
rpurdie pushed a commit to branch krogoth
in repository openembedded-core.
commit 87606439e7eadcdcbea510b3facf8754ed7d0220
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Wed Apr 27 12:54:51 2016 +0100
eudev: add PACKAGECONFIG for hwdb
Some users may not want the hwdb at all, so add a PACKAGECONFIG option to
disable building it entirely.
(From OE-Core rev: 7006d3084bd4d6aab2ca64d052df3a014abaf813)
Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster at mvista.com>
---
meta/recipes-core/udev/eudev_3.1.5.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-core/udev/eudev_3.1.5.bb b/meta/recipes-core/udev/eudev_3.1.5.bb
index ea19ec4..e42630f 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
}
-
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list