musl-cross: parallelize the i386 and x86_64 builds, fix wrong make

This commit is contained in:
Trammell Hudson 2021-03-02 11:06:02 +00:00
parent 1179cc0358
commit 820fcf4be4

View File

@ -31,13 +31,15 @@ musl-cross_libraries := \
else else
# Force a full build of the cross compiler # Force a full build of the cross compiler for x86_64
# have to build both x86_64 and i386 versions for coreboot # (do not build i386 since coreboot uses its own compiler)
musl-cross_configure := \ musl-cross_configure := \
/bin/echo -e >> Makefile 'both:' ; \ /bin/echo -e >> Makefile 'both: musl-x86_64' ; \
/bin/echo -e >> Makefile '\t$$$$(MAKE) TARGET=x86_64-linux-musl install' ; \ /bin/echo -e >> Makefile 'musl-x86_64: extract_all' ; \
/bin/echo -e >> Makefile '\t$$$$(MAKE) TARGET=i386-linux-musl install' ; \ /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 CROSS_PATH ?= $(pwd)/crossgcc