1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-19 04:37:38 +00:00
serenity/Kernel/Prekernel
Brian Gianforcaro 665e848576 CMake: Remove Prekernel incompatible options instead of overriding
The pattern of having Prekernel inherit all of the build flags of the
Kernel, and then disabling some flags by adding `-fno-<flag>` options
to then disable those options doesn't work in all scenarios. For example
the ASAN flag `-fasan-shadow-offset=<offset>` has no option to disable
it once it's been passed, so in a future change where this flag is added
we need to be able to disable it cleanly.

The cleaner way is to just allow the Prekernel CMake logic to filter out
the COMPILE_OPTIONS specified for that specific target. This allows us
to remove individual options without trashing all inherited options.
2021-08-25 12:12:59 +02:00
..
boot.S Kernel: Support loading the kernel at almost arbitrary virtual addresses 2021-07-27 13:15:16 +02:00
CMakeLists.txt CMake: Remove Prekernel incompatible options instead of overriding 2021-08-25 12:12:59 +02:00
init.cpp Kernel: Support loading the kernel at almost arbitrary virtual addresses 2021-07-27 13:15:16 +02:00
linker.ld Kernel: Simplify the linker script for the prekernel 2021-07-19 11:29:09 +02:00
multiboot.S Kernel: Introduce basic pre-kernel environment 2021-07-18 17:31:13 +02:00
Prekernel.h Kernel: Support loading the kernel at almost arbitrary virtual addresses 2021-07-27 13:15:16 +02:00
UBSanitizer.cpp Kernel: Introduce basic pre-kernel environment 2021-07-18 17:31:13 +02:00