From 46a6b6c1bf0c49b04184a2ef757bd7788c47ce22 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Thu, 14 Apr 2022 20:23:55 +0800 Subject: [PATCH] update linux-imx-igkboard.patch, 40pin header all can work now --- bsp/kernel/build.sh | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/bsp/kernel/build.sh b/bsp/kernel/build.sh index 0dc2a12..14bf3f5 100755 --- a/bsp/kernel/build.sh +++ b/bsp/kernel/build.sh @@ -33,7 +33,7 @@ patch -p1 < $patch_file fi - pr_warn "Modify cross compiler in Makefile: $CROSS_TOOL\n" + pr_warn "Modify cross compiler in Makefile: $CROSS_TOOL" sed -i -e "s|^CROSS_COMPILE=.*|CROSS_COMPILE?=${CROSS_TOOL}|g" Makefile cd ${PRJ_PATH} @@ -80,8 +80,10 @@ pr_warn "Clean ${KERNEL_SRC} source code" cd ${KERNEL_SRC} - make savedefconfig - mv defconfig arch/arm/configs/$defconf + if [ -f .config ] ; then + make savedefconfig + mv defconfig arch/arm/configs/$defconf + fi make distclean cd - -- Gitblit v1.9.1