Luna/kernel/config.cmake.template
apio fdf2bb2501
All checks were successful
continuous-integration/drone/push Build is passing
kernel: Make the filename restrictions configurable
2023-06-22 20:22:43 +02:00

18 lines
1.1 KiB
Plaintext

# Copy this file and rename it to 'config.cmake' before making your own changes.
# config.cmake: Configuration file for the kernel.
# Edit/add values to customize kernel compilation flags/defines.
# This file is automatically ignored by git.
# To use an example configuration line, just remove the hashtag '#' at the beginning.
# Example: Adding a compiler definition. This will define PCI_DEBUG in the kernel source.
# target_compile_definitions(moon PRIVATE PCI_DEBUG)
# Example: Adding a compiler flag. This will optimize the kernel aggressively (warning: untested, use at your own discretion).
# target_compile_options(moon PRIVATE -O3)
# Uncomment the line below to allow any filename on file/directory creation (by default, the kernel prohibits filenames with
# control characters, leading/trailing spaces, problematic characters and invalid UTF-8). Keep in mind that this restriction
# is only enforced when creating files; existing files with such illegal filenames are parsed correctly and fully usable.
# target_compile_definitions(moon PRIVATE MOON_DISABLE_FILENAME_RESTRICTIONS)