diff --git a/Makefile.rules b/Makefile.rules index dbd23ecaec2..148188edbd2 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -938,43 +938,43 @@ INCFiles := $(filter %.inc,$(BUILT_SOURCES)) $(INCFiles) : $(TBLGEN) $(TDFiles) -%GenRegisterNames.inc : %.td +$(TARGET)GenRegisterNames.inc : $(TARGET).td $(Echo) "Building $(