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

From eLinux.org
< R-Car‎ | Boards/Yocto-Gen3-CommonFAQ
Revision as of 17:26, 9 November 2020 by Y.H. (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: