Skip to content
Snippets Groups Projects
Unverified Commit af627606 authored by Kaspar Schleiser's avatar Kaspar Schleiser Committed by GitHub
Browse files

Merge pull request #10836 from aabadie/pr/examples/bindist_cleanup

examples/bindist: cleanup and fix formatting in README
parents d3f8739a dc5aa2c1
No related branches found
No related tags found
No related merge requests found
...@@ -20,20 +20,20 @@ compiled and linked binary, bindist.a, abc.a and Makefiles. ...@@ -20,20 +20,20 @@ compiled and linked binary, bindist.a, abc.a and Makefiles.
In order to recompile RIOT, adjust "RIOTBASE" in Makefile to point to a RIOT In order to recompile RIOT, adjust "RIOTBASE" in Makefile to point to a RIOT
source checkout, then call "make check_bindist". source checkout, then call "make check_bindist".
RIOT will be build as usual, but just take the pre-compiled bindist.a and RIOT will be built as usual, but just take the pre-compiled bindist.a and
abc.a. Their source is not necessary. The resulting binary will then be abc.a. Their source is not necessary. The resulting binary will then be
compared with te precompiled "bindist.elf" (using md5sum) and the result gets compared with the precompiled "bindist.elf" (using md5sum) and the result gets
printed. If the same RIOT source tree and build environment (compiler version, printed. If the same RIOT source tree and build environment (compiler version,
etc.) was used, the binaries should match. etc.) was used, the binaries should match.
Step-by-step: Step-by-step:
1. # cd <riot-checkout>/examples/bindist $ cd <riot-checkout>/examples/bindist
2. # make all $ make all
3. # make bindist $ make bindist
4. # cd bindist $ cd bindist
5. <adjust RIOTBASE variable (../.. -> ../../..) <adjust RIOTBASE variable (../.. -> ../../..)
6. # make check_bindist $ make check_bindist
## Needed Makefile changes ## Needed Makefile changes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment