build: make sure we are calling python3 in all scripts
Jira: ZEP-1759 Change-Id: I0fc7329f806ca0049c555d3402dd145e92e54028 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
b53145c6bc
commit
ed3d7c1de5
5 changed files with 6 additions and 4 deletions
|
@ -23,5 +23,5 @@ qemu: run
|
||||||
run: zephyr
|
run: zephyr
|
||||||
$(if $(QEMU_PIPE),,@echo "To exit from QEMU enter: 'CTRL+a, x'")
|
$(if $(QEMU_PIPE),,@echo "To exit from QEMU enter: 'CTRL+a, x'")
|
||||||
@echo '[QEMU] CPU: $(QEMU_CPU_TYPE_$(ARCH))'
|
@echo '[QEMU] CPU: $(QEMU_CPU_TYPE_$(ARCH))'
|
||||||
$(if $(CONFIG_X86_IAMCU),python $(ZEPHYR_BASE)/scripts/qemu-machine-hack.py $(KERNEL_ELF_NAME))
|
$(if $(CONFIG_X86_IAMCU),$(ZEPHYR_BASE)/scripts/qemu-machine-hack.py $(KERNEL_ELF_NAME))
|
||||||
$(Q)$(QEMU) $(QEMU_FLAGS) $(QEMU_EXTRA_FLAGS) -kernel $(KERNEL_ELF_NAME)
|
$(Q)$(QEMU) $(QEMU_FLAGS) $(QEMU_EXTRA_FLAGS) -kernel $(KERNEL_ELF_NAME)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python2
|
#!/usr/bin/env python3
|
||||||
import fileinput
|
import fileinput
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 Intel Corporation
|
# Copyright (c) 2017 Intel Corporation
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
import sys
|
import sys
|
||||||
from os import walk
|
from os import walk
|
||||||
import os
|
import os
|
||||||
|
|
2
scripts/qemu-machine-hack.py
Normal file → Executable file
2
scripts/qemu-machine-hack.py
Normal file → Executable file
|
@ -1,3 +1,5 @@
|
||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
# For some baffling reason IAMCU sets the instruction set architecture
|
# For some baffling reason IAMCU sets the instruction set architecture
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue