Browse Source

make: added APPDIR as environment variable

dev/timer
haukepetersen 8 years ago committed by Hauke Petersen
parent
commit
56cce19578
  1. 5
      Makefile.include
  2. 1
      Makefile.vars

5
Makefile.include

@ -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)

1
Makefile.vars

@ -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…
Cancel
Save