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:
parent
867beae836
commit
56cce19578
@ -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)
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user