From afa8017b5b872a928dc2b735da20fcac2d9db30e Mon Sep 17 00:00:00 2001 From: flysand7 Date: Sat, 9 Sep 2023 12:36:10 +1100 Subject: [PATCH] Remove old build script --- os/linux/build.py | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 os/linux/build.py diff --git a/os/linux/build.py b/os/linux/build.py deleted file mode 100644 index ab9312b..0000000 --- a/os/linux/build.py +++ /dev/null @@ -1,24 +0,0 @@ - -loader_flags = [ - '-Wl,-e,_dlstart', - '-Wl,--sort-section,alignment', - '-Wl,--sort-common', - '-Wl,--gc-sections', - '-Wl,--hash-style=both', - '-Wl,--no-undefined', - '-Wl,--exclude-libs=ALL' -] - -def build(toolchain): - toolchain.compiler.flags.append('-fno-stack-protector') - toolchain.assembler.flags.append('-f "elf64"') - compiler = toolchain.compiler - assembler = toolchain.assembler - archiver = toolchain.archiver - # Build dynamic loader - toolchain.step("lib/ld-cia.so") - assembler.obj('bin/loader-entry.o', ['loader/loader-entry.asm']) - compiler.shared('lib/ld-cia.so', ['bin/loader-entry.c','loader/loader-self-reloc.c','loader/loader.c'], loader_flags) - # Build the crt - toolchain.step('crt.lib') - compiler.obj('') \ No newline at end of file