summaryrefslogtreecommitdiffstats
path: root/core/Makefile
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2012-04-09 17:04:12 -0700
committerYing Wang <wangying@google.com>2012-04-10 10:02:02 -0700
commit4534d8135a7596b74c9f47b040088f15a0b57553 (patch)
tree0831902a82e3068e5c1efe4a809bfc141fa0dafb /core/Makefile
parent883a122808e3f3f67d0023df44295ca9dedb9fd2 (diff)
downloadbuild-4534d8135a7596b74c9f47b040088f15a0b57553.zip
build-4534d8135a7596b74c9f47b040088f15a0b57553.tar.gz
build-4534d8135a7596b74c9f47b040088f15a0b57553.tar.bz2
Merge the NOTICE files when doing pdk fusion build.
Bug: 6297249 Change-Id: I693ab15e5a2eacda3c8b9d2ce36469ea177ae178
Diffstat (limited to 'core/Makefile')
-rw-r--r--core/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/core/Makefile b/core/Makefile
index 67f2743..cf09b36 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -464,13 +464,14 @@ tools_notice_file_txt := $(HOST_OUT_INTERMEDIATES)/NOTICE.txt
tools_notice_file_html := $(HOST_OUT_INTERMEDIATES)/NOTICE.html
kernel_notice_file := $(TARGET_OUT_NOTICE_FILES)/src/kernel.txt
+pdk_fusion_notice_files := $(filter $(TARGET_OUT_NOTICE_FILES)/%, $(ALL_PDK_FUSION_FILES))
$(eval $(call combine-notice-files, \
$(target_notice_file_txt), \
$(target_notice_file_html), \
"Notices for files contained in the filesystem images in this directory:", \
$(TARGET_OUT_NOTICE_FILES), \
- $(ALL_DEFAULT_INSTALLED_MODULES) $(kernel_notice_file)))
+ $(ALL_DEFAULT_INSTALLED_MODULES) $(kernel_notice_file) $(pdk_fusion_notice_files)))
$(eval $(call combine-notice-files, \
$(tools_notice_file_txt), \
@@ -810,12 +811,15 @@ systemtarball-nodeps: $(FS_GET_STATS) \
stnod: systemtarball-nodeps
#######
-## platform.zip: system in a zip file
+## platform.zip: system, plus other files to be used in PDK fusion build,
+## in a zip file
INSTALLED_PLATFROM_ZIP := $(PRODUCT_OUT)/platform.zip
$(INSTALLED_PLATFROM_ZIP) : $(INTERNAL_SYSTEMIMAGE_FILES)
$(call pretty,"Platform zip package: $(INSTALLED_PLATFROM_ZIP)")
$(hide) rm -f $@
- $(hide) cd $(dir $@) && zip -qry $(notdir $@) system
+ $(hide) cd $(dir $@) && zip -qry $(notdir $@) \
+ $(TARGET_COPY_OUT_SYSTEM) \
+ $(patsubst $(PRODUCT_OUT)/%, %, $(TARGET_OUT_NOTICE_FILES))
.PHONY: platform
platform: $(INSTALLED_PLATFROM_ZIP)