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 02:04, 9 October 2020 by Y.H. (talk | contribs) (Created page with "== How to change kernel config on Yocto. == # <syntaxhighlight lang=bash> $ bitbake -c menuconfig linux-renesas $ bitbake -c diffconfig linux-renesas $ cp $WORK/build/tmp/work...")
(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: