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@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
--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
pkg_prerm_eudev-hwdb () {
rm -f $D${sysconfdir}/udev/hwdb.bin
}
-