summaryrefslogtreecommitdiff
path: root/build.conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--build.conf86
1 files changed, 74 insertions, 12 deletions
diff --git a/build.conf b/build.conf
index ea8fe85..4421638 100644
--- a/build.conf
+++ b/build.conf
@@ -15,19 +15,81 @@
# You should have received a copy of the GNU General Public License along with
# BoxOS; if not, see <https://www.gnu.org/licenses/>.
-###############################
-# General build configuration #
-###############################
-
# Compiler options
-CC = clang
-LD = ld.lld
-DESTDIR = base-system
-JOBS = 4
+CC = clang
+LD = ld.lld
+C_VER = c99
+DESTDIR = base-system
+JOBS = 1
# General system parameters
-ARCH = x86_64
-LOCAL_VER = ""
+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
-# Kernel parameters
-KERNEL_DEBUG = YES
+# System utilities configuration
+UTIL_DEBUG = YES
+UTIL_PROFILE = NO
+UTIL_OPLVL = -O0
+UTIL_TESTS = YES
+UTIL_ASSERT = YES