1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

examples/bindist: cleanup and fix formatting in README

This commit is contained in:
Alexandre Abadie 2019-01-22 07:33:15 +01:00
parent e22e582049
commit dc5aa2c1d4
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -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
source checkout, then call "make check_bindist".
RIOT will be build as usual, but just take the pre-compiled bindist.a and
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
printed. If the same RIOT source tree and build environment (compiler version,
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
compared with the precompiled "bindist.elf" (using md5sum) and the result gets
printed. If the same RIOT source tree and build environment (compiler version,
etc.) was used, the binaries should match.
Step-by-step:
1. # cd <riot-checkout>/examples/bindist
2. # make all
3. # make bindist
4. # cd bindist
5. <adjust RIOTBASE variable (../.. -> ../../..)
6. # make check_bindist
$ cd <riot-checkout>/examples/bindist
$ make all
$ make bindist
$ cd bindist
<adjust RIOTBASE variable (../.. -> ../../..)
$ make check_bindist
## Needed Makefile changes