From f8dc89b49ac64331f23c97d6aad3866dd3fb7344 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 26 Apr 2012 17:04:54 -0700 Subject: [PATCH] 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 --- core/pdk_config.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/pdk_config.mk b/core/pdk_config.mk index f3dbe5530..0949c38db 100644 --- a/core/pdk_config.mk +++ b/core/pdk_config.mk @@ -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))