Pull in Target.td using absolute path from source root instead of relative path;
authorMisha Brukman <brukman+llvm@gmail.com>
Fri, 22 Oct 2004 22:18:27 +0000 (22:18 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Fri, 22 Oct 2004 22:18:27 +0000 (22:18 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17170 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index 8c24bbba9b3afd79e34a40459f9ea948513cfb1e..01a99418c32674f11f77245d120c7b7b5ba2787b 100644 (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)