- "mkdir ${KRNLOBJDIR}"
- Generate makefiles, header files, etc. of the desired kernel config to build directory by "config -d "
- *** following commands run in build directory (to use makefiles generated by config) ***
- "make cleandir"
- "make obj"
- build tools, mostly aicasm assembler (for Adaptec SCSI controllers) by "make -f ${AICASM_MAKEFILE} obj depend all"
- "make depend"
- "make all"
- Clean build directory
make cleandir - Build directory tree for object files. Not the object files themselves. They are built in "make all"
make obj - Build dependencies to .depend of each directories
make depend - The actual compilation
make all
Makefile and directory structure generated by config
沒有留言:
張貼留言