parent
3b98017566
commit
d07cd62324
|
@ -6,21 +6,42 @@
|
||||||
# 选择 90:rockchip_rv1126_rv1109
|
# 选择 90:rockchip_rv1126_rv1109
|
||||||
source envsetup.sh
|
source envsetup.sh
|
||||||
# 选择 6:BoardConfig-aybering.mk
|
# 选择 6:BoardConfig-aybering.mk
|
||||||
./build.sh lunch
|
./build.sh lunch
|
||||||
# 全部构建
|
# 全部构建
|
||||||
./build.sh
|
./build.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
|
||||||
|
|
Loading…
Reference in New Issue