summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2017-09-20 18:54:03 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-22 17:53:44 +0100
commit2efe56a06f6c116325f5c5d3dfcc3165db290f1b (patch)
tree39c05bc8daa23dd9d811943f37ef7f6fa98aea5e
parent2fe228645c353c152d512d945b110ba84f872aa3 (diff)
downloadpoky-2efe56a06f6c116325f5c5d3dfcc3165db290f1b.tar.gz
kernel-dev: Added note about running a clean build with a patch
Put this note at the end of the traditional kernel development flow. A way for the user to verify that the patch was applied for a subsequent build. (From yocto-docs rev: 598a518cd92980e1781649a3ed30ac585327dc0f) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/kernel-dev/kernel-dev-common.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/documentation/kernel-dev/kernel-dev-common.xml b/documentation/kernel-dev/kernel-dev-common.xml
index 9f8ac2d715..9ef1138589 100644
--- a/documentation/kernel-dev/kernel-dev-common.xml
+++ b/documentation/kernel-dev/kernel-dev-common.xml
@@ -1434,6 +1434,21 @@
1434 You can also see the 1434 You can also see the
1435 "<ulink url='&YOCTO_DOCS_DEV_URL;#using-bbappend-files'>Using .bbappend Files in Your Layer"</ulink>" 1435 "<ulink url='&YOCTO_DOCS_DEV_URL;#using-bbappend-files'>Using .bbappend Files in Your Layer"</ulink>"
1436 section in the Yocto Project Development Manual. 1436 section in the Yocto Project Development Manual.
1437 <note>
1438 To build <filename>core-image-minimal</filename>
1439 again and see the effects of your patch, you can
1440 essentially eliminate the temporary source files
1441 saved in <filename>poky/build/tmp/work/...</filename>
1442 and residual effects of the build by entering the
1443 following sequence of commands:
1444 <literallayout class='monospaced'>
1445 $ cd ~/poky/build
1446 $ cd bitbake -c cleanall yocto-linux
1447 $ cd bitbake core-image-minimal -c cleanall
1448 $ bitbake core-image-minimal
1449 $ runqemu qemux86
1450 </literallayout>
1451 </note>
1437 </para></listitem> 1452 </para></listitem>
1438 </orderedlist> 1453 </orderedlist>
1439 </para> 1454 </para>