We rename the files in the very line prior... Signed-off-by: Adam Borowski <kilobyte@xxxxxxxxxx> --- drivers/scsi/aic7xxx/aicasm/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/scsi/aic7xxx/aicasm/Makefile b/drivers/scsi/aic7xxx/aicasm/Makefile index 635a2d52dc37..8f354c9b0c9d 100644 --- a/drivers/scsi/aic7xxx/aicasm/Makefile +++ b/drivers/scsi/aic7xxx/aicasm/Makefile @@ -69,6 +69,7 @@ $(OUTDIR)/aicasm_gram.c $(OUTDIR)/aicasm_gram.h: aicasm_gram.y $(YACC) $(YFLAGS) -b $(<:.y=) $< mv $(<:.y=).tab.c $(OUTDIR)/$(<:.y=.c) mv $(<:.y=).tab.h $(OUTDIR)/$(<:.y=.h) + sed -i 's/\.tab\././' $(OUTDIR)/$(<:.y=.c) # Create a dependency chain in generated files # to avoid concurrent invocations of the single @@ -78,6 +79,7 @@ $(OUTDIR)/aicasm_macro_gram.c $(OUTDIR)/aicasm_macro_gram.h: aicasm_macro_gram.y $(YACC) $(YFLAGS) -b $(<:.y=) -p mm $< mv $(<:.y=).tab.c $(OUTDIR)/$(<:.y=.c) mv $(<:.y=).tab.h $(OUTDIR)/$(<:.y=.h) + sed -i 's/\.tab\././' $(OUTDIR)/$(<:.y=.c) $(OUTDIR)/aicasm_scan.c: aicasm_scan.l $(LEX) $(LFLAGS) -o $@ $< -- 2.33.0