path: root/drivers/gator/gator_events_mmapped.c
diff options
authorJon Medhurst <tixy@linaro.org>2015-05-11 14:34:54 +0100
committerJon Medhurst <tixy@linaro.org>2015-05-11 14:34:54 +0100
commit66de4b5dc66d8a3f0990ad99ab868db4ad267240 (patch)
treefb32ef8d494ee1952b99a65f876a9e28da004a1b /drivers/gator/gator_events_mmapped.c
parent0c2fc7bf0a5466f059675633b6b179a118757a13 (diff)
gator: Enable multiple source copies to exist in Android build environments
An Android build environment may contain multiple copies of the gator source code, e.g. if it's been copied into a kernel tree as well as having a standalone copy, or if there are two kernel trees with copies. As Android builds tend to include all Android.mk it finds, this can lead to build errors because there is more that one makefile trying to build the daemon. To allow this situation to be catered for we update Android.mk so that if the variable GATOR_DAEMON_PATH is defined, and the makefile doesn't live under that path, then the makefile contents are ignored. An Android build environment can then set GATOR_DAEMON_PATH to specify the copy it wants to use. Signed-off-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'drivers/gator/gator_events_mmapped.c')
0 files changed, 0 insertions, 0 deletions