Hello!
I use FreeBSD 13.0 stable and I followed the instructions from the book FreeBSD Developers' Handbook Revision: eab1c5d1f6 2021-01-12 19:33:23. Chapter 9. Building and Installing a FreeBSD Kernel.
I've managed to compile a custom kernel before, but I can't figure out how to compile it when I make small changes. I have followed the instructions in the above chapter but the document appears to be out of date:
After running:
I get
I read man for config() and tried various combinations and I can't handle it?
I use FreeBSD 13.0 stable and I followed the instructions from the book FreeBSD Developers' Handbook Revision: eab1c5d1f6 2021-01-12 19:33:23. Chapter 9. Building and Installing a FreeBSD Kernel.
I've managed to compile a custom kernel before, but I can't figure out how to compile it when I make small changes. I have followed the instructions in the above chapter but the document appears to be out of date:
Code:
1. Run config(8) to generate the kernel source code:
# /usr/sbin/config MYKERNEL
2. Change into the build directory. config(8) will print the name of this directory after being run as above.
# cd ../compile/ MYKERNEL
3. Compile the kernel:
# make depend
# make
:/usr/src # /usr/sbin/config /usr/src/sys/i386/conf/MYKERNEL
I get
Specify machine type, e.g. ``machine i386''
I read man for config() and tried various combinations and I can't handle it?