代码拉取完成,页面将自动刷新
From 4e9fe684337dce7b9036657907927f056a322a85 Mon Sep 17 00:00:00 2001
From: Zheng Zengkai <[email protected]>
Date: Sat, 26 Oct 2024 20:09:35 +0800
Subject: [PATCH 3/3] pkgbuild/linux: change default build config to defconfig
In order to avoid some random errors introduced by
randconfig and build the linux kernel successfully,
change the default build config from randconfig to
defconfig.
Increase to 8 jobs to accelerate the build process.
Signed-off-by: Zheng Zengkai <[email protected]>
---
programs/linux/PKGBUILD | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/programs/linux/PKGBUILD b/programs/linux/PKGBUILD
index 129a8d42e..4fd1e4f2d 100644
--- a/programs/linux/PKGBUILD
+++ b/programs/linux/PKGBUILD
@@ -56,11 +56,12 @@ prepare() {
if [ -s $cci_dir/$pkgbase/$config ]; then
cp $cci_dir/$pkgbase/$config .config
else
- make randconfig
+ echo "make defconfig..."
+ make defconfig
sed -i 's/# CONFIG_MODULES is not set/CONFIG_MODULES=y/g' .config
fi
- make olddefconfig -j4
+ make olddefconfig -j8
if [ "$pkgbase" == 'linux' ]; then
cp .config "$linux_CGZDEST/kconfig"
else
--
2.23.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。