ff4ff35918
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
44 lines
522 B
Bash
Executable File
44 lines
522 B
Bash
Executable File
#!/bin/sh
|
|
# ad hoc debug tool
|
|
|
|
x=$1
|
|
y=$2
|
|
|
|
xout=`basename $x`.xxx.$$
|
|
yout=`basename $x`.yyy.$$
|
|
|
|
mkdir $xout
|
|
mkdir $yout
|
|
|
|
for i in *.s
|
|
do
|
|
echo Testing $i...
|
|
object=`basename $i .s`.o
|
|
$x $i -o $xout/$object
|
|
$y $i -o $yout/$object
|
|
|
|
# if they cmp, we're ok. Otherwise we have to look closer.
|
|
|
|
if (cmp $xout/$object $yout/$object)
|
|
then
|
|
echo $i is ok.
|
|
else
|
|
if (doobjcmp $xout/$object $yout/$object)
|
|
then
|
|
echo Not the same but objcmp ok.
|
|
else
|
|
exit 1
|
|
fi
|
|
fi
|
|
|
|
echo
|
|
done
|
|
|
|
rm -rf $xout $yout
|
|
|
|
exit 0
|
|
|
|
# EOF
|
|
|
|
|