summaryrefslogtreecommitdiff
path: root/tools/buildman/toolchain.py
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-09-09 20:02:43 -0400
committerTom Rini <trini@ti.com>2014-09-09 20:02:43 -0400
commit5935408a4092a1a132ff1ce866374ab1ed555bcd (patch)
tree232412fb1d28582fc261a23d04f866c795e72d19 /tools/buildman/toolchain.py
parent8c9c74e4c69b43cd50a1f04b34cfc141ed21654c (diff)
parentd0ea61d9caf85e4285d5c2da508db9fac70e4aba (diff)
downloadu-boot-imx-5935408a4092a1a132ff1ce866374ab1ed555bcd.zip
u-boot-imx-5935408a4092a1a132ff1ce866374ab1ed555bcd.tar.gz
u-boot-imx-5935408a4092a1a132ff1ce866374ab1ed555bcd.tar.bz2
Merge branch 'buildman' of git://git.denx.de/u-boot-x86
Diffstat (limited to 'tools/buildman/toolchain.py')
-rw-r--r--tools/buildman/toolchain.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/buildman/toolchain.py b/tools/buildman/toolchain.py
index 0e91294..27dc318 100644
--- a/tools/buildman/toolchain.py
+++ b/tools/buildman/toolchain.py
@@ -99,6 +99,9 @@ class Toolchains:
def __init__(self):
self.toolchains = {}
self.paths = []
+ self._make_flags = dict(bsettings.GetItems('make-flags'))
+
+ def GetSettings(self):
toolchains = bsettings.GetItems('toolchain')
if not toolchains:
print ("Warning: No tool chains - please add a [toolchain] section"
@@ -110,7 +113,6 @@ class Toolchains:
self.paths += glob.glob(value)
else:
self.paths.append(value)
- self._make_flags = dict(bsettings.GetItems('make-flags'))
def Add(self, fname, test=True, verbose=False):
"""Add a toolchain to our list