* [Buildroot] need help for fixing some build problems @ 2024-06-03 13:26 Michel Alex 2024-06-03 13:39 ` Yann E. MORIN 0 siblings, 1 reply; 2+ messages in thread From: Michel Alex @ 2024-06-03 13:26 UTC (permalink / raw) To: buildroot@buildroot.org; +Cc: Michel Alex Hello, I have a question about libzenoh-c package, which currently can not be build by the autobuilder for following architectures: http://autobuild.buildroot.net/results/680f25769526e5eef43d254a10a525b165846c75/ http://autobuild.buildroot.net/results/31ed69cb2ffe8e9bc13a27c3fda16c27e9855b56/ http://autobuild.buildroot.net/results/fdc74b8a42388b51cc4197c38b552559b97cbb8c/ http://autobuild.buildroot.net/results/6e7ad53d44b417f6aa62acd8b2396720f5a14e82/ The zenoh-c help page says that "zenoh-c only have support for following targets: aarch64-unknown-linux-gnu, x86_64-unknown-linux-gnu, arm-unknown-linux-gnueabi". What is the correct way to add a dependency to Config.in file which enables the libzenoh-c only if above targets are selected? Thanks in advance Alex _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Buildroot] need help for fixing some build problems 2024-06-03 13:26 [Buildroot] need help for fixing some build problems Michel Alex @ 2024-06-03 13:39 ` Yann E. MORIN 0 siblings, 0 replies; 2+ messages in thread From: Yann E. MORIN @ 2024-06-03 13:39 UTC (permalink / raw) To: Michel Alex; +Cc: buildroot@buildroot.org Michel, All, Thanks for helping fix build failures ! :-) On 2024-06-03 13:26 +0000, Michel Alex spake thusly: > I have a question about libzenoh-c package, which currently can not be build by the autobuilder for following architectures: > http://autobuild.buildroot.net/results/680f25769526e5eef43d254a10a525b165846c75/ > http://autobuild.buildroot.net/results/31ed69cb2ffe8e9bc13a27c3fda16c27e9855b56/ > http://autobuild.buildroot.net/results/fdc74b8a42388b51cc4197c38b552559b97cbb8c/ > http://autobuild.buildroot.net/results/6e7ad53d44b417f6aa62acd8b2396720f5a14e82/ > > The zenoh-c help page says that "zenoh-c only have support for > following targets: aarch64-unknown-linux-gnu, x86_64-unknown-linux-gnu, > arm-unknown-linux-gnueabi". > > What is the correct way to add a dependency to Config.in file which > enables the libzenoh-c only if above targets are selected? Se the manual for how to do that: https://buildroot.org/downloads/manual/manual.html#_config_files Basically, you'd introduce a blind option (elided for brevity): config BR2_PACKAGE_LIBZENOH_C_ARCH_SUPPORTS bool depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS default y if BR2_aarch64 default y if BR2_arm default y if BR2_x86_64 config BR2_PACKAGE_LIBZENOH_C_ARCH_SUPPORTS bool "zenoh-c" depends on BR2_PACKAGE_LIBZENOH_C_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_USES_GLIBC comment "zenoh-c needs a glibc toolchain" depends on BR2_PACKAGE_LIBZENOH_C_ARCH_SUPPORTS depends on !BR2_TOOLCHAIN_USES_GLIBC Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-03 13:39 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-06-03 13:26 [Buildroot] need help for fixing some build problems Michel Alex 2024-06-03 13:39 ` Yann E. MORIN
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox