parent
3b98017566
commit
d07cd62324
|
@ -13,14 +13,35 @@ source envsetup.sh
|
|||
./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
|
||||
|
||||
```bash
|
||||
cd buildroot
|
||||
# 配置 buildroot.
|
||||
make rockchip_rv1126_rv1109_defconfig
|
||||
# 自动保存成 rockchip_rv1126_rv1109_defconfig
|
||||
# 自动保存成 rockchip_rv1126_rv1109_defconfig.
|
||||
make menuconfig
|
||||
make savedefconfig
|
||||
# 重新编译 buildroot.
|
||||
cd ..
|
||||
./build.sh cleanall
|
||||
./build.sh
|
||||
|
|
Loading…
Reference in New Issue