summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2015-04-08 16:37:34 -0700
committerYing Wang <wangying@google.com>2015-04-08 16:37:34 -0700
commit62925a993a60a4d5754f012612eaa7b35d76672a (patch)
treea6a71af5e3fce6e209a10428c1d67a8b2515b8be
parentf5b9830bc94d1416001fda508c7ecf16db5db27c (diff)
downloadbuild-62925a993a60a4d5754f012612eaa7b35d76672a.zip
build-62925a993a60a4d5754f012612eaa7b35d76672a.tar.gz
build-62925a993a60a4d5754f012612eaa7b35d76672a.tar.bz2
Remove unnecessary confusing use of $(intermediate).
Change-Id: I0e73c3c1bf94540419e1fd227a3096da148e2459
-rw-r--r--core/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/Makefile b/core/Makefile
index 5b26958..81f80fd 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -1280,10 +1280,7 @@ OTATOOLS := $(DISTTOOLS) \
otatools: $(OTATOOLS)
BUILT_OTATOOLS_PACKAGE := $(PRODUCT_OUT)/otatools.zip
-$(BUILT_OTATOOLS_PACKAGE): \
- intermediate := $(call intermediates-dir-for,PACKAGING,otatools)
-$(BUILT_OTATOOLS_PACKAGE): \
- zip_root := $(intermediate)/otatools
+$(BUILT_OTATOOLS_PACKAGE): zip_root := $(call intermediates-dir-for,PACKAGING,otatools)/otatools
$(BUILT_OTATOOLS_PACKAGE): $(OTATOOLS) | $(ACP)
@echo "Package OTA tools: $@"