Changeset c247956 in examples-v2


Ignore:
Timestamp:
Dec 13, 2013, 11:08:41 AM (5 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.11, 286403d7a3d0e521179e677c0d2fd7549c9ceab4
Children:
61d2a1f
Parents:
9b955dd
Message:

User friendly error message if the rtems_waf module is not included.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r9b955dd rc247956  
    11# Copyright 2013 Chris Johns (chrisj@rtems.org)
    2 # 
     2#
    33# This file's license is 2-clause BSD as in this distribution's LICENSE.2 file.
    44#
    55
    6 # Waf build script for RTEMS examples 
     6# Waf build script for RTEMS examples
    77#
    88# To configure, build and run do:
     
    1818#
    1919
    20 import rtems_waf.rtems as rtems
     20try:
     21    import rtems_waf.rtems as rtems
     22except:
     23    print 'error: no rtems_waf git submodule; see README.waf'
     24    import sys
     25    sys.exit(1)
    2126
    2227def init(ctx):
Note: See TracChangeset for help on using the changeset viewer.