补充内核配置方法.

Signed-off-by: rick.chan <cy187lion@sina.com>
This commit is contained in:
rick.chan 2023-07-03 18:18:14 +08:00
parent 3b98017566
commit d07cd62324
1 changed files with 23 additions and 2 deletions

View File

@ -13,14 +13,35 @@ source envsetup.sh
./build.sh cleanall ./build.sh cleanall
``` ```
## 修改 kernel
```bash
cd kernel
# 保存旧的配置.
make ARCH=arm savedefconfig
cp defconfig arch/arm/configs/rv1126_defconfig
# 清除编译结果和配置.
make distclean
# 重新配置内核.
make ARCH=arm rv1126_defconfig
make ARCH=arm menuconfig
make ARCH=arm savedefconfig
cp defconfig arch/arm/configs/rv1126_defconfig
# 重新编译内核.
cd ..
./build.sh kernel
```
## 修改 buildroot ## 修改 buildroot
```bash ```bash
cd buildroot cd buildroot
# 配置 buildroot.
make rockchip_rv1126_rv1109_defconfig make rockchip_rv1126_rv1109_defconfig
# 自动保存成 rockchip_rv1126_rv1109_defconfig # 自动保存成 rockchip_rv1126_rv1109_defconfig.
make menuconfig make menuconfig
make savedefconfig make savedefconfig
# 重新编译 buildroot.
cd .. cd ..
./build.sh cleanall ./build.sh cleanall
./build.sh ./build.sh