Skip to content

Commit 6ca577e

Browse files
meme8383keith-packard
authored andcommitted
Update build.md
1 parent 2074d8b commit 6ca577e

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

doc/build.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -366,14 +366,16 @@ the library code size. Here's the
366366
[do-riscv-configure](../scripts/do-riscv-configure) script from the repository
367367
that configures the library for small RISC-V systems:
368368

369-
#!/bin/sh
370-
ARCH=riscv64-unknown-elf
371-
DIR=`dirname $0`
372-
meson "$DIR" \
373-
-Dincludedir=picolibc/$ARCH/include \
374-
-Dlibdir=picolibc/$ARCH/lib \
375-
--cross-file "$DIR"/cross-$ARCH.txt \
376-
"$@"
369+
```sh
370+
#!/bin/sh
371+
ARCH=riscv64-unknown-elf
372+
DIR=`dirname $0`
373+
meson "$DIR" \
374+
-Dincludedir=picolibc/$ARCH/include \
375+
-Dlibdir=picolibc/$ARCH/lib \
376+
--cross-file "$DIR"/cross-$ARCH.txt \
377+
"$@"
378+
```
377379

378380
This script is designed to be run from a build directory, so you'd do:
379381

0 commit comments

Comments
 (0)