From 78c5a8ebe751b5f42e855bd0a8ad2e7d170ef6c6 Mon Sep 17 00:00:00 2001 From: Hiago De Franco Date: Wed, 20 Nov 2024 13:00:05 -0300 Subject: [PATCH] hwdata: allow to build native variant This is a requirement for libdisplay-info version 0.2.0, which fails without hwdata-native: | WARNING: CMake Toolchain: Failed to determine CMake compilers state | Build-time dependency hwdata found: NO (tried pkgconfig) | | ../git/meson.build:24:11: ERROR: File /usr/share/hwdata/pnp.ids does not exist. | | ERROR: meson failed | WARNING: exit code 1 from a shell command. ERROR: Task (poky/meta/recipes-support/libdisplay-info/libdisplay-info_0.2.0.bb:do_configure) failed with exit code '1' Signed-off-by: Hiago De Franco Signed-off-by: Khem Raj --- meta-oe/recipes-support/hwdata/hwdata_0.389.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-support/hwdata/hwdata_0.389.bb b/meta-oe/recipes-support/hwdata/hwdata_0.389.bb index 7479813f7d..fffd491178 100644 --- a/meta-oe/recipes-support/hwdata/hwdata_0.389.bb +++ b/meta-oe/recipes-support/hwdata/hwdata_0.389.bb @@ -24,3 +24,5 @@ do_install() { FILES:${PN} = "${libdir}/* \ ${datadir}/* " + +BBCLASSEXTEND += "native"