Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
a83d53f2
Unverified
Commit
a83d53f2
authored
7 years ago
by
Sebastian Meiling
Committed by
Gaëtan Harter
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
make: add and export RIOTTOOLS directory
Replacing usage will come in further commits/PRs.
parent
f9c75d0d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile.include
+3
-0
3 additions, 0 deletions
Makefile.include
makefiles/vars.inc.mk
+1
-0
1 addition, 0 deletions
makefiles/vars.inc.mk
with
4 additions
and
0 deletions
Makefile.include
+
3
−
0
View file @
a83d53f2
...
...
@@ -11,6 +11,7 @@ RIOTCPU ?= $(RIOTBASE)/cpu
RIOTBOARD
?=
$(
RIOTBASE
)
/boards
RIOTMAKE
?=
$(
RIOTBASE
)
/makefiles
RIOTPKG
?=
$(
RIOTBASE
)
/pkg
RIOTTOOLS
?=
$(
RIOTBASE
)
/dist/tools
RIOTPROJECT
?=
$(
shell git rev-parse
--show-toplevel
2>/dev/null
||
pwd
)
GITCACHE
?=
$(
RIOTBASE
)
/dist/tools/git/git-cache
APPDIR
?=
$(
CURDIR
)
...
...
@@ -26,6 +27,7 @@ __DIRECTORY_VARIABLES := \
RIOTBOARD
\
RIOTMAKE
\
RIOTPKG
\
RIOTTOOLS
\
RIOTPROJECT
\
APPDIR
\
BINDIRBASE
\
...
...
@@ -43,6 +45,7 @@ override RIOTCPU := $(abspath $(RIOTCPU))
override
RIOTBOARD
:=
$(
abspath
$(
RIOTBOARD
))
override
RIOTMAKE
:=
$(
abspath
$(
RIOTMAKE
))
override
RIOTPKG
:=
$(
abspath
$(
RIOTPKG
))
override
RIOTTOOLS
:=
$(
abspath
$(
RIOTTOOLS
))
override
RIOTPROJECT
:=
$(
abspath
$(
RIOTPROJECT
))
override
GITCACHE
:=
$(
abspath
$(
GITCACHE
))
override
APPDIR
:=
$(
abspath
$(
APPDIR
))
...
...
This diff is collapsed.
Click to expand it.
makefiles/vars.inc.mk
+
1
−
0
View file @
a83d53f2
...
...
@@ -22,6 +22,7 @@ export RIOTBASE # The root folder of RIOT. The folder where this ve
export
RIOTCPU
# For third party CPUs this folder is the base of the CPUs.
export
RIOTBOARD
# For third party BOARDs this folder is the base of the BOARDs.
export
RIOTPKG
# For overriding RIOT's pkg directory
export
RIOTTOOLS
# Location of host machine tools
export
RIOTPROJECT
# Top level git root of the project being built, or PWD if not a git repository
export
RIOTMAKE
# Location of all supplemental Makefiles (such as this file)
export
BINDIRBASE
# This is the folder where the application should be built in. For each BOARD a different subfolder is used.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment