Update 2024-02-14 07:51 OpenBSD/amd64-x13
This commit is contained in:
24
.bin/OLD/openbsd_kernel.sh
Executable file
24
.bin/OLD/openbsd_kernel.sh
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
|
||||
export DEBUG=-g
|
||||
export DEBUG_FLAGS=-g
|
||||
|
||||
if [ $1 = "compile" ]; then
|
||||
cd /usr/src/sys/arch/amd64/conf
|
||||
if [ ! -f MYKERNEL ]; then
|
||||
cp GENERIC.MP MYKERNEL
|
||||
fi
|
||||
\config MYKERNEL
|
||||
cd /sys/arch/amd64/compile/MYKERNEL
|
||||
make
|
||||
fi
|
||||
|
||||
if [ $1 = "install" ]; then
|
||||
cd /sys/arch/amd64/compile/MYKERNEL
|
||||
make install
|
||||
fi
|
||||
|
||||
if [ $1 = "clean" ]; then
|
||||
cd /sys/arch/amd64/compile/MYKERNEL
|
||||
make clean
|
||||
fi
|
||||
Reference in New Issue
Block a user