Don't rebuild the NOTICE files when building with mm, mmm, etc.

This commit is contained in:
Joe Onorato 2009-04-30 13:52:50 -07:00
parent 8849aedde0
commit 7b2845ab1a
1 changed files with 4 additions and 0 deletions

View File

@ -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_notice_file_html_gz) | $(ACP)
$(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)
endif
# 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