Skip to content

Commit

Permalink
Modify the kernel compilation command
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed Nov 22, 2021
1 parent f3e0f69 commit 1efcf42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recompile
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ make_kernel() {
echo -e "${STEPS} Make kernel: ${linux_kernel_dirname} ..."
make prepare
make scripts
make -j$(($(nproc) + 1)) ARCH="${ARCH}" CROSS_COMPILE="${CROSS_COMPILE}" LOCALVERSION="${LOCALVERSION}"
make Image modules dtbs -j$(($(nproc) + 1)) ARCH="${ARCH}" CROSS_COMPILE="${CROSS_COMPILE}" LOCALVERSION="${LOCALVERSION}"
[ $? -eq 0 ] && echo -e "${SUCCESS} The kernel is compiled successfully."

# Install modules
Expand Down

0 comments on commit 1efcf42

Please sign in to comment.