mirror of
https://gitlab.com/qemu-project/meson.git
synced 2025-11-08 21:28:54 +08:00
Can specify cross file as a command line argument.
This commit is contained in:
@ -31,8 +31,7 @@ test_build_dir = 'work area'
|
||||
install_dir = os.path.join(os.path.split(os.path.abspath(__file__))[0], 'install dir')
|
||||
meson_command = './meson.py'
|
||||
|
||||
extra_flags = ['--cross-file', 'cross/ubuntu-armhf.txt']
|
||||
#extra_flags = ['--cross-file', 'cross/ubuntu-mingw.txt']
|
||||
extra_flags = ['--cross-file', sys.argv[1]]
|
||||
ninja_command = environment.detect_ninja()
|
||||
if ninja_command is None:
|
||||
raise RuntimeError('Could not find Ninja executable.')
|
||||
|
||||
Reference in New Issue
Block a user