build system refresh
This commit is contained in:
15
clean.sh
15
clean.sh
@@ -1,9 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd rocklibc
|
||||
# libc
|
||||
cd rlibc
|
||||
make clean
|
||||
cd ..
|
||||
|
||||
# libgui
|
||||
cd rlibgui
|
||||
make clean
|
||||
cd ..
|
||||
|
||||
# programs
|
||||
cd programs
|
||||
find . -type f \( -name "Makefile" -o -name "makefile" \) | while read -r makefile_path; do
|
||||
dir_path=$(dirname "$makefile_path")
|
||||
@@ -13,10 +20,10 @@ find . -type f \( -name "Makefile" -o -name "makefile" \) | while read -r makefi
|
||||
make clean
|
||||
)
|
||||
done
|
||||
rm sysroot
|
||||
cd ..
|
||||
|
||||
# kernel
|
||||
make clean
|
||||
|
||||
cd initrd
|
||||
rm -f bin/*.elf
|
||||
cd ..
|
||||
rm -rf sysroot
|
||||
Reference in New Issue
Block a user