Fix locale codes for kernel build scripts

This commit is contained in:
Ivan Baravy 2024-07-10 17:42:26 +01:00
parent 65239bc359
commit 46e816c366
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
FASM=fasm FASM=fasm
FLAGS=-m 65536 FLAGS=-m 65536
languages=en|ru|ge|et|sp languages=en_US|ru_RU|de_DE|et_EE|es_ES
.PHONY: all kernel bootloader clean .PHONY: all kernel bootloader clean

View File

@ -11,7 +11,7 @@ pause
goto :eof goto :eof
:Target_kernel :Target_kernel
rem valid languages: en ru ge et sp rem valid languages: en_US ru_RU de_DE et_EE es_ES
set lang=en set lang=en
echo *** building kernel with language '%lang%' ... echo *** building kernel with language '%lang%' ...

View File

@ -6,7 +6,7 @@ KERPACK=$HOME/kolibrios/programs/other/kpack/kerpack_linux/kerpack
KOLIBRI_IMG=$HOME/nightly/kolibri.img KOLIBRI_IMG=$HOME/nightly/kolibri.img
replace=0; # Replace kernel in the image file? replace=0; # Replace kernel in the image file?
echo 'lang fix en' > lang.inc echo 'lang fix en_US' > lang.inc
fasm -m 65536 bootbios.asm bootbios.bin fasm -m 65536 bootbios.asm bootbios.bin
fasm -m 65536 kernel.asm kernel.mnt fasm -m 65536 kernel.asm kernel.mnt
$KERPACK kernel.mnt kernel.mnt $KERPACK kernel.mnt kernel.mnt