We have to use := instead of +=
If we use +=, the right side may be deferred to evaluate, if that target-specific variable is not defined yet. That's a mistke. Change-Id: I1635ee4791473f407866e010d612948c02cdebf6
This commit is contained in:
parent
55c06f7595
commit
4d063410a3
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ endif
|
|||
###########################################################
|
||||
cleantarget := clean-$(LOCAL_MODULE)
|
||||
$(cleantarget) : PRIVATE_MODULE := $(LOCAL_MODULE)
|
||||
$(cleantarget) : PRIVATE_CLEAN_FILES += \
|
||||
$(cleantarget) : PRIVATE_CLEAN_FILES := \
|
||||
$(LOCAL_BUILT_MODULE) \
|
||||
$(LOCAL_INSTALLED_MODULE) \
|
||||
$(intermediates)
|
||||
|
|
Loading…
Reference in a new issue