Don't rebuild the NOTICE files when building with mm, mmm, etc.
This commit is contained in:
@@ -436,7 +436,11 @@ $(target_notice_file_html_gz): $(target_notice_file_html)
|
|||||||
installed_notice_html_gz := $(TARGET_OUT)/etc/NOTICE.html.gz
|
installed_notice_html_gz := $(TARGET_OUT)/etc/NOTICE.html.gz
|
||||||
$(installed_notice_html_gz): $(target_notice_file_html_gz) | $(ACP)
|
$(installed_notice_html_gz): $(target_notice_file_html_gz) | $(ACP)
|
||||||
$(copy-file-to-target)
|
$(copy-file-to-target)
|
||||||
|
|
||||||
|
# if we've been run my mm, mmm, etc, don't reinstall this every time
|
||||||
|
ifeq ($(ONE_SHOT_MAKEFILE),)
|
||||||
ALL_DEFAULT_INSTALLED_MODULES += $(installed_notice_html_gz)
|
ALL_DEFAULT_INSTALLED_MODULES += $(installed_notice_html_gz)
|
||||||
|
endif
|
||||||
|
|
||||||
# The kernel isn't really a module, so to get its module file in there, we
|
# The kernel isn't really a module, so to get its module file in there, we
|
||||||
# make the target NOTICE files depend on this particular file too, which will
|
# make the target NOTICE files depend on this particular file too, which will
|
||||||
|
Reference in New Issue
Block a user