mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-06-07 08:14:48 +00:00
Fix build script Limine-HDD.HH array size generation.
This commit is contained in:
parent
d9e1334226
commit
a5fbff8a83
@ -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…
x
Reference in New Issue
Block a user