Set GPU example's make file to explicitly use python3, and look for aemstro_as.py in folder defined by $AEMSTROPATH enviroment variable.
This commit is contained in:
parent
c60bdb3670
commit
d89520dca1
@ -161,7 +161,7 @@ $(OUTPUT).elf : $(OFILES)
|
|||||||
%.vsh.o : %.vsh
|
%.vsh.o : %.vsh
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
@echo $(notdir $<)
|
@echo $(notdir $<)
|
||||||
@python $(AEMSTRO)/aemstro_as.py $< ../$(notdir $<).shbin
|
@python3 $(AEMSTROPATH)/aemstro_as.py $< ../$(notdir $<).shbin
|
||||||
@bin2s ../$(notdir $<).shbin | $(PREFIX)as -o $@
|
@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 . _)`"_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
|
@echo "extern const u8" `(echo $(notdir $<).shbin | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo $(notdir $<).shbin | tr . _)`.h
|
||||||
|
Loading…
Reference in New Issue
Block a user