idf.py: Use mingw32-make for version check

Closes https://github.com/espressif/esp-idf/issues/3333
This commit is contained in:
Angus Gratton 2019-05-16 21:20:10 +08:00 committed by Angus Gratton
parent 6cdfde094d
commit f91d969c13

View File

@ -66,7 +66,7 @@ GENERATORS = \
[ [
# ('generator name', 'build command line', 'version command line', 'verbose flag') # ('generator name', 'build command line', 'version command line', 'verbose flag')
("Ninja", ["ninja"], ["ninja", "--version"], "-v"), ("Ninja", ["ninja"], ["ninja", "--version"], "-v"),
(MAKE_GENERATOR, [MAKE_CMD, "-j", str(multiprocessing.cpu_count() + 2)], ["make", "--version"], "VERBOSE=1"), (MAKE_GENERATOR, [MAKE_CMD, "-j", str(multiprocessing.cpu_count() + 2)], [MAKE_CMD, "--version"], "VERBOSE=1"),
] ]
GENERATOR_CMDS = dict((a[0], a[1]) for a in GENERATORS) GENERATOR_CMDS = dict((a[0], a[1]) for a in GENERATORS)
GENERATOR_VERBOSE = dict((a[0], a[3]) for a in GENERATORS) GENERATOR_VERBOSE = dict((a[0], a[3]) for a in GENERATORS)