Pull in Target.td using absolute path from source root instead of relative path;

this allows us to have sub-targets whose depth in the tree is not the same as it
is for the standard X86/PowerPC/Sparc.

llvm-svn: 17170
This commit is contained in:
Misha Brukman 2004-10-22 22:18:27 +00:00
parent e60a3fb063
commit 0de42869bf
1 changed files with 1 additions and 1 deletions

View File

@ -575,7 +575,7 @@ $(OBJDIR)/%.bc: %.ll $(OBJDIR)/.dir $(LLVMAS)
ifdef TARGET
TDFILES := $(strip $(wildcard $(BUILD_SRC_DIR)/*.td) $(BUILD_SRC_DIR)/../Target.td)
TDFILES := $(strip $(wildcard $(BUILD_SRC_DIR)/*.td) $(BUILD_SRC_ROOT)/lib/Target/Target.td)
$(BUILT_SOURCES): $(TDFILES)