Merge "Don't call $(my_path_comp) if $(dir $(LOCAL_PATH)) is TOP"

This commit is contained in:
Yo Chiang
2020-08-12 03:55:57 +00:00
committed by Gerrit Code Review

View File

@@ -487,8 +487,10 @@ $(_local_path_target): $(my_register_name)
ifndef $(_local_path_target) ifndef $(_local_path_target)
$(_local_path_target) := true $(_local_path_target) := true
ifneq (,$(findstring /,$(_local_path)))
$(eval $(call my_path_comp,$(_local_path),$(_local_path_target))) $(eval $(call my_path_comp,$(_local_path),$(_local_path_target)))
endif endif
endif
_local_path := _local_path :=
_local_path_target := _local_path_target :=