[PATCH v2] Makefile: add rebuild
Xiang W
wxjstz at 126.com
Wed Jan 17 02:57:44 PST 2024
Rebuild is useful when need a complete recompile.
Signed-off-by: Xiang W <wxjstz at 126.com>
---
v2 changes
- Add Sob remove wrong Reviewed-by
Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Makefile b/Makefile
index de4e73a..17d0a22 100644
--- a/Makefile
+++ b/Makefile
@@ -688,5 +688,9 @@ endif
$(if $(V), @echo " RM $(src_dir)/cscope*")
$(CMD_PREFIX)rm -f $(src_dir)/cscope*
+# Rule for "make rebuild"
+.PHONY: rebuild
+rebuild: clean all
+
.PHONY: FORCE
FORCE:
--
2.43.0
More information about the opensbi
mailing list