Chris Johns commented on a discussion: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5252#note_122982


Try:

```diff
diff --git a/wscript b/wscript
index 29f20d019d..032de3daf1 100755
--- a/wscript
+++ b/wscript
@@ -1633,10 +1633,18 @@ def append_variant_builds(bld):
                   UninstallContext):
             name = c.__name__.replace("Context", "").lower()

-            class magic(c):
+            class rtems_context(c):
                 cmd = name + "_" + var
                 variant = var

+                def compile(self):
+                    try:
+                        super().compile()
+                    except:
+                        if not self.keep:
+                            raise
+                        # should log the error and raise it somehow?
+
         waflib.Options.commands.append(bld.cmd + "_" + var)

```

I think it would be good to have the build generate an error once all the BSPs 
end some how? I will leave that to you :laughing:

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5252#note_122982
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to