Skip to content

Commit

Permalink
build: add bash as args when make kernel
Browse files Browse the repository at this point in the history
Signed-off-by: Jacobe Zang <[email protected]>
  • Loading branch information
JacobZang committed Dec 25, 2024
1 parent aaf7342 commit 781741b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/functions/build
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,11 @@ build_linux() {
info_msg "Build linux..."
echo "${KERNEL_COMPILER} $KERNEL_COMPILER_PATH"
export PATH=$KERNEL_COMPILER_PATH:$PATH
make ARCH=arm64 CROSS_COMPILE="${KERNEL_COMPILER}" $LINUX_DEFCONFIG
make ARCH=arm64 CROSS_COMPILE="${KERNEL_COMPILER}" $LINUX_DEFCONFIG CONFIG_SHELL="bash"
if [ "${BUILD_LINUX_DTBS_ONLY:-no}" == "yes" ]; then
make -j${NR_JOBS} ARCH=arm64 CROSS_COMPILE="${CCACHE} ${KERNEL_COMPILER}" dtbs $EXTRA_MAKE_ARGS
make -j${NR_JOBS} ARCH=arm64 CROSS_COMPILE="${CCACHE} ${KERNEL_COMPILER}" dtbs $EXTRA_MAKE_ARGS CONFIG_SHELL="bash"
else
make -j${NR_JOBS} ARCH=arm64 CROSS_COMPILE="${CCACHE} ${KERNEL_COMPILER}" Image dtbs modules $EXTRA_MAKE_ARGS
make -j${NR_JOBS} ARCH=arm64 CROSS_COMPILE="${CCACHE} ${KERNEL_COMPILER}" Image dtbs modules $EXTRA_MAKE_ARGS CONFIG_SHELL="bash"
fi
}

Expand Down

0 comments on commit 781741b

Please sign in to comment.