From 2efe56a06f6c116325f5c5d3dfcc3165db290f1b Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 20 Sep 2017 18:54:03 -0700 Subject: 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 Signed-off-by: Richard Purdie --- documentation/kernel-dev/kernel-dev-common.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'documentation/kernel-dev/kernel-dev-common.xml') 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 @@ You can also see the "Using .bbappend Files in Your Layer"" section in the Yocto Project Development Manual. + + To build core-image-minimal + again and see the effects of your patch, you can + essentially eliminate the temporary source files + saved in poky/build/tmp/work/... + and residual effects of the build by entering the + following sequence of commands: + + $ cd ~/poky/build + $ cd bitbake -c cleanall yocto-linux + $ cd bitbake core-image-minimal -c cleanall + $ bitbake core-image-minimal + $ runqemu qemux86 + + -- cgit v1.2.3-54-g00ecf