Commit Graph

29 Commits

Author SHA1 Message Date
mintsuki
e215f77411 build: De-symlink tinf 2021-10-22 20:08:11 +02:00
mintsuki
820921a424 build: Add guards to ensure GNU Make is used 2021-10-21 03:03:21 +02:00
mintsuki
f3e6ca633f build: Pass -mtune=generic 2021-10-11 21:35:23 +02:00
mintsuki
7cca9dd42f build: Misc build system improvements 2021-08-07 07:26:34 +02:00
mintsuki
6275457af0 toolchain: Use program prefix limine- to avoid collisions with x86_64-elf system toolchains 2021-08-06 05:05:50 +02:00
mintsuki
07dc81bbee build: Pass -mabi=sysv to cc 2021-07-31 21:28:06 +02:00
mintsuki
af03050db3 build: Make build system more BSD friendly 2021-07-26 16:09:03 +02:00
mintsuki
7d44e79abc build: which -> command -v 2021-06-30 18:22:50 +02:00
mintsuki
e69f7429ce build: Use linker directly instead of going thru compiler; ensure we are buildable with an llvm toolchain 2021-05-31 00:32:43 +02:00
mintsuki
6e78e33989 misc: Replace Intel-syntax inline assembly with GAS-syntax inline assembly; ensure we can build with clang 2021-05-29 18:07:28 +02:00
mintsuki
f9f38f0c39 build: Revert usage of -mgeneral-regs-only 2021-05-22 10:26:56 +02:00
mintsuki
1a7736b295 build: Fix wrong variable used on 'which' invocation in decompressor Makefile 2021-04-09 02:52:23 +02:00
mintsuki
543edfa0b3 build: Make build system more flexible to use when using the host toolchain 2021-04-08 19:41:46 +02:00
mintsuki
f899648d86 build: Misc enhancements 2021-04-03 22:12:40 +02:00
mintsuki
8e4de054d7 build: Generally rework build system to easily allow 3rd party toolchains to be used. Drop reliance on libgcc for BIOS builds by shipping our own routines instead 2021-04-03 00:48:38 +02:00
mintsuki
db20cc7580 misc: Disentangle Makefiles so it builds fine with -j 2021-03-08 03:05:39 +01:00
mintsuki
a8626d6fdd misc: Initial Makefile rework 2021-03-08 00:50:23 +01:00
mintsuki
71d0feb23a tinf: Remove legacy stage 3 stuff 2021-03-01 23:51:12 +01:00
mintsuki
81f39417eb misc: Makefile adjustments 2021-02-22 04:34:36 +01:00
mintsuki
6739ff84ff tinf: Do not share decompressor and stage2/3 decompression code 2021-02-21 05:01:18 +01:00
mintsuki
c778e72af8 Fix up make clean 2020-10-04 00:01:05 +02:00
mintsuki
d9b062917a Fix all warnings and add -Werror to CFLAGS so people stop committing broken code 2020-10-01 02:16:28 +02:00
mintsuki
b41fa7e204 Fix bugs related to handling real mode switch in inline assembly sections; reenable LTO as that fixes it 2020-09-25 22:57:57 +02:00
mintsuki
ed5d049c72 Fix issue with int 13h DAP potentially not fitting within a single real mode segment; load stage 2 at 0x8000 and disable LTO as it is broken for some unknown reasons now 2020-09-25 22:36:26 +02:00
mintsuki
c869ab6f85 Add header dependencies to Makefiles 2020-09-21 12:46:42 +02:00
mintsuki
6591a9c32f Fix some warnings in the decompressor and do not use special symbol main() for entry points 2020-09-18 22:15:27 +02:00
mintsuki
8410abb3d9 Build gzip and nasm as part of the toolchain to ensure reproducibility 2020-09-18 21:38:59 +02:00
mintsuki
1bb1bd2201 Revert to -masm=intel for inline assembly 2020-09-16 17:22:05 +02:00
mintsuki
cb9edd2a7b Reorganise source tree 2020-09-14 19:32:11 +02:00