Skip to contentSkip to conversation

libgpiod: drop wrong S assignment

PATCH Superseded Martin Jansa 2 participants 3 messages Oct 30, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libgpiod: drop wrong S assignment

* the default from bitbake.conf:
S = /
works better, because it points to correct directory even with e.g. when building lib32-libgpiod with multilib

---
 meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb | 2 --
 1 file changed, 2 deletions(-)
meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb +0 -2
index 3d9758e27a..00252dfe64 100644
@@ -17,8 +17,6 @@ SRC_URI += "file://gpio-manager.init"
 
 SRC_URI[sha256sum] = "ee29735890eb1cc0e4b494001da5163d1a9c4735343201d22485db313601ca07"
 
-S = "${UNPACKDIR}/${PN}-2.2"
-
 # Enable all project features for ptest
 PACKAGECONFIG[tests] = " \
     --enable-tests --enable-tools --enable-bindings-cxx --enable-bindings-glib --enable-gpioset-interactive --enable-dbus, \
Signature · 1 line
2.47.0
#1 lore raw

Le 30/10/2024 à 16:14, Martin Jansa via lists.openembedded.org a écrit :

Quoted 2 lines

* the default from bitbake.conf:
S = /

You meant
S = "${WORKDIR}/${BP}"
?

Quoted 21 lines

works better, because it points to correct directory even with e.g. when building lib32-libgpiod with multilib

---
 meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb | 2 --
 1 file changed, 2 deletions(-)
meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb +0 -2
index 3d9758e27a..00252dfe64 100644
@@ -17,8 +17,6 @@ SRC_URI += "file://gpio-manager.init"
 
 SRC_URI[sha256sum] = "ee29735890eb1cc0e4b494001da5163d1a9c4735343201d22485db313601ca07"
 
-S = "${UNPACKDIR}/${PN}-2.2"
-
 # Enable all project features for ptest
 PACKAGECONFIG[tests] = " \
     --enable-tests --enable-tools --enable-bindings-cxx --enable-bindings-glib --enable-gpioset-interactive --enable-dbus, \
#2 lore raw

Indeed, but wrote it in shell where those 2 variables were empty :), sending v2 now, thanks for review.

Quoted 31 lines · Yoann Congal
Quoted 2 lines · Martin Jansa via lists.openembedded.org

* the default from bitbake.conf:
S = /

You meant
S = "${WORKDIR}/${BP}"
?

Quoted 21 lines

works better, because it points to correct directory even with e.g. when building lib32-libgpiod with multilib

---
 meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb | 2 --
 1 file changed, 2 deletions(-)
meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb +0 -2
index 3d9758e27a..00252dfe64 100644
@@ -17,8 +17,6 @@ SRC_URI += "file://gpio-manager.init"
 
 SRC_URI[sha256sum] = "ee29735890eb1cc0e4b494001da5163d1a9c4735343201d22485db313601ca07"
 
-S = "${UNPACKDIR}/${PN}-2.2"
-
 # Enable all project features for ptest
 PACKAGECONFIG[tests] = " \
     --enable-tests --enable-tools --enable-bindings-cxx --enable-bindings-glib --enable-gpioset-interactive --enable-dbus, \