mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-23 13:24:17 +08:00
Use relibc source from cookbook
This commit is contained in:
parent
5162e660e8
commit
9c1ea2dc23
4
.gitmodules
vendored
4
.gitmodules
vendored
@ -7,7 +7,3 @@
|
||||
url = https://gitlab.redox-os.org/redox-os/rust.git
|
||||
branch = redox-2025-01-12
|
||||
update = none
|
||||
[submodule "relibc"]
|
||||
path = relibc
|
||||
url = https://gitlab.redox-os.org/redox-os/relibc.git
|
||||
branch = master
|
||||
|
||||
@ -4,6 +4,7 @@ PREFIX=prefix/$(TARGET)
|
||||
|
||||
PREFIX_INSTALL=$(PREFIX)/sysroot/
|
||||
PREFIX_PATH=$(ROOT)/$(PREFIX_INSTALL)/bin
|
||||
RELIBC_SOURCE=cookbook/recipes/core/relibc/source
|
||||
|
||||
BINUTILS_BRANCH=redox-2.43.1
|
||||
GCC_BRANCH=redox-13.2.0
|
||||
@ -35,7 +36,10 @@ PREFIX_STRIP=\
|
||||
-exec strip --strip-unneeded {} ';' \
|
||||
2> /dev/null
|
||||
|
||||
$(PREFIX)/relibc: $(ROOT)/relibc
|
||||
$(RELIBC_SOURCE): $(FSTOOLS_TAG)
|
||||
cd ./cookbook && ./target/release/repo fetch relibc
|
||||
|
||||
$(PREFIX)/relibc: $(RELIBC_SOURCE)
|
||||
mkdir -p "$(@D)"
|
||||
rm -rf "$@.partial" "$@"
|
||||
cp -r "$^" "$@.partial"
|
||||
@ -235,7 +239,7 @@ else
|
||||
mv "$@.partial" "$@"
|
||||
endif
|
||||
|
||||
$(PREFIX)/relibc-freestanding: $(ROOT)/relibc
|
||||
$(PREFIX)/relibc-freestanding: $(RELIBC_SOURCE)
|
||||
mkdir -p "$(@D)"
|
||||
rm -rf "$@.partial" "$@"
|
||||
cp -r "$^" "$@.partial"
|
||||
|
||||
1
relibc
1
relibc
@ -1 +0,0 @@
|
||||
Subproject commit 01f01d3bd49df5af52e0beaff168795a3d70ec28
|
||||
Loading…
Reference in New Issue
Block a user