A shortcut shell (Bash, typically) syntax to the build procedure (assuming the kernel configuration step is done) could be something like the following example, to be used in non-interactive build scripts, perhaps:
time make -j4 [ARCH=<...> CROSS_COMPILE=<...>] all && sudo make modules_install && sudo make install
In the preceding code, the && and || elements are the shell's (Bash's) convenience conditional list syntax:
- cmd1 && cmd2 implies : run cmd2 only if cmd1 succeeds.
- cmd1 || cmd2 implies : run cmd2 only if cmd1 fails.