From 12d66630181aac7a51015f62ae52c502d0ff14c4 Mon Sep 17 00:00:00 2001 From: yafen Date: Mon, 21 Sep 2020 21:24:11 +0800 Subject: [PATCH] make olddefconfig after cp defconfig --- scripts/build-image-common.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build-image-common.sh b/scripts/build-image-common.sh index c04c452..5d9e08f 100644 --- a/scripts/build-image-common.sh +++ b/scripts/build-image-common.sh @@ -272,6 +272,7 @@ make_kernel(){ find ${output_dir}/ -mindepth 1 -maxdepth 1 -print0 | xargs -0 rm -rf make distclean cp ${kernel_defconfig} .config + make ARCH=arm64 olddefconfig kernel_defconfig=${kernel_defconfig##*/} make ARCH=arm64 -j${make_cores} if [[ $? -eq 0 ]]; then -- Gitee