feat(misc): created recompile script
- For faster recompilation
This commit is contained in:
parent
8654300ef4
commit
1ed0d7a2e9
23
recompile.sh
Executable file
23
recompile.sh
Executable 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 ! :)"
|
Loading…
x
Reference in New Issue
Block a user