Skip to content

Commit 4f24dce

Browse files
committed
Merge pull request #84 from liuyq/hikey
gator: Enable multiple source copies to exist in Android build enviro…
2 parents b7d46f5 + b4bd259 commit 4f24dce

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tools/gator/daemon/Android.mk

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
LOCAL_PATH := $(call my-dir)
2+
3+
# Don't use this file if GATOR_DAEMON_PATH is set and we're not under that path
4+
ifneq ($(and $(GATOR_DAEMON_PATH),$(filter $(patsubst %/,%,$(GATOR_DAEMON_PATH))/%,$(LOCAL_PATH)/)),)
5+
26
include $(CLEAR_VARS)
37

48
XML_H := $(shell cd $(LOCAL_PATH) && make events_xml.h defaults_xml.h)
@@ -74,3 +78,5 @@ LOCAL_MODULE := gatord
7478
LOCAL_MODULE_TAGS := optional
7579

7680
include $(BUILD_EXECUTABLE)
81+
82+
endif

0 commit comments

Comments
 (0)