From 60d8c3ad2203a854189c872ab6fa846db51f462f Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Wed, 8 Nov 2017 16:05:10 -0800 Subject: [PATCH] Replace OUT with OUT_DIR OUT is only defined if some functions in envsetup.sh are run, which is not the case on the build servers. I'm looking at removing the environment variable in local builds to keep things consistent. In this case, OUT_DIR was actually expected, not OUT, which is equivalent to PRODUCT_OUT. Test: none Change-Id: I1e5e9f40727104716212d696927d1a32d7a74fab Merged-In: I1e5e9f40727104716212d696927d1a32d7a74fab --- CleanSpec.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CleanSpec.mk b/CleanSpec.mk index dd4cee0269..3788bc6baa 100644 --- a/CleanSpec.mk +++ b/CleanSpec.mk @@ -52,7 +52,7 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/bin/hw/android.hardware.blue $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/hw/android.hardware.bluetooth*) $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib64/hw/android.hardware.bluetooth*) $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/init/android.hardware.bluetooth*) -$(call add-clean-step, rm -rf $(OUT)/soong/.intermediates/) +$(call add-clean-step, rm -rf $(OUT_DIR)/soong/.intermediates/) $(call add-clean-step, rm -rf $(OUT_DIR)/soong/.intermediates/hardware/interfaces/) $(call add-clean-step, rm -rf $(OUT_DIR)/soong/.intermediates/hardware/interfaces/) $(call add-clean-step, find $(PRODUCT_OUT)/system $(PRODUCT_OUT)/vendor -type f -name "android\.hardware\.configstore*" -print0 | xargs -0 rm -f)