Mark more sdk targets as PHONY

These are used in various dist-for-goal targets even if we're not
currently building the sdks, so they always need to be marked with
.PHONY.

Test: m dist
Change-Id: I1e11ae37c6d0fd6ef8a3e293cf7409773c1bf3ab
This commit is contained in:
Dan Willemsen 2018-09-10 15:14:09 -07:00
parent be2ae162f7
commit 921f581bef
2 changed files with 2 additions and 2 deletions

View file

@ -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, \

View file

@ -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),)