Use split-long-arguments to touch pdk platform.zip files

touch $(_pdk_fusion_files) is too long for some systems, use
split-long-arguments to execute touch multiple times with a
subset of the list of files.

Change-Id: I8e8c6770936337b93e0fdf381eca8c79fd722523
This commit is contained in:
Colin Cross 2012-04-26 17:04:54 -07:00
parent 83dbd2f158
commit f8dc89b49a
1 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,8 @@ $(_pdk_fusion_stamp) : $(PDK_FUSION_PLATFORM_ZIP)
@echo "Unzip $(dir $@) <- $<"
$(hide) rm -rf $(dir $@) && mkdir -p $(dir $@)
$(hide) unzip -qo $< -d $(dir $@)
$(hide) touch $@ $(_pdk_fusion_files)
$(hide) touch $@
$(call split-long-arguments,touch,$(_pdk_fusion_files))
_pdk_fusion_file_list := $(shell unzip -Z -1 $(PDK_FUSION_PLATFORM_ZIP) '*[^/]' 2>/dev/null)
_pdk_fusion_files := $(addprefix $(_pdk_fusion_intermediates)/, $(_pdk_fusion_file_list))