Skip to contentSkip to conversation

openocd: Enable linuxgpiod build option

PATCH Superseded Sean Nyekjaer 2 participants 2 messages Jul 3, 2024 – Jul 4, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openocd: Enable linuxgpiod build option

Enable the linuxgpiod via PACKAGECONFIG to allow to use swd via libgpiod

---
 meta-oe/recipes-devtools/openocd/openocd_git.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-devtools/openocd/openocd_git.bb +2 -1
index 559fe29ff..2f27bb672 100644
@@ -51,9 +51,10 @@ FILES:${PN} = " \
   ${bindir}/openocd \
   "
 
+PACKAGECONFIG[linuxgpiod] = "--enable-linuxgpiod,--disable-linuxgpiod,libgpiod"
 PACKAGECONFIG[sysfsgpio] = "--enable-sysfsgpio,--disable-sysfsgpio"
 PACKAGECONFIG[remote-bitbang] = "--enable-remote-bitbang,--disable-remote-bitbang"
-PACKAGECONFIG ??= "sysfsgpio remote-bitbang"
+PACKAGECONFIG ??= "linuxgpiod sysfsgpio remote-bitbang"
 
 # Can't be built with ccache
 CCACHE_DISABLE = "1"
Signature · 1 line
2.45.2
#1 lore raw

seeing a build failure

https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/3961/steps/15/logs/stdio

Quoted 36 lines · Sean Nyekjaer via lists.openembedded.org

Enable the linuxgpiod via PACKAGECONFIG to allow to use swd via libgpiod

---
 meta-oe/recipes-devtools/openocd/openocd_git.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-devtools/openocd/openocd_git.bb +2 -2
index 559fe29ff..2f27bb672 100644
@@ -51,9 +51,10 @@ FILES:${PN} = " \
   ${bindir}/openocd \
   "
 
+PACKAGECONFIG[linuxgpiod] = "--enable-linuxgpiod,--disable-linuxgpiod,libgpiod"
 PACKAGECONFIG[sysfsgpio] = "--enable-sysfsgpio,--disable-sysfsgpio"
 PACKAGECONFIG[remote-bitbang] = "--enable-remote-bitbang,--disable-remote-bitbang"
-PACKAGECONFIG ??= "sysfsgpio remote-bitbang"
+PACKAGECONFIG ??= "linuxgpiod sysfsgpio remote-bitbang"
 
 # Can't be built with ccache
 CCACHE_DISABLE = "1"
--

2.45.2

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