# Copyright (C) 2025 Danny Holman # # This file is part of BoxOS, a free and open-source Unix-like operating # system. # # BoxOS is free software; you can redistribute it and/or modify under the # terms of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # # BoxOS is distributed in the hope it will be useful, but WITHOUT ANY WARRANTY; # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # BoxOS; if not, see . # Compiler options CC = clang LD = ld.lld C_VER = c99 DESTDIR = base-system JOBS = 1 # General system parameters ARCH = x86_64 FIRMWARE = efi LOCAL_VER = # Kernel configuration KERNEL_DEBUG = YES KERNEL_PROFILE = NO KERNEL_OPLVL = -O0 KERNEL_TESTS = YES KERNEL_ASSERT = YES KERNEL_WERROR = NO KERNEL_ADDR_SAN = NO KERNEL_THREAD_SAN = NO KERNEL_UB_SAN = NO # Kernel file systems KERNEL_FAT = YES KERNEL_UFS = YES # Kernel bus drivers KERNEL_PCI = YES KERNEL_SATA = YES # Kernel block drivers KERNEL_VIRTIO_BLOCK = YES # Kernel network drivers KERNEL_VIRTIO_NET = YES # Kernel firmware drivers KERNEL_EFI = YES # Kernel security features KERNEL_ASLR = NO KERNEL_SEC_FS_HOOKS = NO KERNEL_SEC_NET_HOOKS = NO KERNEL_AMAC = NO KERNEL_POSIX_ACL = NO KERNEL_LOG_RESTRICT = NO KERNEL_LOCKDOWN = NO # Bootstrap configuration BS_DEBUG = YES BS_OPLVL = -O0 BS_TESTS = YES BS_ASSERT = YES BS_WERROR = NO # Bootstrap file systems BS_FAT = YES BS_UFS = YES # Bootstrap drivers BS_EFIFB = YES BS_SERIAL = YES # System library configuration LIB_DEBUG = YES LIB_PROFILE = NO LIB_OPLVL = -O0 LIB_TESTS = YES LIB_THREADED = YES LIB_ASSERT = YES # System utilities configuration UTIL_DEBUG = YES UTIL_PROFILE = NO UTIL_OPLVL = -O0 UTIL_TESTS = YES UTIL_ASSERT = YES