From 781741bf6b4083d82577b025cbfc4b9a3b5c2680 Mon Sep 17 00:00:00 2001 From: Jacobe Zang Date: Wed, 25 Dec 2024 18:04:53 +0800 Subject: [PATCH] build: add bash as args when make kernel Signed-off-by: Jacobe Zang --- config/functions/build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/functions/build b/config/functions/build index 91fd5b05..bd123b2f 100644 --- a/config/functions/build +++ b/config/functions/build @@ -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 }