default PYTHON to python3 on linux, and python on windows
This commit is contained in:
@@ -61,15 +61,16 @@ GDB = $(CROSS_COMPILE)gdb
|
|||||||
OBJCOPY = $(CROSS_COMPILE)objcopy
|
OBJCOPY = $(CROSS_COMPILE)objcopy
|
||||||
SIZE = $(CROSS_COMPILE)size
|
SIZE = $(CROSS_COMPILE)size
|
||||||
MKDIR = mkdir
|
MKDIR = mkdir
|
||||||
PYTHON = python
|
|
||||||
|
|
||||||
ifeq ($(CMDEXE),1)
|
ifeq ($(CMDEXE),1)
|
||||||
CP = copy
|
CP = copy
|
||||||
RM = del
|
RM = del
|
||||||
|
PYTHON = python
|
||||||
else
|
else
|
||||||
SED = sed
|
SED = sed
|
||||||
CP = cp
|
CP = cp
|
||||||
RM = rm
|
RM = rm
|
||||||
|
PYTHON = python3
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#-------------- Source files and compiler flags --------------
|
#-------------- Source files and compiler flags --------------
|
||||||
|
Reference in New Issue
Block a user