[PATCH v2] Makefile: add rebuild

Xiang W wxjstz at 126.com
Wed Jan 17 04:18:45 PST 2024


在 2024-01-17星期三的 12:36 +0100,Andreas Schwab写道:
> On Jan 17 2024, Xiang W wrote:
> 
> > 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
> 
> This will not work in a parallel build, since clean and all will be run
> in parallel.
> 
Thanks, let's drop this patch.

Regards,
Xiang W




More information about the opensbi mailing list