diff options
author | Ross Burton <ross.burton@intel.com> | 2016-04-27 12:54:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-29 19:35:57 +0100 |
commit | 613a74fcc88ce814abeb6b6053078e2eca61ba39 (patch) | |
tree | e9e9599939863e7d5faf87e1475b7e1e4cde0160 /meta | |
parent | 4dd2808856a9f06c4446004e37cc493f6e83632c (diff) | |
download | poky-613a74fcc88ce814abeb6b6053078e2eca61ba39.tar.gz |
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)
(From OE-Core rev: 87606439e7eadcdcbea510b3facf8754ed7d0220)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 = " \ | |||
32 | --with-rootprefix= \ | 32 | --with-rootprefix= \ |
33 | " | 33 | " |
34 | 34 | ||
35 | PACKAGECONFIG ??= "hwdb" | ||
36 | PACKAGECONFIG[hwdb] = "--enable-hwdb,--disable-hwdb" | ||
37 | |||
35 | do_install_append() { | 38 | do_install_append() { |
36 | install -d ${D}${sysconfdir}/init.d | 39 | install -d ${D}${sysconfdir}/init.d |
37 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev | 40 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev |
@@ -104,4 +107,3 @@ pkg_postinst_eudev-hwdb () { | |||
104 | pkg_prerm_eudev-hwdb () { | 107 | pkg_prerm_eudev-hwdb () { |
105 | rm -f $D${sysconfdir}/udev/hwdb.bin | 108 | rm -f $D${sysconfdir}/udev/hwdb.bin |
106 | } | 109 | } |
107 | |||