R-Car/Boards/Yocto-Gen3-CommonFAQ/How to change kernel config on Yocto.

From eLinux.org
Jump to: navigation, search

How to change kernel config on Yocto.

  1. $ bitbake -c menuconfig linux-renesas
    $ bitbake -c diffconfig linux-renesas
    $ cp $WORK/build/tmp/work/h3ulcb-poky-linux/linux-renesas/xxxx/fragment.cfg \
    	$WORK/meta-renesas/meta-rcar-gen3/recipes-kernel/linux/linux-renesas/
    
  2. edit $WORK/meta-renesas/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bbappend
    Add the following:
    SRC_URI_append = " \
      file://fragment.cfg \
    "
    
  3. $ bitbake core-image-weston
    
  4. All the necessary files are generated in a following directory:
    $WORK/build/tmp/deploy/images/<target_board_name>
    

See also: