diff options
author | Marcus von Appen <marcus@sysfault.org> | 2014-06-07 09:16:42 +0200 |
---|---|---|
committer | Marcus von Appen <marcus@sysfault.org> | 2014-06-07 09:16:42 +0200 |
commit | 8ffc02495fefcd3eaf71d15276136e9a90aee912 (patch) | |
tree | a91ef3e7e4dc55eb7e8cfc2ea1564420fba4c383 /py/mkenv.mk | |
parent | c61be8e1e10a8c7bac3161cae531d26a9d754825 (diff) |
- 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.
Diffstat (limited to 'py/mkenv.mk')
-rw-r--r-- | py/mkenv.mk | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/py/mkenv.mk b/py/mkenv.mk index 4bc71edd7..b8dde807e 100644 --- a/py/mkenv.mk +++ b/py/mkenv.mk @@ -42,14 +42,14 @@ ECHO = @echo CP = cp MKDIR = mkdir SED = sed -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 +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 all: .PHONY: all |