Skip to contentSkip to conversation

package/can-utils: enable build using musl libc

PATCH New Diego Hurtado de Mendoza 2 participants 2 messages Feb 10, 2021 – Feb 11, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/can-utils: enable build using musl libc

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.

---
 package/can-utils/Config.in | 5 -----
 1 file changed, 5 deletions(-)
package/can-utils/Config.in +0 -5
index da56378866..bdc84b461a 100644
@@ -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
Signature · 1 line
2.30.0
#1 lore raw

PATCH 1/1 package/can-utils: enable build using musl libc

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Diego" == Diego Hurtado de Mendoza <[email protected]> writes:

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

Quoted 7 lines

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.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard