Skip to content
Snippets Groups Projects
Commit 378b85bf authored by Martine Lenders's avatar Martine Lenders
Browse files

Always use absolute paths with configurable paths variables

parent d7949003
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.
Finish editing this message first!
Please register or to comment