diff --git a/core/main.mk b/core/main.mk index fd62a9865..1b0012448 100644 --- a/core/main.mk +++ b/core/main.mk @@ -1391,7 +1391,7 @@ endif # TARGET_BUILD_APPS .PHONY: docs docs: $(ALL_DOCS) -.PHONY: sdk +.PHONY: sdk win_sdk winsdk-tools ALL_SDK_TARGETS := $(INTERNAL_SDK_TARGET) sdk: $(ALL_SDK_TARGETS) $(call dist-for-goals,sdk win_sdk, \ diff --git a/core/tasks/sdk-addon.mk b/core/tasks/sdk-addon.mk index 2a20f070e..29abf4895 100644 --- a/core/tasks/sdk-addon.mk +++ b/core/tasks/sdk-addon.mk @@ -12,6 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. +.PHONY: sdk_addon # If they didn't define PRODUCT_SDK_ADDON_NAME, then we won't define # any of these rules. @@ -121,7 +122,6 @@ $(full_target_img): $(full_target) $(addon_img_source_prop) | $(ACP) $(SOONG_ZIP $(hide) $(SOONG_ZIP) -o $@ -C $(dir $(PRIVATE_STAGING_DIR)) -D $(PRIVATE_STAGING_DIR) -.PHONY: sdk_addon sdk_addon: $(full_target) $(full_target_img) ifneq ($(sdk_repo_goal),)