aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2015-09-24 12:30:19 -0700
committerJon Medhurst <tixy@linaro.org>2015-09-24 12:30:19 -0700
commit55121f8718726e77c4630dc172ab267076e6738c (patch)
treebb65021279c190848e1ca669ffd5a188db0f08a5
parent5d841367afb5252f8db7af1b4a765d0837f5921e (diff)
downloadgator-linaro.tar.gz
gator: Fix GATOR_DAEMON_PATH usagelinaro
The intention for GATOR_DAEMON_PATH is that if it's not defined then the daemon will still be built, unfortunately the condition check was wrong and that didn't happen; so fix it. Signed-off-by: Jon Medhurst <tixy@linaro.org>
-rw-r--r--daemon/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/Android.mk b/daemon/Android.mk
index 9934211..527b1db 100644
--- a/daemon/Android.mk
+++ b/daemon/Android.mk
@@ -1,7 +1,7 @@
LOCAL_PATH := $(call my-dir)
# Don't use this file if GATOR_DAEMON_PATH is set and we're not under that path
-ifneq ($(and $(GATOR_DAEMON_PATH),$(filter $(patsubst %/,%,$(GATOR_DAEMON_PATH))/%,$(LOCAL_PATH)/)),)
+ifneq ($(if $(GATOR_DAEMON_PATH),$(filter $(patsubst %/,%,$(GATOR_DAEMON_PATH))/%,$(LOCAL_PATH)/),else-ok),)
include $(CLEAR_VARS)