build system refresh
This commit is contained in:
@@ -1,17 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
TARGET_DIR="programs"
|
||||
cd programs
|
||||
ln -s ../sysroot sysroot 2>/dev/null
|
||||
|
||||
if [ ! -d "$TARGET_DIR" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
find "$TARGET_DIR" -type f \( -name "Makefile" -o -name "makefile" \) | while read -r makefile_path; do
|
||||
find "." -type f \( -name "Makefile" -o -name "makefile" \) | while read -r makefile_path; do
|
||||
dir_path=$(dirname "$makefile_path")
|
||||
(
|
||||
cd "$dir_path" || exit
|
||||
|
||||
make clean
|
||||
make
|
||||
bear -- make
|
||||
)
|
||||
done
|
||||
done
|
||||
|
||||
cd..
|
||||
Reference in New Issue
Block a user