| 235 | | If you are using buildroot to build a kernel {{{BR2_KERNEL}}}, you can choose where to get the kernel config (the in-kernel arch default, another in-kernel defconfig, or a custom kernel defconfig). Regardless of your initial kernel config choice you can later modify the kernel configuration via {{{make linux-menuconfig}}}. Following that you can use {{{make linux-savedefconfig}}} to create a defconfig file in the Linux build directory and {{{make linux-update-defconfig}}} to save the Linux defconfig to the path specified by {{{BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE}}}. |
| | 235 | If you are using buildroot to build a kernel {{{BR2_KERNEL}}}, you can choose where to get the kernel config (the in-kernel arch default, another in-kernel defconfig, or a custom kernel defconfig). Regardless of your initial kernel config choice you can later modify the kernel configuration via: |
| | 236 | {{{#!bash |
| | 237 | make linux-menuconfig # invoke kernel menuconfig |
| | 238 | make linux-savedefconfig # invoke kernel savedefconfig |
| | 239 | make linux-update-defconfig # copy the kernel defconfig to the path specified by {{{BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE}}} |
| | 240 | }}} |
| | 241 | |
| | 242 | The kernel package name is 'linux' therefore you can use the following if needed: |
| | 243 | {{{#!bash |
| | 244 | make linux-build # execute kernel build |
| | 245 | make linux-rebuild # rebuild kernel |
| | 246 | make linux-clean # clean the kernel |
| | 247 | }}} |