From 820fcf4be4212099f35d720e59e52d01904bca1b Mon Sep 17 00:00:00 2001 From: Trammell Hudson Date: Tue, 2 Mar 2021 11:06:02 +0000 Subject: [PATCH] musl-cross: parallelize the i386 and x86_64 builds, fix wrong make --- modules/musl-cross | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/modules/musl-cross b/modules/musl-cross index f9cf79db..11354d37 100644 --- a/modules/musl-cross +++ b/modules/musl-cross @@ -31,13 +31,15 @@ musl-cross_libraries := \ else -# Force a full build of the cross compiler -# have to build both x86_64 and i386 versions for coreboot +# Force a full build of the cross compiler for x86_64 +# (do not build i386 since coreboot uses its own compiler) musl-cross_configure := \ - /bin/echo -e >> Makefile 'both:' ; \ - /bin/echo -e >> Makefile '\t$$$$(MAKE) TARGET=x86_64-linux-musl install' ; \ - /bin/echo -e >> Makefile '\t$$$$(MAKE) TARGET=i386-linux-musl install' ; \ + /bin/echo -e >> Makefile 'both: musl-x86_64' ; \ + /bin/echo -e >> Makefile 'musl-x86_64: extract_all' ; \ + /bin/echo -e >> Makefile '\t$$$$''(MAKE) TARGET=x86_64-linux-musl install' ; \ + /bin/echo -e >> Makefile 'musl-i386: extract_all' ; \ + /bin/echo -e >> Makefile '\t$$$$''(MAKE) TARGET=i386-linux-musl install' ; \ CROSS_PATH ?= $(pwd)/crossgcc