See the overview document for more information.
The working directory is assumed to be the root of the project.
You may use the following command to build the kernel:
$ make kernel
You may use the following command to run the kernel:
$ make qemu
If you want to run a program on this kernel, see the document for user for more detail.
If you want to specify a certain program as the init program, you may
put the prgram in user/
directory and try:
$ make qemu init=<name>
For example, if you want to run user/hello.c
, you may try:
$ make qemu init=hello