[Buildroot] [git commit] package/can-utils: enable build using musl libc

Peter Korsgaard peter at korsgaard.com
Thu Feb 11 22:20:53 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=aa1ed2fc07c8e49905fd1cb1752556be55f05ba1
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

>From commit 20fb6d3288f3c9aac7975e505d9a25f21f64bdf9 this package was
disabled for musl because can-utils used the error() glibc extension
at that time.

Since then, can-utils fixed compilation on musl by replacing this
error() calls with err().
https://github.com/linux-can/can-utils/pull/163/commits/791b6de78673f005e9748983231f7260f6b69e99

This commit disables the musl check.

Signed-off-by: Diego Hurtado de Mendoza <diego.hdmp at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/can-utils/Config.in | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/package/can-utils/Config.in b/package/can-utils/Config.in
index da56378866..bdc84b461a 100644
--- a/package/can-utils/Config.in
+++ b/package/can-utils/Config.in
@@ -1,14 +1,9 @@
 config BR2_PACKAGE_CAN_UTILS
 	bool "can-utils"
 	depends on BR2_USE_MMU # fork()
-	depends on !BR2_TOOLCHAIN_USES_MUSL # error()
 	help
 	  SocketCAN is a set of open source CAN drivers and a
 	  networking stack.
 	  This package provides various tools for this stack.
 
 	  https://github.com/linux-can/can-utils
-
-comment "can-utils needs a glibc or uClibc toolchain"
-	depends on BR2_TOOLCHAIN_USES_MUSL
-	depends on BR2_USE_MMU


More information about the buildroot mailing list