Skip to content

Commit dbd3024

Browse files
committed
modules/musl-cross: use echo from the PATH to support NixOS
NixOS doesn't have a traditional FHS where echo is available at `/bin/echo`. Instead, we must rely on the PATH for any distribution-managed utilities. Reverses #106.
1 parent febff85 commit dbd3024

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/musl-cross

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ else
3434
# Force a full build of the cross compiler for target platform
3535
# No need to build i386 for x86 since coreboot uses its own compiler
3636
musl-cross_configure := \
37-
/bin/echo -e >> Makefile 'musl-target:' ; \
38-
/bin/echo -e >> Makefile '\t$$$$(MAKE) TARGET="$(MUSL_ARCH)-linux-musl" install' ;
37+
echo -e >> Makefile 'musl-target:' ; \
38+
echo -e >> Makefile '\t$$$$(MAKE) TARGET="$(MUSL_ARCH)-linux-musl" install' ;
3939

4040
CROSS_PATH ?= $(pwd)/crossgcc/$(CONFIG_TARGET_ARCH)
4141

0 commit comments

Comments
 (0)