mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-01 01:30:36 +00:00
Get the *.inc files to depend on tblgen so if tblgen gets fixed, all the
*.inc files get regenerated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17273 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2f48686307
commit
1654448063
@ -732,8 +732,9 @@ $(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
|
||||
@echo "Building $(<F) register names with tblgen"
|
||||
|
Loading…
x
Reference in New Issue
Block a user