[PATCH] fix type and logic issue when libbsd checking is enforced by the user code
Joel Sherrill
joel at rtems.org
Sat Jul 22 15:26:34 UTC 2023
I'm not that familiar with this logic but your change looks right to me.
Please.change the title from type to typo. It looks like a typo in your
commitmto fix a typo. Lol
I'm ok with you pushing this.
--joel
On Sat, Jul 22, 2023, 10:04 AM Karel Gardas <karel at functional.vision> wrote:
> Fixes #4930.
> ---
> rtems_bsd.py | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/rtems_bsd.py b/rtems_bsd.py
> index 7fbe66f..8faae10 100644
> --- a/rtems_bsd.py
> +++ b/rtems_bsd.py
> @@ -71,8 +71,8 @@ def bsp_configure(conf, arch_bsp, mandatory=True):
> 'configure RTEMS with --disable-networking')
> rtems_libbsd_path = conf.options.rtems_libbsd
> if rtems_libbsd_path is None:
> - if conf.options.rtems is None:
> - rtems_libbsd_path = conf.options.rtems
> + if conf.options.rtems_path is not None:
> + rtems_libbsd_path = conf.options.rtems_path
> else:
> rtems_libbsd_path = conf.env.PREFIX
>
> --
> 2.25.1
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20230722/69d15811/attachment.htm>
More information about the devel
mailing list