diff --git a/CleanSpec.mk b/CleanSpec.mk index dd5c476897..957da92f63 100644 --- a/CleanSpec.mk +++ b/CleanSpec.mk @@ -769,6 +769,10 @@ $(call add-clean-step, rm -rf $(SOONG_HOST_OUT)) # More of SOONG_HOST_OUT_EXECUTABLES has been moved to HOST_OUT_EXECUTABLES $(call add-clean-step, rm -rf $(SOONG_HOST_OUT)) +# Last of SOONG_HOST_OUT_EXECUTABLES has been moved to HOST_OUT_EXECUTABLES +# Don't use SOONG_HOST_OUT, it is now an alias for HOST_OUT. +$(call add-clean-step, rm -rf $(OUT_DIR)/soong/host) + # ************************************************ # NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST # ************************************************ diff --git a/core/envsetup.mk b/core/envsetup.mk index bb1aa1edab..28250b41d2 100644 --- a/core/envsetup.mk +++ b/core/envsetup.mk @@ -343,7 +343,9 @@ HOST_OUT_ROOT := $(OUT_DIR)/host # We want to avoid two host bin directories in multilib build. HOST_OUT := $(HOST_OUT_ROOT)/$(HOST_OS)-$(HOST_PREBUILT_ARCH) -SOONG_HOST_OUT := $(SOONG_OUT_DIR)/host/$(HOST_OS)-$(HOST_PREBUILT_ARCH) + +# Soong now installs to the same directory as Make. +SOONG_HOST_OUT := $(HOST_OUT) HOST_CROSS_OUT := $(HOST_OUT_ROOT)/$(HOST_CROSS_OS)-$(HOST_CROSS_ARCH)