Skip to content
Snippets Groups Projects
Commit 318f73da authored by Oleg Hahm's avatar Oleg Hahm
Browse files

Merge pull request #688 from authmillenon/absolute-paths

Makefiles: Always use absolute paths with configurable paths variables
parents c668189e 378b85bf
No related branches found
No related tags found
No related merge requests found
# set undefined variables # set undefined variables
ifeq ($(strip $(RIOTCPU)),) RIOTBASE ?= $(shell dirname "$(lastword $(MAKEFILE_LIST))")
export RIOTCPU =$(RIOTBASE)/cpu export RIOTBASE := $(abspath $(RIOTBASE))
endif
ifeq ($(strip $(RIOTBOARD)),) RIOTCPU ?= $(RIOTBASE)/cpu
export RIOTBOARD =$(RIOTBASE)/boards export RIOTCPU := $(abspath $(RIOTCPU))
endif
RIOTBOARD ?= $(RIOTBASE)/boards
export RIOTBOARD := $(abspath $(RIOTBOARD))
ifeq ($(strip $(MCU)),) ifeq ($(strip $(MCU)),)
MCU = $(CPU) MCU = $(CPU)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment