From 9b0ed344ed0bd4837249a2839a4c1e07e486ceb6 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 31 Jul 2015 19:29:34 +0800 Subject: [PATCH] runtime/Makefile: WA for more pesky travis/miniconda misbehavior --- soc/runtime/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/soc/runtime/Makefile b/soc/runtime/Makefile index 36fb42b2b..bbfa9ef8a 100644 --- a/soc/runtime/Makefile +++ b/soc/runtime/Makefile @@ -1,5 +1,7 @@ include $(MSCDIR)/software/common.mak +PYTHON ?= python3 + OBJECTS := isr.o flash_storage.o clock.o rtiocrg.o elf_loader.o services.o session.o log.o test_mode.o kloader.o bridge_ctl.o mailbox.o ksupport_data.o net_server.o moninj.o main.o OBJECTS_KSUPPORT := ksupport.o exception_jmp.o exceptions.o mailbox.o bridge.o rtio.o ttl.o dds.o @@ -43,7 +45,7 @@ ksupport_data.o: ksupport.bin $(LD) -r -b binary -o $@ $< service_table.h: ksupport.elf gen_service_table.py - @echo " GEN " $@ && ./gen_service_table.py ksupport.elf > $@ + @echo " GEN " $@ && $(PYTHON) gen_service_table.py ksupport.elf > $@ services.c: service_table.h