aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2014-10-31 15:57:45 -0700
committerDan Albert <danalbert@google.com>2014-11-03 09:31:11 -0800
commit09aa871978270e22a8e77171747ff9ef71e53262 (patch)
tree96ccad83f73c2f699aec5f8e89230542c3d87870 /lib
parenta7f357148de9be178f55725575c70ce9a888d81c (diff)
downloadexternal_llvm-09aa871978270e22a8e77171747ff9ef71e53262.zip
external_llvm-09aa871978270e22a8e77171747ff9ef71e53262.tar.gz
external_llvm-09aa871978270e22a8e77171747ff9ef71e53262.tar.bz2
Allow mm in these subdirectories.
These files weren't including llvm.mk themselves, causing LLVM_HOST_BUILD_MK to be undefined. For make, include $(undefined_var) fails without error, because make is quite possibly the worst tool ever made. Change-Id: Ic2ddd7ba844cf0da98e527b4f05511acb9db3b06
Diffstat (limited to 'lib')
-rw-r--r--lib/Support/Android.mk2
-rw-r--r--lib/TableGen/Android.mk3
2 files changed, 5 insertions, 0 deletions
diff --git a/lib/Support/Android.mk b/lib/Support/Android.mk
index 5dba8d8..7968697 100644
--- a/lib/Support/Android.mk
+++ b/lib/Support/Android.mk
@@ -1,4 +1,6 @@
LOCAL_PATH:= $(call my-dir)
+LLVM_ROOT_PATH := $(LOCAL_PATH)/../..
+include $(LLVM_ROOT_PATH)/llvm.mk
support_SRC_FILES := \
Allocator.cpp \
diff --git a/lib/TableGen/Android.mk b/lib/TableGen/Android.mk
index 0fd94bb..0484f90 100644
--- a/lib/TableGen/Android.mk
+++ b/lib/TableGen/Android.mk
@@ -1,4 +1,6 @@
LOCAL_PATH:= $(call my-dir)
+LLVM_ROOT_PATH := $(LOCAL_PATH)/../..
+include $(LLVM_ROOT_PATH)/llvm.mk
libtablegen_SRC_FILES := \
Error.cpp \
@@ -13,6 +15,7 @@ libtablegen_SRC_FILES := \
# For the host
# =====================================================
include $(CLEAR_VARS)
+LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
LOCAL_SRC_FILES := $(libtablegen_SRC_FILES)
LOCAL_MODULE:= libLLVMTableGen