Compare commits

...

2 Commits

Author SHA1 Message Date
f19336017d
feat(clangd): disable header sorting 2025-03-01 02:49:29 -05:00
1ed0d7a2e9
feat(misc): created recompile script
- For faster recompilation
2025-03-01 02:48:43 -05:00
2 changed files with 25 additions and 0 deletions

2
.clang-format Normal file
View File

@ -0,0 +1,2 @@
"IncludeBlocks": Preserve
"SortIncludes": Never

23
recompile.sh Executable file
View File

@ -0,0 +1,23 @@
#!/bin/bash
set -e
# Configure the build.
cd ~/os161/src
./configure --ostree=$HOME/os161/root
# Build userland.
bmake -j 10
bmake install
# Configure a kernel.
cd kern/conf
./config DUMBVM
# Compile and install the kernel
cd ~/os161/src/kern/compile/DUMBVM
bmake depend -j 10
bmake -j 10
bmake install
echo "Kernel + Userland baked fresh ! :)"