Build rust toolchains with tools like cargo
This commit is contained in:
parent
5884b58ba7
commit
c3be572aa5
|
@ -63,6 +63,7 @@ $(PREFIX)/rust-install: $(ROOT)/rust | $(PREFIX)/relibc-install
|
||||||
"$</configure" \
|
"$</configure" \
|
||||||
--prefix="/" \
|
--prefix="/" \
|
||||||
--disable-docs \
|
--disable-docs \
|
||||||
|
--enable-extended \
|
||||||
--target="$(TARGET)" \
|
--target="$(TARGET)" \
|
||||||
&& \
|
&& \
|
||||||
make -j `$(NPROC)` && \
|
make -j `$(NPROC)` && \
|
||||||
|
@ -168,6 +169,7 @@ $(PREFIX)/rust-freestanding-install: $(ROOT)/rust | $(PREFIX)/binutils-install
|
||||||
"$</configure" \
|
"$</configure" \
|
||||||
--prefix="/" \
|
--prefix="/" \
|
||||||
--disable-docs \
|
--disable-docs \
|
||||||
|
--enable-extended \
|
||||||
&& \
|
&& \
|
||||||
make -j `$(NPROC)` && \
|
make -j `$(NPROC)` && \
|
||||||
make -j `$(NPROC)` install DESTDIR="$(ROOT)/$@.partial"
|
make -j `$(NPROC)` install DESTDIR="$(ROOT)/$@.partial"
|
||||||
|
|
Loading…
Reference in a new issue