- Timestamp:
- 2019-02-11T22:31:04Z (7 years ago)
- Children:
- aaf9789c
- Parents:
- e3272101 (diff), 4805495 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- tools
- Files:
-
- 3 edited
-
autotool.py (modified) (1 diff)
-
build-ccheck.sh (modified) (2 diffs)
-
ew.py (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tools/autotool.py
re3272101 rd5a89a3 1 #!/usr/bin/env python 21 #!/usr/bin/env python 2 2 # 3 3 # Copyright (c) 2010 Martin Decky -
tools/build-ccheck.sh
re3272101 rd5a89a3 1 1 #!/bin/bash 2 2 # 3 # Copyright (c) 201 8Jiri Svoboda3 # Copyright (c) 2019 Jiri Svoboda 4 4 # All rights reserved. 5 5 # … … 29 29 30 30 SYCEK_GIT="https://github.com/jxsvoboda/sycek" 31 SYCEK_REV=" 42fe0d77819f0ec05f17e40ea54c7b62073c8e97"31 SYCEK_REV="eaa42806e3894fb41ba6bd79fab96e1ae8720f29" 32 32 33 33 if [ ! -d sycek ]; then -
tools/ew.py
re3272101 rd5a89a3 135 135 hdisk_mk() 136 136 137 return ' -drive file=hdisk.img,index=0,media=disk,format=raw' 137 hdd_options = '' 138 if 'hdd' in overrides.keys(): 139 if 'ata' in overrides['hdd'].keys(): 140 hdd_options += '' 141 elif 'virtio-blk' in overrides['hdd'].keys(): 142 hdd_options += ',if=virtio' 143 144 return ' -drive file=hdisk.img,index=0,media=disk,format=raw' + hdd_options 138 145 139 146 def qemu_nic_ne2k_options(): … … 336 343 def usage(): 337 344 print("%s - emulator wrapper for running HelenOS\n" % os.path.basename(sys.argv[0])) 338 print("%s [-d] [-h] [-net e1k|rtl8139|ne2k|virtio-net] [- nohdd] [-nokvm] [-nonet] [-nosnd] [-nousb] [-noxhci] [-notablet]\n" %345 print("%s [-d] [-h] [-net e1k|rtl8139|ne2k|virtio-net] [-hdd ata|virtio-blk] [-nohdd] [-nokvm] [-nonet] [-nosnd] [-nousb] [-noxhci] [-notablet]\n" % 339 346 os.path.basename(sys.argv[0])) 340 347 print("-d\tDry run: do not run the emulation, just print the command line.") … … 357 364 def run(): 358 365 expect_nic = False 366 expect_hdd = False 359 367 expect_qemu = False 360 368 … … 378 386 continue 379 387 388 if expect_hdd: 389 expect_hdd = False 390 if not 'hdd' in overrides.keys(): 391 overrides['hdd'] = {} 392 if sys.argv[i] == 'ata': 393 overrides['hdd']['ata'] = True 394 elif sys.argv[i] == 'virtio-blk': 395 overrides['hdd']['virtio-blk'] = True 396 else: 397 usage() 398 exit() 399 continue 400 380 401 if expect_qemu: 381 402 expect_qemu = False … … 389 410 elif sys.argv[i] == '-net' and i < len(sys.argv) - 1: 390 411 expect_nic = True 412 elif sys.argv[i] == '-hdd' and i < len(sys.argv) - 1: 413 expect_hdd = True 391 414 elif sys.argv[i] == '-nohdd': 392 415 overrides['nohdd'] = True
Note:
See TracChangeset
for help on using the changeset viewer.
