[Linux] Fix binutils path for gentests
This commit is contained in:
parent
a422166123
commit
8e92a4b55b
|
@ -938,7 +938,10 @@ class GenTestsCommand(Command):
|
||||||
print('Generating test binaries...')
|
print('Generating test binaries...')
|
||||||
print('')
|
print('')
|
||||||
|
|
||||||
binutils_path = os.path.join('third_party', 'binutils-ppc-cygwin')
|
if sys.platform == 'win32':
|
||||||
|
binutils_path = os.path.join('third_party', 'binutils-ppc-cygwin')
|
||||||
|
else:
|
||||||
|
binutils_path = os.path.join('third_party', 'binutils', 'bin')
|
||||||
ppc_as = os.path.join(binutils_path, 'powerpc-none-elf-as')
|
ppc_as = os.path.join(binutils_path, 'powerpc-none-elf-as')
|
||||||
ppc_ld = os.path.join(binutils_path, 'powerpc-none-elf-ld')
|
ppc_ld = os.path.join(binutils_path, 'powerpc-none-elf-ld')
|
||||||
ppc_objdump = os.path.join(binutils_path, 'powerpc-none-elf-objdump')
|
ppc_objdump = os.path.join(binutils_path, 'powerpc-none-elf-objdump')
|
||||||
|
|
Loading…
Reference in New Issue