Merge pull request #8 from 0Nera/master

Обновление ветки feature
This commit is contained in:
Aren Elchinyan 2024-02-17 13:13:03 +03:00 committed by GitHub
commit ae0b51beb1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 11 additions and 11 deletions

View File

@ -1,6 +1,6 @@
#/bin/sh
CC="gcc"
AR="ar"
CC=${CC:-gcc}
AR=${AR:-ar}
ARCH_FLAGS="-fno-stack-protector -ffreestanding -O0 -g -fPIC -static -nostdlib "
mkdir -p bin

View File

@ -2,7 +2,7 @@
echo "Название: CPUBENCH"
echo "Лицензия: Публичное достояние"
CC="gcc"
CC=${CC:-gcc}
ARCH_FLAGS="-fno-stack-protector -ffreestanding -O0 -g -fPIC -static -nostdlib "
if [ -d "../../sdk" ]; then

View File

@ -2,7 +2,7 @@
echo "Название: Hello world"
echo "Лицензия: Публичное достояние"
CC="gcc"
CC=${CC:-gcc}
ARCH_FLAGS="-fno-stack-protector -ffreestanding -O0 -g -fPIC -static -nostdlib "
if [ -d "../../sdk" ]; then

View File

@ -2,7 +2,7 @@
echo "Название: IMFS"
echo "Лицензия: CC BY-NC 4.0"
CC="gcc"
CC=${CC:-gcc}
ARCH_FLAGS="-fno-stack-protector -ffreestanding -O0 -g -fPIC -static -nostdlib "
if [ -d "../../sdk" ]; then

View File

@ -2,7 +2,7 @@
echo "Название: IOS"
echo "Лицензия: CC BY-NC 4.0"
CC="gcc"
CC=${CC:-gcc}
ARCH_FLAGS="-fno-stack-protector -ffreestanding -O0 -g -fPIC -static -nostdlib "
if [ -d "../../sdk" ]; then

View File

@ -3,7 +3,7 @@ echo "Название: PCI"
echo "Лицензия: Публичное достояние"
CC="gcc"
CC=${CC:-gcc}
ARCH_FLAGS="-fno-stack-protector -ffreestanding -O0 -g -fPIC -static -nostdlib "
if [ -d "../../sdk" ]; then

View File

@ -3,7 +3,7 @@ echo "Название: PS/2"
echo "Лицензия: Публичное достояние"
CC="gcc"
CC=${CC:-gcc}
ARCH_FLAGS="-fno-stack-protector -ffreestanding -O0 -g -fPIC -static -nostdlib "
if [ -d "../../sdk" ]; then

View File

@ -2,7 +2,7 @@
echo "Название: SIMD"
echo "Лицензия: Публичное достояние"
CC="gcc"
CC=${CC:-gcc}
ARCH_FLAGS="-fno-stack-protector -ffreestanding -O0 -g -fPIC -static -nostdlib "
if [ -d "../../sdk" ]; then

View File

@ -2,7 +2,7 @@
echo "Название: TGA"
echo "Лицензия: Публичное достояние"
CC="gcc"
CC=${CC:-gcc}
ARCH_FLAGS="-fno-stack-protector -ffreestanding -O0 -g -fPIC -static -nostdlib "
if [ -d "../../sdk" ]; then

View File

@ -122,7 +122,7 @@ def create_iso(IMAGE_NAME):
shutil.copytree("modules/bin", "iso_root/mod")
os.system(f"cp -v limine/BOOTX64.EFI iso_root/EFI/BOOT/")
os.system(f"cp -v limine/BOOTIA32.EFI iso_root/EFI/BOOT/")
os.system(f"xorriso -as mkisofs -b limine/limine-bios-cd.bin -no-emul-boot -boot-load-size 4 -boot-info-table --efi-boot limine/limine-uefi-cd.bin -efi-boot-part --efi-boot-image --protective-msdos-label iso_root -o {IMAGE_NAME}.iso")
os.system(f"xorriso -as mkisofs -b limine-bios-cd.bin -no-emul-boot -boot-load-size 4 -boot-info-table --efi-boot limine-uefi-cd.bin -efi-boot-part --efi-boot-image --protective-msdos-label iso_root -o {IMAGE_NAME}.iso")
os.system(f"./limine/limine bios-install {IMAGE_NAME}.iso")
if __name__ == "__main__":