summaryrefslogtreecommitdiff
authorNathan Chancellor <natechancellor@gmail.com>2019-02-27 16:46:48 (GMT)
committer Nathan Chancellor <natechancellor@gmail.com>2019-02-27 16:51:30 (GMT)
commit8d9fb6b4b190746b3d930f54436185efb7d00946 (patch)
treee572cae4d56f7193b70a66c79fb2249abdef60d2
parent9df256d5091aed2b2d375d7d657d0abe49ef7bda (diff)
downloadcommon-8d9fb6b4b190746b3d930f54436185efb7d00946.zip
common-8d9fb6b4b190746b3d930f54436185efb7d00946.tar.gz
common-8d9fb6b4b190746b3d930f54436185efb7d00946.tar.bz2
Makefile: Fix 4.9.161 merge
There is no variable called CROSS_TRIPLE, it should be CLANG_TRIPLE. Change-Id: Ibd6cff6afb2522402ea5bd288a267a5e0636da98 Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a3b296d..c8f357a 100644
--- a/Makefile
+++ b/Makefile
@@ -508,7 +508,7 @@ endif
ifeq ($(cc-name),clang)
ifneq ($(CROSS_COMPILE),)
CLANG_TRIPLE ?= $(CROSS_COMPILE)
-CLANG_FLAGS := --target=$(notdir $(CROSS_TRIPLE:%-=%))
+CLANG_FLAGS := --target=$(notdir $(CLANG_TRIPLE:%-=%))
ifeq ($(shell $(srctree)/scripts/clang-android.sh $(CC) $(CLANG_FLAGS)), y)
$(error "Clang with Android --target detected. Did you specify CLANG_TRIPLE?")
endif