Changes between Version 55 and Version 56 of buildroot


Ignore:
Timestamp:
12/11/2023 10:31:29 PM (12 months ago)
Author:
Tim Harvey
Comment:

add more kernel build details

Legend:

Unmodified
Added
Removed
Modified
  • buildroot

    v55 v56  
    233233[=#kernel]
    234234== Kernel Configuration
    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}}}.
     235If 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
     237make linux-menuconfig # invoke kernel menuconfig
     238make linux-savedefconfig # invoke kernel savedefconfig
     239make linux-update-defconfig # copy the kernel defconfig to the path specified by {{{BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE}}}
     240}}}
     241
     242The kernel package name is 'linux' therefore you can use the following if needed:
     243{{{#!bash
     244make linux-build # execute kernel build
     245make linux-rebuild # rebuild kernel
     246make linux-clean # clean the kernel
     247}}}
    236248
    237249