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
27ae0944
Commit
27ae0944
authored
10 years ago
by
René Kijewski
Browse files
Options
Downloads
Patches
Plain Diff
make: remove clutter
Remove some outdated example code.
parent
e8bf4ef6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile.include
+2
-7
2 additions, 7 deletions
Makefile.include
with
2 additions
and
7 deletions
Makefile.include
+
2
−
7
View file @
27ae0944
...
...
@@ -60,7 +60,7 @@ endif
# Feature test default CFLAGS and LINKFLAGS for the set compiled.
include
$(RIOTBASE)/Makefile.cflags
#
your
binaries to link
#
the
binaries to link
BASELIBS
+=
$(
BINDIR
)$(
BOARD
)
_base.a
BASELIBS
+=
$(
BINDIR
)${
PROJECT
}
.a
BASELIBS
+=
$(
USEPKG:%
=
${
BINDIR
}
%.a
)
...
...
@@ -70,7 +70,7 @@ BASELIBS += $(USEPKG:%=${BINDIR}%.a)
export
ELFFILE
?=
$(
BINDIR
)$(
PROJECT
)
.elf
export
HEXFILE
?=
$(
ELFFILE:.elf
=
.hex
)
## make script for
your
application
. Build RIOT-base here!
## make script for
the
application
all
:
$(BINDIR)$(PROJECT).a
@
echo
"Building application
$(
PROJECT
)
for
$(
BOARD
)
w/ MCU
$(
MCU
)
."
"
$(
MAKE
)
"
-C
$(
RIOTBOARD
)
/
$(
BOARD
)
...
...
@@ -83,11 +83,6 @@ endif
$(
AD
)$(
SIZE
)
$(
ELFFILE
)
$(
AD
)$(
OBJCOPY
)
$(
OFLAGS
)
$(
ELFFILE
)
$(
HEXFILE
)
## your make rules
## Only basic example - modify it for larger applications!!
#$(BINDIR)/$(PROJECT).a: $(BINDIR)/$(PROJECT).o
# $(AR) -rc $(BINDIR)/project.a $(BINDIR)/$(PROJECT).o
# string array of all names of c files in dir
SRC
=
$(
wildcard
*
.c
)
...
...
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