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
61f13baf
Unverified
Commit
61f13baf
authored
6 years ago
by
Gaëtan Harter
Browse files
Options
Downloads
Patches
Plain Diff
Makefile.include: set pkg-prepare as BUILDDEPS
Use BUILDDEPS to define pkg-prepare dependency
parent
2f41244a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile.include
+3
-2
3 additions, 2 deletions
Makefile.include
with
3 additions
and
2 deletions
Makefile.include
+
3
−
2
View file @
61f13baf
...
@@ -366,6 +366,7 @@ DIRS += $(EXTERNAL_MODULE_DIRS)
...
@@ -366,6 +366,7 @@ DIRS += $(EXTERNAL_MODULE_DIRS)
# Define dependencies required for building (headers, downloading source files,)
# Define dependencies required for building (headers, downloading source files,)
BUILDDEPS
+=
$(
RIOTBUILD_CONFIG_HEADER_C
)
BUILDDEPS
+=
$(
RIOTBUILD_CONFIG_HEADER_C
)
BUILDDEPS
+=
pkg-prepare
BUILDDEPS
+=
$(
APPDEPS
)
BUILDDEPS
+=
$(
APPDEPS
)
# Save value to verify it is not modified later
# Save value to verify it is not modified later
...
@@ -429,14 +430,14 @@ endef
...
@@ -429,14 +430,14 @@ endef
# The `clean` needs to be serialized before everything else.
# The `clean` needs to be serialized before everything else.
ifneq
(, $(filter clean, $(MAKECMDGOALS)))
ifneq
(, $(filter clean, $(MAKECMDGOALS)))
all $(BASELIBS) $(USEPKG
:
%=$(RIOTPKG)/%/Makefile.include)
pkg-prepare
$(BUILDDEPS): clean
all $(BASELIBS) $(USEPKG
:
%=$(RIOTPKG)/%/Makefile.include) $(BUILDDEPS): clean
endif
endif
.PHONY
:
pkg-prepare $(USEPKG:%=$(BINDIR)/%.a)
.PHONY
:
pkg-prepare $(USEPKG:%=$(BINDIR)/%.a)
pkg-prepare
:
pkg-prepare
:
-
@for i
in
$(
USEPKG
)
;
do
"
$(
MAKE
)
"
-C
$(
RIOTPKG
)
/
$$
i prepare
;
done
-
@for i
in
$(
USEPKG
)
;
do
"
$(
MAKE
)
"
-C
$(
RIOTPKG
)
/
$$
i prepare
;
done
$(USEPKG
:
%=$(BINDIR)/%.a):
pkg-prepare
$(BUILDDEPS)
$(USEPKG
:
%=$(BINDIR)/%.a): $(BUILDDEPS)
@
mkdir
-p
$(
BINDIR
)
@
mkdir
-p
$(
BINDIR
)
$(
QQ
)
"
$(
MAKE
)
"
-C
$(
RIOTPKG
)
/
$(
patsubst
$(
BINDIR
)
/%.a,%,
$@
)
$(
QQ
)
"
$(
MAKE
)
"
-C
$(
RIOTPKG
)
/
$(
patsubst
$(
BINDIR
)
/%.a,%,
$@
)
...
...
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