Skip to content

Commit d1a468a

Browse files
authored
Merge pull request #15 from abinjose-qualcomm/cleansstate
add guide for cleaning up build artifacts
2 parents e1ec1af + 2af6053 commit d1a468a

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

topic/k2c-qli-build-ga/howto_build.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,27 @@ Generate an eSDK
8989

9090
When the eSDK generation is complete, you can see the images in the following directory: ``<workspace-dir>/build/tmp/deploy/sdk``.
9191

92+
Clean build artifacts
93+
^^^^^^^^^^^^^^^^^^^^^
94+
95+
**Clean up the artifacts from the build""
96+
97+
#. After building from source, run these commands from the same workspace:
98+
99+
.. container:: nohighlight
100+
101+
::
102+
103+
kas shell -c "bitbake -fc do_cleansstate <recipe>" meta-qcom/ci/<machine>:meta-qcom/ci/<distro>:meta-qcom/ci/lock.yml
104+
105+
#. To rebuild the recipe after cleaning up the artifacts, run these commands:
106+
107+
.. container:: nohighlight
108+
109+
::
110+
111+
kas shell -c "bitbake <recipe>" meta-qcom/ci/<machine>:meta-qcom/ci/<distro>:meta-qcom/ci/lock.yml
112+
92113
Build a standalone QDL
93114
^^^^^^^^^^^^^^^^^^^^^^^^^^
94115

0 commit comments

Comments
 (0)