mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 05:53:49 +01:00
Merge pull request #10286 from cladmi/pr/make/bug/default_riotbase
Makefile.include: Fix default RIOTBASE when there is Makefile.local
This commit is contained in:
commit
e6e56de3f6
@ -1,3 +1,6 @@
|
||||
# 'Makefile.include' directory, must be evaluated before other 'include'
|
||||
_riotbase := $(dir $(lastword $(MAKEFILE_LIST)))
|
||||
|
||||
# Globally set default goal to `all`
|
||||
.DEFAULT_GOAL := all
|
||||
|
||||
@ -5,7 +8,7 @@
|
||||
-include Makefile.local
|
||||
|
||||
# set undefined variables
|
||||
RIOTBASE ?= $(dir $(lastword $(MAKEFILE_LIST)))
|
||||
RIOTBASE ?= $(_riotbase)
|
||||
CCACHE_BASEDIR ?= $(RIOTBASE)
|
||||
RIOTCPU ?= $(RIOTBASE)/cpu
|
||||
RIOTBOARD ?= $(RIOTBASE)/boards
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user