@@ -68,11 +68,11 @@ Git repo.
6868To download them, issue the following commands:
6969
7070``` sh
71- rm -rf ~ /Downloads /qemu-riscv-xpack.git; \
71+ rm -rf ${HOME} /Work /qemu-riscv-xpack.git; \
7272git clone \
7373 https://github.com/xpack-dev-tools/qemu-riscv-xpack.git \
74- ~ /Downloads /qemu-riscv-xpack.git; \
75- git -C ~ /Downloads /qemu-riscv-xpack.git submodule update --init --recursive
74+ ${HOME} /Work /qemu-riscv-xpack.git; \
75+ git -C ${HOME} /Work /qemu-riscv-xpack.git submodule update --init --recursive
7676```
7777
7878> Note: the repository uses submodules; for a successful build it is
@@ -82,12 +82,12 @@ For development purposes, clone the `xpack-develop`
8282branch:
8383
8484``` sh
85- rm -rf ~ /Downloads /qemu-riscv-xpack.git; \
85+ rm -rf ${HOME} /Work /qemu-riscv-xpack.git; \
8686git clone \
8787 --branch xpack-develop \
8888 https://github.com/xpack-dev-tools/qemu-riscv-xpack.git \
89- ~ /Downloads /qemu-riscv-xpack.git; \
90- git -C ~ /Downloads /qemu-riscv-xpack.git submodule update --init --recursive
89+ ${HOME} /Work /qemu-riscv-xpack.git; \
90+ git -C ${HOME} /Work /qemu-riscv-xpack.git submodule update --init --recursive
9191```
9292
9393## The ` Work ` folder
@@ -166,7 +166,7 @@ Before running a build for the first time, it is recommended to preload the
166166docker images.
167167
168168``` sh
169- bash ~ /Downloads /qemu-riscv-xpack.git/scripts/helper/build.sh preload-images
169+ bash ${HOME} /Work /qemu-riscv-xpack.git/scripts/helper/build.sh preload-images
170170```
171171
172172The result should look similar to:
@@ -201,14 +201,14 @@ network connection or a computer entering sleep.
201201screen -S qemu
202202
203203sudo rm -rf ~ /Work/qemu-riscv-*
204- bash ~ /Downloads /qemu-riscv-xpack.git/scripts/helper/build.sh --develop --all
204+ bash ${HOME} /Work /qemu-riscv-xpack.git/scripts/helper/build.sh --develop --all
205205```
206206
207207or, for development builds:
208208
209209``` sh
210210sudo rm -rf ~ /Work/qemu-riscv-*
211- bash ~ /Downloads /qemu-riscv-xpack.git/scripts/helper/build.sh --develop--without-pdf --without-html --disable-tests --linux64 --win64
211+ bash ${HOME} /Work /qemu-riscv-xpack.git/scripts/helper/build.sh --develop--without-pdf --without-html --disable-tests --linux64 --win64
212212```
213213
214214To detach from the session, use ` Ctrl-a ` ` Ctrl-d ` ; to reattach use
@@ -251,7 +251,7 @@ Before running a build for the first time, it is recommended to preload the
251251docker images.
252252
253253``` sh
254- bash ~ /Downloads /qemu-riscv-xpack.git/scripts/helper/build.sh preload-images
254+ bash ${HOME} /Work /qemu-riscv-xpack.git/scripts/helper/build.sh preload-images
255255```
256256
257257The result should look similar to:
@@ -271,14 +271,14 @@ network connection or a computer entering sleep.
271271screen -S qemu
272272
273273sudo rm -rf ~ /Work/qemu-riscv-*
274- bash ~ /Downloads /qemu-riscv-xpack.git/scripts/helper/build.sh --develop --all
274+ bash ${HOME} /Work /qemu-riscv-xpack.git/scripts/helper/build.sh --develop --all
275275```
276276
277277or, for development builds:
278278
279279``` sh
280280sudo rm -rf ~ /Work/qemu-riscv-*
281- bash ~ /Downloads /qemu-riscv-xpack.git/scripts/helper/build.sh --develop --without-pdf --without-html --disable-tests --arm32 --arm64
281+ bash ${HOME} /Work /qemu-riscv-xpack.git/scripts/helper/build.sh --develop --without-pdf --without-html --disable-tests --arm32 --arm64
282282```
283283
284284To detach from the session, use ` Ctrl-a ` ` Ctrl-d ` ; to reattach use
@@ -319,14 +319,14 @@ network connection or a computer entering sleep.
319319screen -S qemu
320320
321321rm -rf ~ /Work/qemu-riscv-*
322- caffeinate bash ~ /Downloads /qemu-riscv-xpack.git/scripts/helper/build.sh --develop --macos
322+ caffeinate bash ${HOME} /Work /qemu-riscv-xpack.git/scripts/helper/build.sh --develop --macos
323323```
324324
325325or, for development builds:
326326
327327``` sh
328328rm -rf ~ /Work/qemu-riscv-*
329- caffeinate bash ~ /Downloads /qemu-riscv-xpack.git/scripts/helper/build.sh --develop --without-pdf --without-html --disable-tests --macos
329+ caffeinate bash ${HOME} /Work /qemu-riscv-xpack.git/scripts/helper/build.sh --develop --without-pdf --without-html --disable-tests --macos
330330```
331331
332332To detach from the session, use ` Ctrl-a ` ` Ctrl-d ` ; to reattach use
@@ -364,19 +364,19 @@ On Arm, instead of `--all`, you can use any combination of:
364364To remove most build temporary files, use:
365365
366366``` sh
367- bash ~ /Downloads /qemu-riscv-xpack.git/scripts/helper/build.sh --all clean
367+ bash ${HOME} /Work /qemu-riscv-xpack.git/scripts/helper/build.sh --all clean
368368```
369369
370370To also remove the library build temporary files, use:
371371
372372``` sh
373- bash ~ /Downloads /qemu-riscv-xpack.git/scripts/helper/build.sh --all cleanlibs
373+ bash ${HOME} /Work /qemu-riscv-xpack.git/scripts/helper/build.sh --all cleanlibs
374374```
375375
376376To remove all temporary files, use:
377377
378378``` sh
379- bash ~ /Downloads /qemu-riscv-xpack.git/scripts/helper/build.sh --all cleanall
379+ bash ${HOME} /Work /qemu-riscv-xpack.git/scripts/helper/build.sh --all cleanall
380380```
381381
382382Instead of ` --all ` , any combination of ` --win64 --linux64 `
0 commit comments