checkwps: Exclude targets that only exist as a bootloader from buildall

Change-Id: I95cb65a204b4e509d48c9a8fb009d438f382a9f6
This commit is contained in:
Solomon Peachy 2025-09-27 13:32:52 -04:00
parent 7c30b318e4
commit 8a94a37502
3 changed files with 23 additions and 12 deletions

View file

@ -43,15 +43,17 @@ fi
echo > checkwps.failures
awk -f $rootdir/parse_configure.awk $rootdir/../configure | (
while read target model
while read target model blonly
do
make -j $jobs clean
$toolsdir/configure --target=$model --type=C --ram=32 --lcdwidth=100 --lcdheight=100 # 32 should always give default RAM, assume 100x100 for RaaA for now
make -j $jobs
if [ -f checkwps.$model ] ; then
mv checkwps.$model $outdir
else
echo "checkwps.$model" >> checkwps.failures
fi
if [ "$blonly" == "no" ] ; then
make -j $jobs clean
$toolsdir/configure --target=$model --type=C --ram=32 --lcdwidth=100 --lcdheight=100 # 32 should always give default RAM, assume 100x100 for RaaA for now
make -j $jobs
if [ -f checkwps.$model ] ; then
mv checkwps.$model $outdir
else
echo "checkwps.$model" >> checkwps.failures
fi
fi
done
)

View file

@ -2,10 +2,15 @@ BEGIN { FS="[|)]" }
/^[ \t]*([0-9]+)\|([^)]+)\)$/ {
model=$2
blonly="no"
}
/^[ \t]*blonly="[^"]+"$/ {
blonly="yes"
}
/^[ \t]*target="[^"]+"$/ {
match($0, "=\".+\"")
target=substr($0, RSTART+2, RLENGTH-3)
print target, model
print target, model, blonly
}