From 22cf77093b7ba5c57c31abad953c88c2799530d0 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Tue, 16 Apr 2024 16:32:35 +0700 Subject: [PATCH 1/2] Add instructions to test relibc against a recipe --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0a98315000..e0a45ff96d 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,15 @@ Inside of your Redox build system, run: make prefix ``` -(It only works if the timestamp of the `relibc` folder changed) +If you need to rebuild `relibc` for testing a cookbook recipe, run: + +```sh +touch relibc && make prefix r.recipe-name +``` + +Touching `relibc` is needed to trigger recompilation for `make prefix`. Replace `recipe-name` with your desired recipe name. + +Note: Do not edit `relibc` inside `prefix` folder! Do your work on `relibc` folder directly inside your Redox build system instead. ### Issues From c2c7965bdd951d26bf5e0b1697817e4574a4c115 Mon Sep 17 00:00:00 2001 From: Wildan Mubarok Date: Tue, 16 Apr 2024 15:20:23 +0000 Subject: [PATCH 2/2] Apply README suggestions --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e0a45ff96d..95c934f0ee 100644 --- a/README.md +++ b/README.md @@ -30,13 +30,14 @@ Inside of your Redox build system, run: make prefix ``` -If you need to rebuild `relibc` for testing a cookbook recipe, run: +If you need to rebuild `relibc` for testing a Cookbook recipe, run: ```sh -touch relibc && make prefix r.recipe-name +touch relibc +make prefix r.recipe-name ``` -Touching `relibc` is needed to trigger recompilation for `make prefix`. Replace `recipe-name` with your desired recipe name. +Touching (changing the "last modified time" of) the `relibc` folder is needed to trigger recompilation for `make prefix`. Replace `recipe-name` with your desired recipe name. Note: Do not edit `relibc` inside `prefix` folder! Do your work on `relibc` folder directly inside your Redox build system instead.