mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
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@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
41f716010a
commit
1108bee72c
@@ -32,6 +32,9 @@ EXTRA_OECONF = " \
|
|||||||
--with-rootprefix= \
|
--with-rootprefix= \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
PACKAGECONFIG ??= "hwdb"
|
||||||
|
PACKAGECONFIG[hwdb] = "--enable-hwdb,--disable-hwdb"
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
install -d ${D}${sysconfdir}/init.d
|
install -d ${D}${sysconfdir}/init.d
|
||||||
install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev
|
install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev
|
||||||
@@ -104,4 +107,3 @@ pkg_postinst_eudev-hwdb () {
|
|||||||
pkg_prerm_eudev-hwdb () {
|
pkg_prerm_eudev-hwdb () {
|
||||||
rm -f $D${sysconfdir}/udev/hwdb.bin
|
rm -f $D${sysconfdir}/udev/hwdb.bin
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user