Re: [docs] [PATCH 2/3] dev-manual/bmaptool.rst: add missing command for bmaptool-native

Antonin Godard
2024-12-02T09:02:58Z

Hi Michael,

On Sun Dec 1, 2024 at 6:38 PM CET, Michael Opdenacker via lists.yoctoproject.org wrote:
> From: Michael Opdenacker <michael.opdenacker@rootcommit.com>
>
> Otherwise, running "oe-run-native bmaptool-native bmaptool ..."
> fails as follows:
>
> Error: Have you run 'bitbake bmaptool-native -caddto_recipe_sysroot'?
>
> Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
> ---
> documentation/dev-manual/bmaptool.rst | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/documentation/dev-manual/bmaptool.rst b/documentation/dev-manual/bmaptool.rst
> index 493abf7607..5fc46c7792 100644
> --- a/documentation/dev-manual/bmaptool.rst
> +++ b/documentation/dev-manual/bmaptool.rst
> @@ -23,6 +23,7 @@ system image files much faster.
> need to build `bmaptool` before using it. Use the following command::

s/command/commands/ or see comment below

>
> $ bitbake bmaptool-native
> + $ bitbake bmaptool-native -caddto_recipe_sysroot

Isn't running `bitbake bmaptool-native -caddto_recipe_sysroot` enough? I
would say addto_recipe_sysroot implies building the recipe, but I might be
wrong!

Regards,
Antonin

--
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering