summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/Android.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/TableGen/Android.mk b/utils/TableGen/Android.mk
index a743950..48cc425 100644
--- a/utils/TableGen/Android.mk
+++ b/utils/TableGen/Android.mk
@@ -1,4 +1,6 @@
-LOCAL_PATH:= $(call my-dir)
+LOCAL_PATH := $(call my-dir)
+LLVM_ROOT_PATH := $(LOCAL_PATH)/../..
+include $(LLVM_ROOT_PATH)/llvm.mk
tablegen_SRC_FILES := \
AsmMatcherEmitter.cpp \
@@ -34,6 +36,7 @@ tablegen_SRC_FILES := \
X86RecognizableInstr.cpp
include $(CLEAR_VARS)
+LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
LOCAL_MODULE := llvm-tblgen
LOCAL_MODULE_TAGS := optional