From f3cdfac3e337d6b379ecfe75cab8bca331fb502f Mon Sep 17 00:00:00 2001 From: Dan Weaver <31134699+dANW34V3R@users.noreply.github.com> Date: Wed, 7 Jun 2023 16:23:09 +0100 Subject: [PATCH 1/2] Update README with clean instructions Addresses issue #1196 Signed-off-by: Dan Weaver <31134699+dANW34V3R@users.noreply.github.com> --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index f6e93b8d49b..98fda1ffcb9 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,22 @@ upstream sources exists in $(DISTDIR), it will be used; the default location is /var/cache/distfiles. Your computer will need about 8 GiB of disk space to complete the process. +### Clean Installation + +It is recommended to do clean builds to avoid problems with outdated stamp +files. This can be done with the following commands where `$RISCV` is the +install path used by the previous build: + + rm -r $RISCV + git clean -fXd + +`configure` can then be rerun. + +Partial rebuilds can be done by deleting the respective files in `stamps/` and +rerunning `make` but is not recommended if the sources have changed due to +possible interdependencies of the steps. + + ### Installation (Newlib) To build the Newlib cross-compiler, pick an install path (that is writeable). From 0042f99f99a9d9420b98ab854e7aad1fd47d49cd Mon Sep 17 00:00:00 2001 From: Dan Weaver <31134699+dANW34V3R@users.noreply.github.com> Date: Wed, 7 Jun 2023 16:31:28 +0100 Subject: [PATCH 2/2] Remove newline Signed-off-by: Dan Weaver <31134699+dANW34V3R@users.noreply.github.com> --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 98fda1ffcb9..38b33b5e822 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,6 @@ Partial rebuilds can be done by deleting the respective files in `stamps/` and rerunning `make` but is not recommended if the sources have changed due to possible interdependencies of the steps. - ### Installation (Newlib) To build the Newlib cross-compiler, pick an install path (that is writeable).