From d89520dca130770c455a8e7295aa1b08e14478df Mon Sep 17 00:00:00 2001 From: Darren Thompson Date: Wed, 19 Nov 2014 14:31:52 -0500 Subject: [PATCH] Set GPU example's make file to explicitly use python3, and look for aemstro_as.py in folder defined by $AEMSTROPATH enviroment variable. --- examples/gpu/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/gpu/Makefile b/examples/gpu/Makefile index 568eda2..1e0d7bf 100644 --- a/examples/gpu/Makefile +++ b/examples/gpu/Makefile @@ -161,7 +161,7 @@ $(OUTPUT).elf : $(OFILES) %.vsh.o : %.vsh #--------------------------------------------------------------------------------- @echo $(notdir $<) - @python $(AEMSTRO)/aemstro_as.py $< ../$(notdir $<).shbin + @python3 $(AEMSTROPATH)/aemstro_as.py $< ../$(notdir $<).shbin @bin2s ../$(notdir $<).shbin | $(PREFIX)as -o $@ @echo "extern const u8" `(echo $(notdir $<).shbin | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo $(notdir $<).shbin | tr . _)`.h @echo "extern const u8" `(echo $(notdir $<).shbin | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo $(notdir $<).shbin | tr . _)`.h