mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 23:10:32 +00:00
Fix build script Limine-HDD.HH array size generation.
This commit is contained in:
parent
d9e1334226
commit
a5fbff8a83
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ then
|
||||||
echo "*/\$WW,0\$" >> Limine-HDD.HH
|
echo "*/\$WW,0\$" >> Limine-HDD.HH
|
||||||
cat limine-hdd.h >> Limine-HDD.HH
|
cat limine-hdd.h >> Limine-HDD.HH
|
||||||
sed -i 's/const uint8_t/U8/g' 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 ..
|
cd ..
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue