1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

make: added APPDIR as environment variable

This commit is contained in:
haukepetersen 2015-04-29 20:50:18 +02:00 committed by Hauke Petersen
parent 867beae836
commit 56cce19578
2 changed files with 5 additions and 1 deletions

View File

@ -16,7 +16,10 @@ RIOTPROJECT := $(abspath $(RIOTPROJECT))
# Path to the current directory relative to the git root
BUILDRELPATH ?= $(shell git rev-parse --show-prefix)
BINDIRBASE ?= $(CURDIR)/bin
APPDIR ?= $(CURDIR)
APPDIR := $(abspath $(APPDIR))/
BINDIRBASE ?= $(APPDIR)/bin
BINDIRBASE := $(abspath $(BINDIRBASE))
BINDIR ?= $(BINDIRBASE)/$(BOARD)

View File

@ -19,6 +19,7 @@ export RIOTBOARD # For third party BOARDs this folder is the base of
export RIOTPROJECT # Top level git root of the project being built, or PWD if not a git repository
export BINDIRBASE # This is the folder where the application should be built in. For each BOARD a different subfolder is used.
export BINDIR # This is the folder where the application should be built in.
export APPDIR # The base folder containing the application
export PREFIX # The prefix of the toolchain commands, e.g. "arm-non-eabi-" or "msp430-".
export CC # The C compiler to use.