mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 00:24:00 +00:00
Get the *.inc files to depend on tblgen so if tblgen gets fixed, all the
*.inc files get regenerated. llvm-svn: 17273
This commit is contained in:
parent
abfae1c72e
commit
2c07ee5a8e
@ -732,14 +732,15 @@ $(OBJDIR)/%.bc: %.ll $(OBJDIR)/.dir $(LLVMAS)
|
||||
ifdef TARGET
|
||||
|
||||
TDFILES := $(strip $(wildcard $(BUILD_SRC_DIR)/*.td) $(LLVM_SRC_ROOT)/lib/Target/Target.td)
|
||||
INCFILES := $(filter %.inc,$(BUILT_SOURCES))
|
||||
|
||||
$(BUILT_SOURCES): $(TDFILES)
|
||||
$(INCFILES) : $(TBLGEN) $(TDFILES)
|
||||
|
||||
%GenRegisterNames.inc : %.td
|
||||
%GenRegisterNames.inc : %.td
|
||||
@echo "Building $(<F) register names with tblgen"
|
||||
$(VERB) $(TableGen) -gen-register-enums -o $@ $<
|
||||
|
||||
%GenRegisterInfo.h.inc : %.td
|
||||
%GenRegisterInfo.h.inc : %.td
|
||||
@echo "Building $(<F) register information header with tblgen"
|
||||
$(VERB) $(TableGen) -gen-register-desc-header -o $@ $<
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user