Use += to append to target-specific PRIVATE_CLEAN_FILES
Instead of incorrectly including global variable PRIVATE_CLEAN_FILES Change-Id: I9b5e12448dad5001de051a566d8a94a89b20ecac
This commit is contained in:
parent
7a184cb70f
commit
eda6ac2487
2 changed files with 5 additions and 7 deletions
|
@ -434,8 +434,7 @@ endif
|
|||
###########################################################
|
||||
cleantarget := clean-$(LOCAL_MODULE)
|
||||
$(cleantarget) : PRIVATE_MODULE := $(LOCAL_MODULE)
|
||||
$(cleantarget) : PRIVATE_CLEAN_FILES := \
|
||||
$(PRIVATE_CLEAN_FILES) \
|
||||
$(cleantarget) : PRIVATE_CLEAN_FILES += \
|
||||
$(LOCAL_BUILT_MODULE) \
|
||||
$(LOCAL_INSTALLED_MODULE) \
|
||||
$(intermediates)
|
||||
|
|
|
@ -128,8 +128,7 @@ endif
|
|||
endif # LOCAL_STRIP_MODULE
|
||||
|
||||
|
||||
$(cleantarget): PRIVATE_CLEAN_FILES := \
|
||||
$(PRIVATE_CLEAN_FILES) \
|
||||
$(linked_module) \
|
||||
$(symbolic_output) \
|
||||
$(compress_output)
|
||||
$(cleantarget): PRIVATE_CLEAN_FILES += \
|
||||
$(linked_module) \
|
||||
$(symbolic_output) \
|
||||
$(compress_output)
|
||||
|
|
Loading…
Reference in a new issue