package/libmnl: fix build failure
PATCH 1/1 package/libmnl: fix build failure
The rtnl-link-can application requires kernel headers of at least version 4.11. Since the make check command compiles all examples, their compilation is enabled only if the condition regarding the kernel headers is satisfied.
Fixes:
- http://autobuild.buildroot.net/results/36c1619c8b02efeaf9caebae8bb5c3eb8a26238b/
- http://autobuild.buildroot.net/results/15f6dc103eec7bdeb5020acbc0ae99dc97c00e4e/
--- package/libmnl/Config.in | 4 ++++ 1 file changed, 4 insertions(+)
package/libmnl/Config.in +4 -0
@@ -10,7 +10,11 @@ if BR2_PACKAGE_LIBMNL config BR2_PACKAGE_LIBMNL_EXAMPLES bool "install examples" + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 help Install binary examples. +comment "examples needs a toolchain w/ headers >= 4.11" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 + endif
Signature · 6 lines
2.32.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Yann E. MORIN
AppliedDario, All,
On 2023-05-23 19:31 +0200, Dario Binacchi spake thusly:
Quoted 10 lines
The rtnl-link-can application requires kernel headers of at least version 4.11. Since the
make checkcommand compiles all examples, their compilation is enabled only if the condition regarding the kernel headers is satisfied.Fixes:
- http://autobuild.buildroot.net/results/36c1619c8b02efeaf9caebae8bb5c3eb8a26238b/
- http://autobuild.buildroot.net/results/15f6dc103eec7bdeb5020acbc0ae99dc97c00e4e/Signed-off-by Dario Binacchi <[email protected]>
Applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 27 lines
--- package/libmnl/Config.in | 4 ++++ 1 file changed, 4 insertions(+)package/libmnl/Config.in +4
-0@@ -10,7 +10,11 @@ if BR2_PACKAGE_LIBMNL config BR2_PACKAGE_LIBMNL_EXAMPLES bool "install examples" + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 help Install binary examples. +comment "examples needs a toolchain w/ headers >= 4.11" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 + endifSignature · 6 lines
2.32.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | 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 [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot