mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 15:10:28 +00:00
Fix build script Limine-HDD.HH generate command placement.
This commit is contained in:
parent
a5fbff8a83
commit
027116f596
1 changed files with 8 additions and 8 deletions
|
@ -91,14 +91,6 @@ then
|
|||
rm limine-deploy
|
||||
rm limine-version
|
||||
|
||||
touch Limine-HDD.HH
|
||||
echo "/*\$WW,1\$" > Limine-HDD.HH
|
||||
cat LICENSE.md >> Limine-HDD.HH
|
||||
echo "*/\$WW,0\$" >> Limine-HDD.HH
|
||||
cat limine-hdd.h >> Limine-HDD.HH
|
||||
sed -i 's/const uint8_t/U8/g' Limine-HDD.HH
|
||||
sed -i "s/\[\]/\[$(grep -c ' ' ./limine-hdd.h)*16\]/g" Limine-HDD.HH
|
||||
|
||||
cd ..
|
||||
fi
|
||||
if [ ! -d "limine" ]; then
|
||||
|
@ -106,6 +98,14 @@ if [ ! -d "limine" ]; then
|
|||
fi
|
||||
make -C limine
|
||||
|
||||
touch limine/Limine-HDD.HH
|
||||
echo "/*\$WW,1\$" > limine/Limine-HDD.HH
|
||||
cat limine/LICENSE.md >> limine/Limine-HDD.HH
|
||||
echo "*/\$WW,0\$" >> limine/Limine-HDD.HH
|
||||
cat limine/limine-hdd.h >> limine/Limine-HDD.HH
|
||||
sed -i 's/const uint8_t/U8/g' limine/Limine-HDD.HH
|
||||
sed -i "s/\[\]/\[$(grep -c ' ' ./limine/limine-hdd.h)*16\]/g" limine/Limine-HDD.HH
|
||||
|
||||
mount_tempdisk
|
||||
echo "Extracting MyDistro ISO from vdisk ..."
|
||||
cp $TMPMOUNT/Tmp/MyDistro.ISO.C ./ZealOS-MyDistro.iso
|
||||
|
|
Loading…
Reference in a new issue