Pull musl submodule, complete script refactor and update readme

This commit is contained in:
YoshiRulz 2021-02-21 00:09:33 +10:00 committed by James Groom
parent f0b9e2e828
commit 4697c56a3b
3 changed files with 3 additions and 8 deletions

View File

@ -2,11 +2,6 @@
MYPATH="`dirname \"$0\"`"
SYSROOT="`realpath \"$MYPATH/../sysroot\"`"
LLVMDIR="`realpath \"$MYPATH/../llvm-project\"`"
#To uselibclang-rt (and libunwind), we need to evict the gcc libs, but musl automatically puts that in the specs file
#and has no setting to remove it. Fix that here.
sed -i -e '13c\' -e '' "$SYSROOT/lib/musl-gcc.specs"
rm -rf build-
mkdir build-
cd build-

@ -1 +1 @@
Subproject commit 54ef017c4e0faa8515e32612fa5c7a99716c39e8
Subproject commit 76d5e7a4b0745e94fc5868f0485a5a3a963678f3

View File

@ -31,8 +31,8 @@ It consists of a modified musl libc, and build scripts to tie it all together.
4. Build libraries.
cd musl
./configure-for-waterbox
make -j install
./wbox_configure.sh
./wbox_build.sh
cd ../emulibc
make
cd ../libco