[rtems_waf commit] fix typo and logic issue when libbsd checking is enforced by the user code
Karel Gardas
karel at rtems.org
Sat Jul 22 15:12:50 UTC 2023
Module: rtems_waf
Branch: master
Commit: 8151754a5d6efd9b6be4d728f3633dc6a63672a9
Changeset: http://git.rtems.org/rtems_waf/commit/?id=8151754a5d6efd9b6be4d728f3633dc6a63672a9
Author: Karel Gardas <karel at functional.vision>
Date: Sat Jul 22 17:03:50 2023 +0200
fix typo and logic issue when libbsd checking is enforced by the user code
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
More information about the vc
mailing list