diff options
Diffstat (limited to 'rtems.py')
-rw-r--r-- | rtems.py | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -118,7 +118,7 @@ def init(ctx, filters = None): except: pass -def configure(conf): +def configure(conf, bsp_configure = None): # # Handle the show commands option. # @@ -202,6 +202,13 @@ def configure(conf): # conf.env.SHOW_COMMANDS = show_commands + # + # If there is a handler call it. This lets the user make configuration + # checks with in the BSP's context. + # + if bsp_configure is not None: + bsp_configure(conf, ab) + conf.setenv('', env) conf.env.RTEMS_TOOLS = rtems_tools |