OSDN Git Service

Don't rebuild the NOTICE files when building with mm, mmm, etc.
authorJoe Onorato <joeo@android.com>
Thu, 30 Apr 2009 20:52:50 +0000 (13:52 -0700)
committerJoe Onorato <joeo@android.com>
Thu, 30 Apr 2009 20:52:50 +0000 (13:52 -0700)
core/Makefile

index d4f9e18..9532ef2 100644 (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