mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 20:20:14 +01:00
- Let the build environment decide about the toolchain to be used, in case
there are special tweaks and paths to be considered. Just provide some defaults, in case the values are undefined. - py-version.sh does not need any bash specific features. - Use libdl only on Linux for now. FreeBSD provides dl*() calls from libc.
This commit is contained in:
14
py/mkenv.mk
14
py/mkenv.mk
@@ -42,14 +42,14 @@ ECHO = @echo
|
||||
CP = cp
|
||||
MKDIR = mkdir
|
||||
SED = sed
|
||||
PYTHON = python
|
||||
PYTHON ?= python
|
||||
|
||||
AS = $(CROSS_COMPILE)as
|
||||
CC = $(CROSS_COMPILE)gcc
|
||||
LD = $(CROSS_COMPILE)ld
|
||||
OBJCOPY = $(CROSS_COMPILE)objcopy
|
||||
SIZE = $(CROSS_COMPILE)size
|
||||
STRIP = $(CROSS_COMPILE)strip
|
||||
AS ?= $(CROSS_COMPILE)as
|
||||
CC ?= $(CROSS_COMPILE)gcc
|
||||
LD ?= $(CROSS_COMPILE)ld
|
||||
OBJCOPY ?= $(CROSS_COMPILE)objcopy
|
||||
SIZE ?= $(CROSS_COMPILE)size
|
||||
STRIP ?= $(CROSS_COMPILE)strip
|
||||
|
||||
all:
|
||||
.PHONY: all
|
||||
|
||||
Reference in New Issue
Block a user