[PATCH] fix type and logic issue when libbsd checking is enforced by the user code
Karel Gardas
karel at functional.vision
Sat Jul 22 15:04:40 UTC 2023
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
More information about the devel
mailing list