forked from openkylin/platform_build
Fix deps for notice generation.
With "foo bar : req", the build command will be run separately for foo and bar. Instead with "foo : bar" and "bar : req", the build command will be run only once to produce both targets. Also running the same build command concurrently may lead to build race condition. Change-Id: I8af2817546a7e2697a553c9320bd10f6bd4f20a2
This commit is contained in:
parent
135c3af45a
commit
c4625abc5d
|
@ -443,7 +443,8 @@ endif
|
|||
define combine-notice-files
|
||||
$(1) $(2): PRIVATE_MESSAGE := $(3)
|
||||
$(1) $(2): PRIVATE_DIR := $(4)
|
||||
$(1) $(2): $(5) $(BUILD_SYSTEM)/Makefile build/tools/generate-notice-files.py
|
||||
$(1) : $(2)
|
||||
$(2) : $(5) $(BUILD_SYSTEM)/Makefile build/tools/generate-notice-files.py
|
||||
build/tools/generate-notice-files.py $(1) $(2) $$(PRIVATE_MESSAGE) $$(PRIVATE_DIR)/src
|
||||
notice_files: $(1) $(2)
|
||||
endef
|
||||
|
|
Loading…
Reference in New Issue