summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-10-22 22:18:27 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-10-22 22:18:27 +0000
commit8567ccf6d0c3629635e41893fef5ef1660efbd81 (patch)
treeec9f849147d3d8efd59de35ced346fd84b5916ba /Makefile.rules
parent6b9ae58c52effb37877c0325ec0f6c26f4e20a1f (diff)
downloadllvm-8567ccf6d0c3629635e41893fef5ef1660efbd81.tar.gz
llvm-8567ccf6d0c3629635e41893fef5ef1660efbd81.tar.bz2
llvm-8567ccf6d0c3629635e41893fef5ef1660efbd81.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17170 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 8c24bbba9b..01a99418c3 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -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)