diff options
author | Ross Burton <ross.burton@intel.com> | 2016-04-27 12:54:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-06 10:30:58 +0100 |
commit | 7006d3084bd4d6aab2ca64d052df3a014abaf813 (patch) | |
tree | e9065b57821c34b10781300f4a4409adeea06f08 /meta | |
parent | 3d97a40cffb780cda4d4acf6d87371427912228b (diff) | |
download | openembedded-core-7006d3084bd4d6aab2ca64d052df3a014abaf813.tar.gz openembedded-core-7006d3084bd4d6aab2ca64d052df3a014abaf813.tar.bz2 openembedded-core-7006d3084bd4d6aab2ca64d052df3a014abaf813.zip |
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 <ross.burton@intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/udev/eudev_3.1.5.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/udev/eudev_3.1.5.bb b/meta/recipes-core/udev/eudev_3.1.5.bb index ea19ec4138..e42630f5cf 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 } - |