diff mbox series

openocd: Enable linuxgpiod build option

Message ID 20240703093348.1152878-1-sean@geanix.com
State Under Review
Headers show
Series openocd: Enable linuxgpiod build option | expand

Commit Message

Sean Nyekjaer July 3, 2024, 9:33 a.m. UTC
Enable the linuxgpiod via PACKAGECONFIG to allow to use swd via libgpiod

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
---
 meta-oe/recipes-devtools/openocd/openocd_git.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Khem Raj July 4, 2024, 3:20 a.m. UTC | #1
seeing a build failure

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

On Wed, Jul 3, 2024 at 2:34 AM Sean Nyekjaer via
lists.openembedded.org <sean=geanix.com@lists.openembedded.org> wrote:
>
> Enable the linuxgpiod via PACKAGECONFIG to allow to use swd via libgpiod
>
> Signed-off-by: Sean Nyekjaer <sean@geanix.com>
> ---
>  meta-oe/recipes-devtools/openocd/openocd_git.bb | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-devtools/openocd/openocd_git.bb b/meta-oe/recipes-devtools/openocd/openocd_git.bb
> index 559fe29ff..2f27bb672 100644
> --- a/meta-oe/recipes-devtools/openocd/openocd_git.bb
> +++ b/meta-oe/recipes-devtools/openocd/openocd_git.bb
> @@ -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: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/openocd/openocd_git.bb b/meta-oe/recipes-devtools/openocd/openocd_git.bb
index 559fe29ff..2f27bb672 100644
--- a/meta-oe/recipes-devtools/openocd/openocd_git.bb
+++ b/meta-oe/recipes-devtools/openocd/openocd_git.bb
@@ -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"