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:
parent
e22e582049
commit
dc5aa2c1d4
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user