Can specify cross file as a command line argument.

pull/15/head
Jussi Pakkanen 11 years ago
parent 3a282890bc
commit c1853c21e1
  1. 3
      run_cross_test.py

@ -31,8 +31,7 @@ test_build_dir = 'work area'
install_dir = os.path.join(os.path.split(os.path.abspath(__file__))[0], 'install dir') install_dir = os.path.join(os.path.split(os.path.abspath(__file__))[0], 'install dir')
meson_command = './meson.py' meson_command = './meson.py'
extra_flags = ['--cross-file', 'cross/ubuntu-armhf.txt'] extra_flags = ['--cross-file', sys.argv[1]]
#extra_flags = ['--cross-file', 'cross/ubuntu-mingw.txt']
ninja_command = environment.detect_ninja() ninja_command = environment.detect_ninja()
if ninja_command is None: if ninja_command is None:
raise RuntimeError('Could not find Ninja executable.') raise RuntimeError('Could not find Ninja executable.')

Loading…
Cancel
Save