Skip to contentSkip to conversation

hwdata: allow to build native variant

PATCH In review Hiago De Franco 2 participants 3 messages Nov 20, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwdata: allow to build native variant

From: Hiago De Franco <[email protected]>

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'

---
 meta-oe/recipes-support/hwdata/hwdata_0.388.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-support/hwdata/hwdata_0.388.bb +2 -0
index 63fcfb22b707..dde9647479a3 100644
@@ -24,3 +24,5 @@ do_install() {
 
 FILES:${PN} = "${libdir}/* \
                ${datadir}/* "
+
+BBCLASSEXTEND += "native"
Signature · 1 line
2.39.5
#1 lore raw
Quoted 5 lines · Hiago De Franco via lists.openembedded.org

From: Hiago De Franco <[email protected]>

This is a requirement for libdisplay-info version 0.2.0, which fails without hwdata-native:

Thanks for the patch. I had to transplant it on top of 0.389 recipe since this was
staged in master-next please check the branch and test it out if it works as e

Quoted 39 lines
| 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'

---
 meta-oe/recipes-support/hwdata/hwdata_0.388.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-support/hwdata/hwdata_0.388.bb +2 -1
index 63fcfb22b707..dde9647479a3 100644
@@ -24,3 +24,5 @@ do_install() {
 
 FILES:${PN} = "${libdir}/* \
                ${datadir}/* "
+
+BBCLASSEXTEND += "native"
--

2.39.5

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#113929): https://lists.openembedded.org/g/openembedded-devel/message/113929
Mute This Topic: https://lists.openembedded.org/mt/109686459/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw
Quoted 4 lines · Khem Raj
Quoted 1 line · Hiago De Franco via lists.openembedded.org
Quoted 8 lines
Quoted 4 lines

From: Hiago De Franco <[email protected]>

This is a requirement for libdisplay-info version 0.2.0, which fails without hwdata-native:

Thanks for the patch. I had to transplant it on top of 0.389 recipe since this was
staged in master-next please check the branch and test it out if it works as e

Thanks, next time I will rebase on top of master-next. I tested with hwdata 0.389 and libdisplay-info builds fine.

Quoted 40 lines
Quoted 40 lines

| 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'

---
 meta-oe/recipes-support/hwdata/hwdata_0.388.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-support/hwdata/hwdata_0.388.bb +2 -1
index 63fcfb22b707..dde9647479a3 100644
@@ -24,3 +24,5 @@ do_install() {
 
 FILES:${PN} = "${libdir}/* \
                ${datadir}/* "
+
+BBCLASSEXTEND += "native"
--

2.39.5

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#113929): https://lists.openembedded.org/g/openembedded-devel/message/113929
Mute This Topic: https://lists.openembedded.org/mt/109686459/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-