Changeset 8e7c9fe in mainline for tools/autotool.py


Ignore:
Timestamp:
2014-09-12T03:45:25Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c53b58e
Parents:
3eb0c85 (diff), 105d8d6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge mainline changes

most usb changes were reverted. blink and usbmass were fixed
known problems:
ehci won't initialize
usbmast asserts on unmount (happens on mainline too)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/autotool.py

    r3eb0c85 r8e7c9fe  
    355355        check_app([common['OBJDUMP'], "--version"], "GNU Objdump utility", details)
    356356        check_app([common['STRIP'], "--version"], "GNU strip", details)
     357
     358def check_python():
     359        "Check for Python dependencies"
     360       
     361        try:
     362                sys.stderr.write("Checking for PyYAML ... ")
     363                import yaml
     364        except ImportError:
     365                print_error(["PyYAML is missing.",
     366                             "",
     367                             "Please make sure that it is installed in your",
     368                             "system (usually part of PyYAML package)."])
     369       
     370        sys.stderr.write("ok\n")
    357371
    358372def decode_value(value):
     
    810824                        common['CLANG_TARGET'] = clang_target
    811825               
     826                check_python()
     827               
    812828                # Platform-specific utilities
    813829                if ((config['BARCH'] == "amd64") or (config['BARCH'] == "ia32") or (config['BARCH'] == "ppc32") or (config['BARCH'] == "sparc64")):
     
    834850                sandbox_leave(owd)
    835851       
     852        common['AUTOGEN'] = "%s/autogen.py" % os.path.dirname(os.path.abspath(sys.argv[0]))
     853
    836854        create_makefile(MAKEFILE, common)
    837855        create_header(HEADER, maps)
Note: See TracChangeset for help on using the changeset viewer.