diff options
| author | Simon Glass <[email protected]> | 2023-08-31 11:20:52 -0600 |
|---|---|---|
| committer | Bin Meng <[email protected]> | 2023-09-22 06:03:46 +0800 |
| commit | 48bf738e3622a94b96a57055ff0f6466f5830bd4 (patch) | |
| tree | 94b0dfb2f0fa09f8f6becd442d8db525e093111d /doc/build | |
| parent | 1a075d4e0de797ac2b25adcc27ea537fa01f89cb (diff) | |
Allow Python packages to be dropped
When building in a portage chroot, we do not have the environment needed
to build pylibfdt. It is instead build as a separate package.
Provide a build option to tell U-Boot to skip this part of the build. We
still need it to use binman, etc. but don't need it to build its
dependencies.
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Mike Frysinger <[email protected]>
[s/build bytes/builds bytes in tools.rst]
Signed-off-by: Bin Meng <[email protected]>
Diffstat (limited to 'doc/build')
| -rw-r--r-- | doc/build/tools.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/build/tools.rst b/doc/build/tools.rst index ec017229258..5bfa05b2325 100644 --- a/doc/build/tools.rst +++ b/doc/build/tools.rst @@ -45,3 +45,12 @@ Launch the MSYS2 shell of the MSYS2 environment, and do the following:: $ make tools-only_defconfig $ make tools-only + + +Building without Python +----------------------- + +The tools-only builds bytes pylibfdt by default. To disable this, use the +NO_PYTHON variable:: + + NO_PYTHON=1 make tools-only_defconfig tools-only |
