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
ae5e883b
Commit
ae5e883b
authored
7 years ago
by
cladmi
Committed by
Gaëtan Harter
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Makefile.include: add targets to get .elf/.bin/.hex
parent
70c5079b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile.include
+6
-1
6 additions, 1 deletion
Makefile.include
with
6 additions
and
1 deletion
Makefile.include
+
6
−
1
View file @
ae5e883b
...
@@ -308,7 +308,7 @@ BASELIBS += $(BINDIR)/$(APPLICATION_MODULE).a
...
@@ -308,7 +308,7 @@ BASELIBS += $(BINDIR)/$(APPLICATION_MODULE).a
BASELIBS
+=
$(
APPDEPS
)
BASELIBS
+=
$(
APPDEPS
)
.PHONY
:
all link clean flash flash-only term doc debug debug-server reset objdump help info-modules
.PHONY
:
all link clean flash flash-only term doc debug debug-server reset objdump help info-modules
.PHONY
:
print-size
.PHONY
:
print-size
elffile binfile hexfile
.PHONY
:
..in-docker-container
.PHONY
:
..in-docker-container
# Target can depend on FORCE to always rebuild but still let make use file
# Target can depend on FORCE to always rebuild but still let make use file
# modification timestamp (contrary to .PHONY).
# modification timestamp (contrary to .PHONY).
...
@@ -319,6 +319,11 @@ ELFFILE ?= $(BINDIR)/$(APPLICATION).elf
...
@@ -319,6 +319,11 @@ ELFFILE ?= $(BINDIR)/$(APPLICATION).elf
HEXFILE
?=
$(
ELFFILE:.elf
=
.hex
)
HEXFILE
?=
$(
ELFFILE:.elf
=
.hex
)
BINFILE
?=
$(
ELFFILE:.elf
=
.bin
)
BINFILE
?=
$(
ELFFILE:.elf
=
.bin
)
# Targets to get given file
elffile
:
$(ELFFILE)
hexfile
:
$(HEXFILE)
binfile
:
$(BINFILE)
# variables used to compile and link c++
# variables used to compile and link c++
CPPMIX
?=
$(
if
$(
wildcard
*
.cpp
)
,1,
)
CPPMIX
?=
$(
if
$(
wildcard
*
.cpp
)
,1,
)
...
...
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