OSDN Git Service

Add missing TBLGEN_TD_DIR
authorLogan Chien <loganchien@google.com>
Tue, 25 Oct 2011 13:01:52 +0000 (21:01 +0800)
committerShih-wei Liao <sliao@google.com>
Wed, 9 Nov 2011 17:50:10 +0000 (09:50 -0800)
This commit fixes a potential build breakage.  Without
this commit, the LLVM might break the build due to
TBLGEN_TD_DIR is not set properly, and tblgen can no longer
find the *.td inputs.

Change-Id: Ia995ef0582f44e091c42734ae748224e19e79999

lib/Target/X86/MCTargetDesc/Android.mk

index f50d081..b7ab1de 100644 (file)
@@ -23,6 +23,7 @@ LOCAL_MODULE_TAGS := optional
 LOCAL_SRC_FILES := $(x86_mc_desc_SRC_FILES)
 LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
 TBLGEN_TABLES := $(x86_mc_desc_TBLGEN_TABLES)
+TBLGEN_TD_DIR := $(LOCAL_PATH)/..
 
 include $(LLVM_HOST_BUILD_MK)
 include $(LLVM_TBLGEN_RULES_MK)
@@ -42,6 +43,7 @@ LOCAL_MODULE_TAGS := optional
 LOCAL_SRC_FILES := $(x86_mc_desc_SRC_FILES)
 LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
 TBLGEN_TABLES := $(x86_mc_desc_TBLGEN_TABLES)
+TBLGEN_TD_DIR := $(LOCAL_PATH)/..
 
 include $(LLVM_DEVICE_BUILD_MK)
 include $(LLVM_TBLGEN_RULES_MK)