Home | History | Annotate | Download | only in build

Lines Matching refs:mode

22   print '%s MODE TOOL' % os.path.basename(program_name)
23 print 'MODE: host or target.'
31 mode = args[0]
33 if mode not in ('host', 'target'):
34 raise Exception('Invalid mode: %s' % mode)
37 return mode, tool
104 (mode, tool) = ParseArgs(args[1:])
109 ret_code, result = ExtractVersion(mode, tool)
118 (mode, tool) = ParseArgs(args)
119 ret_code, result = ExtractVersion(mode, tool)
125 def ExtractVersion(mode, tool):
131 if mode == 'host':