| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | How to update the defconfig for openwrt in the config direcotry |
| 2 | |
| 3 | In the openwrt top dir, |
| 4 | |
| 5 | 1) need to choose the profile config, take defconfig_pxa1826 profile for example, |
| 6 | $ make defconfig_pxa1826 |
| 7 | |
| 8 | 2) Above is Marvell defined defconfig per profile, it already set proper target and profile. |
| 9 | Only if you want to add a new profile, need to change target or profile here |
| 10 | $ make menuconfig //(it can be skipped in most times if not to change profile) |
| 11 | (choose, save and exit) |
| 12 | |
| 13 | 3) Next, only if want to update the kernel config in target/linux/mmp/pxa1826/, |
| 14 | $ make kernel_menuconfig |
| 15 | choose, save and exit |
| 16 | |
| 17 | 4) Next again, when you want to update the openwrt settings or you have just updated the kernel config |
| 18 | $ make menuconfig |
| 19 | (choose), save and exit |
| 20 | |
| 21 | 5) Last, save the new config file with configurations updated |
| 22 | $ cp .config config/defconfig_pxa1826 |
| 23 | and build |
| 24 | $ make -j2 V=99 |
| 25 | |