Use xargo to compile relibc, to allow patching of rust core and alloc
This commit is contained in:
parent
90a87dbdbd
commit
5d256f4996
|
@ -55,9 +55,8 @@ $(PREFIX)/relibc-install: $(PREFIX)/binutils-install $(PREFIX)/gcc-freestanding-
|
||||||
rm -rf "$@"
|
rm -rf "$@"
|
||||||
cd relibc && \
|
cd relibc && \
|
||||||
export PATH="$(PREFIX_FREESTANDING_PATH):$$PATH" && \
|
export PATH="$(PREFIX_FREESTANDING_PATH):$$PATH" && \
|
||||||
rustup target add "$(TARGET)" && \
|
make CARGO=xargo all && \
|
||||||
make all && \
|
make CARGO=xargo DESTDIR="$@/usr" install
|
||||||
make DESTDIR="$@/usr" install
|
|
||||||
touch "$@"
|
touch "$@"
|
||||||
|
|
||||||
$(PREFIX)/gcc-install: $(PREFIX)/gcc | $(PREFIX)/relibc-install
|
$(PREFIX)/gcc-install: $(PREFIX)/gcc | $(PREFIX)/relibc-install
|
||||||
|
|
2
relibc
2
relibc
|
@ -1 +1 @@
|
||||||
Subproject commit bf111188e17b502b77b399b28ac43189fd4d0e6a
|
Subproject commit 2b3ae4d8b80c24003661711ae1d94aea0cfda9a9
|
Loading…
Reference in a new issue