mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Always use absolute paths with configurable paths variables
This commit is contained in:
parent
d794900386
commit
378b85bfd0
@ -1,11 +1,12 @@
|
||||
# set undefined variables
|
||||
ifeq ($(strip $(RIOTCPU)),)
|
||||
export RIOTCPU =$(RIOTBASE)/cpu
|
||||
endif
|
||||
RIOTBASE ?= $(shell dirname "$(lastword $(MAKEFILE_LIST))")
|
||||
export RIOTBASE := $(abspath $(RIOTBASE))
|
||||
|
||||
ifeq ($(strip $(RIOTBOARD)),)
|
||||
export RIOTBOARD =$(RIOTBASE)/boards
|
||||
endif
|
||||
RIOTCPU ?= $(RIOTBASE)/cpu
|
||||
export RIOTCPU := $(abspath $(RIOTCPU))
|
||||
|
||||
RIOTBOARD ?= $(RIOTBASE)/boards
|
||||
export RIOTBOARD := $(abspath $(RIOTBOARD))
|
||||
|
||||
ifeq ($(strip $(MCU)),)
|
||||
MCU = $(CPU)
|
||||
|
Loading…
Reference in New Issue
Block a user