On Sat, 2022-01-22 at 15:55 +0800, Chenghua Xu wrote: > +$(srcdir)/config/loongarch/loongarch.opt: \ > + $(srcdir)/config/loongarch/genopts/genstr.sh \ > + $(srcdir)/config/loongarch/genopts/loongarch.opt.in > + $(SHELL) $< opt > $@ > + > +$(LA_STR_H): \ > + $(srcdir)/config/loongarch/genopts/genstr.sh \ > + $(srcdir)/config/loongarch/genopts/loongarch-strings > + $(SHELL) $< header > $@
I'm not sure about these two rules: is it allowed to modify files in $(srcdir) running "make"? -- Xi Ruoyao <xry...@mengyan1223.wang> School of Aerospace Science and Technology, Xidian University