Commit Graph

54 Commits

Author SHA1 Message Date
mintsuki
66e56f5579 build: Pass -fno-stack-check in decompressor build 2022-03-02 18:25:58 +01:00
mintsuki
ab0dfc2123 misc: Make VLAs a warning 2022-02-18 03:28:49 +01:00
mintsuki
0442e0ba13 misc: Use freestanding_headers rather than shipping them 2022-02-18 03:28:49 +01:00
mintsuki
8ccd4199b0 misc: Disable strict aliasing, just in case 2022-01-25 09:25:23 +01:00
mintsuki
776cd1ab67 build: Misc portability improvements 2022-01-22 04:16:08 +01:00
mintsuki
1e94f0d069 misc: Do not rely on libc-provided headers 2022-01-21 03:21:24 +01:00
mintsuki
4576dfec72 build: Disentangle some makefile targets 2022-01-17 22:46:21 +01:00
mintsuki
a064a858a9 build: Misc build system improvements 2022-01-16 22:59:29 +01:00
mintsuki
3dcde21bcf build: Move to using autoconf 2022-01-16 22:59:29 +01:00
mintsuki
76ff0c1c80 build: Makefile -> GNUmakefile 2022-01-02 13:06:48 +01:00
mintsuki
291d45d9fb build: Makefile improvements 2022-01-02 13:06:48 +01:00
mintsuki
a2e6051451 misc: Move to standard C11 noreturn 2022-01-02 13:06:48 +01:00
mintsuki
a04a84a5de build: Misc Makefile improvements 2021-12-24 00:32:46 +01:00
mintsuki
a294dd3ced build: Improve clang detection code 2021-12-22 01:51:50 +01:00
mintsuki
08bd89fbcc build: BIOS linker scripts adjustments 2021-12-19 02:30:52 +01:00
mintsuki
ee45d739f4 build: Makefile improvements 2021-12-08 21:34:59 +01:00
mintsuki
ecdc71e08a build: Fix up MKESCAPE macro logic 2021-11-30 00:58:35 +01:00
mintsuki
624228c83c build: Initial support for special characters in build path 2021-11-30 00:58:35 +01:00
mintsuki
c5da575520 Revert "build: Support spaces in build directory"
This reverts commit d815c3d732.
2021-11-26 14:52:36 +01:00
mintsuki
0ce97ee621 build: Support spaces in build directory 2021-11-25 23:14:29 +01:00
mintsuki
e3bca55afa build: Compile BIOS Limine for i686 instead of i386 2021-11-10 14:24:57 +01:00
mintsuki
0d5f4b91e7 build: De-symlink tinf 2021-10-22 20:23:25 +02:00
mintsuki
f061965f69 build: Add guards to ensure GNU Make is used 2021-10-21 03:04:09 +02:00
mintsuki
631b894af7 build: Pass -mtune=generic 2021-10-12 21:03:15 +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
Matteo Semenzato
f5c3b494bc Fix gzip code. 2020-12-31 19:15:43 +01:00
mintsuki
a9ff406d31 uri: Add support for gzip-compressed files 2020-12-27 00:27:47 +01:00
mintsuki
8460cee5ca misc: Implement stacktrace 2020-11-15 17:56:10 +01:00
Matteo Semenzato
e7ae195304 Add pxe support 2020-11-05 01:53: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