Difference between revisions of "R-Car/Boards/Yocto-Gen3-CommonFAQ/How to change kernel config on Yocto."

From eLinux.org
Jump to: navigation, search
(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...")
 
 
Line 8: Line 8:
 
# edit $WORK/meta-renesas/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bbappend
 
# edit $WORK/meta-renesas/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bbappend
 
#: Add the following:
 
#: Add the following:
#:<syntaxhighlight lang=lang>
+
#:<syntaxhighlight lang=text>
 
SRC_URI_append = " \
 
SRC_URI_append = " \
 
   file://fragment.cfg \
 
   file://fragment.cfg \

Latest revision as of 18:26, 9 November 2020

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: