We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb643f1 commit 04934ffCopy full SHA for 04934ff
software/common.mak
@@ -2,6 +2,7 @@ include $(MSCDIR)/software/include/generated/cpu.mak
2
TARGET_PREFIX=$(TRIPLE)-
3
4
RM ?= rm -f
5
+PYTHON ?= python3
6
7
ifeq ($(CLANG),1)
8
CC_normal := clang -target $(TRIPLE) -integrated-as
@@ -20,7 +21,7 @@ AR_quiet = @echo " AR " $@ && $(AR_normal)
20
21
LD_quiet = @echo " LD " $@ && $(LD_normal)
22
OBJCOPY_quiet = @echo " OBJCOPY " $@ && $(OBJCOPY_normal)
23
-MSC_GIT_ID := $(shell cd $(MSCDIR) && python3 -c "from misoclib.cpu.identifier import get_id; print(hex(get_id()), end='')")
24
+MSC_GIT_ID := $(shell cd $(MSCDIR) && $(PYTHON) -c "from misoclib.cpu.identifier import get_id; print(hex(get_id()), end='')")
25
26
ifeq ($(V),1)
27
CC = $(CC_normal)
0 commit comments