From c7cbde320c0617a71935d915b4154b9ca3705ed6 Mon Sep 17 00:00:00 2001 From: Dmitriy Ivanov Date: Wed, 3 Dec 2014 09:50:10 -0800 Subject: [PATCH] Fix warning: overriding commands for target Change-Id: I00fb4d6a8ff388722b75de9a0f4316619aaf9320 --- build/run-on-host.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/run-on-host.mk b/build/run-on-host.mk index f016361d6..dc7e5d52f 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