]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Merge branch 'tom' of git://git.denx.de/u-boot-x86
authorTom Rini <trini@ti.com>
Tue, 8 Jul 2014 00:45:09 +0000 (20:45 -0400)
committerTom Rini <trini@ti.com>
Tue, 8 Jul 2014 00:45:09 +0000 (20:45 -0400)
doc/README.generic-board
tools/buildman/toolchain.py
tools/patman/gitutil.py

index 17da0b9f8776d837dd9ec8fea1ee4c686b1f8f01..37c1b03ced9d4af2b92528ce589793abeb98525d 100644 (file)
@@ -40,10 +40,11 @@ Supported Arcthitectures
 ------------------------
 
 If you are unlucky then your architecture may not support generic board.
-The following architectures are supported at the time of writing:
+The following architectures are supported now:
 
    arc
    arm
+   mips
    powerpc
    sandbox
    x86
index b64338680e9f3a0da02671779f9f9f11e37e169d..1b9771f8e6f42a749a8be0e50e2a327252bdf8e7 100644 (file)
@@ -66,7 +66,7 @@ class Toolchain:
         Returns:
             Priority of toolchain, 0=highest, 20=lowest.
         """
-        priority_list = ['-elf', '-unknown-linux-gnu', '-linux', '-elf',
+        priority_list = ['-elf', '-unknown-linux-gnu', '-linux',
             '-none-linux-gnueabi', '-uclinux', '-none-eabi',
             '-gentoo-linux-gnu', '-linux-gnueabi', '-le-linux', '-uclinux']
         for prio in range(len(priority_list)):
@@ -103,7 +103,7 @@ class Toolchains:
         if not toolchains:
             print ("Warning: No tool chains - please add a [toolchain] section"
                  " to your buildman config file %s. See README for details" %
-                 config_fname)
+                 bsettings.config_fname)
 
         for name, value in toolchains:
             if '*' in value:
index 3ea256de2e262cd0e34de4d9126fe95ee10e843c..7b75c83a82c07c0d8e3f502c11f4f9b0f3b598d8 100644 (file)
@@ -232,6 +232,10 @@ def ApplyPatches(verbose, args, start_point):
         print stdout
         return False
     old_head = stdout.splitlines()[0]
+    if old_head == 'undefined':
+        str = "Invalid HEAD '%s'" % stdout.strip()
+        print col.Color(col.RED, str)
+        return False
 
     # Checkout the required start point
     cmd = ['git', 'checkout', 'HEAD~%d' % start_point]