summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorDmitriy Ivanov <dimitry@google.com>2014-12-03 09:50:10 -0800
committerDmitriy Ivanov <dimitry@google.com>2014-12-03 09:51:37 -0800
commitc7cbde320c0617a71935d915b4154b9ca3705ed6 (patch)
treec5653d14e1f8c7b6b04118df7a088fc364a9916f /build
parent91a61f77e203bf519c28f9331b9c8db731869499 (diff)
downloadbionic-c7cbde320c0617a71935d915b4154b9ca3705ed6.zip
bionic-c7cbde320c0617a71935d915b4154b9ca3705ed6.tar.gz
bionic-c7cbde320c0617a71935d915b4154b9ca3705ed6.tar.bz2
Fix warning: overriding commands for target
Change-Id: I00fb4d6a8ff388722b75de9a0f4316619aaf9320
Diffstat (limited to 'build')
-rw-r--r--build/run-on-host.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/run-on-host.mk b/build/run-on-host.mk
index f016361..dc7e5d5 100644
--- a/build/run-on-host.mk
+++ b/build/run-on-host.mk
@@ -14,6 +14,10 @@
# limitations under the License.
#
+# Include once
+ifneq ($(bionic_run_on_host_mk_included),true)
+bionic_run_on_host_mk_included:=true
+
ifneq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),arm mips x86))
LINKER = linker64
else
@@ -37,3 +41,4 @@ bionic-prepare-run-on-host: $(TARGET_OUT_EXECUTABLES)/$(LINKER) $(TARGET_OUT)/et
ln -fs `realpath $(TARGET_OUT)/lib64` /system/; \
fi
endif
+endif