From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::241; helo=mail-wm0-x241.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C54A121B02836 for ; Thu, 7 Dec 2017 03:25:02 -0800 (PST) Received: by mail-wm0-x241.google.com with SMTP id i11so12214138wmf.4 for ; Thu, 07 Dec 2017 03:29:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=iiGdFKav/VX5bG1LlZxDIFm3zInYAdaxBfBLNvOvRGc=; b=U4YjRMHScBxWFggJOSfqaH/lEKP4TGOZEWKnJRs4dF2DUOQy0OCv6Zbgm8419QDPFp r2Tsx8hHhfGaQ4muKS/n/sb6b9Ia22m6OCPaOMYqy9+yfCljzUrj2G+h759EZitz9msf 82weZPWJzVriFoVaHHamyMKLzXI99CH9hbiTM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=iiGdFKav/VX5bG1LlZxDIFm3zInYAdaxBfBLNvOvRGc=; b=BEGzcb7ANg0XPJqrxBT134/sRsKjZx2xkAUioAiSr2o3hbIBxQa78myJmoz0O1hEXY zat/p23kA5x63CzfFQU9GmfesmcK+X9tI4UqQmf/sDyg+kwEq3qUwsl85jLI1S3hgfXo EAeucmeGJ4kIZFvwRIp9/PW4nHvEddjaL5zLvVwGL2q4SjCQT1jXcPoqoPQUgthe/czS HyTzCxI3oi/+gujGUmpNOXVd9d3HhZ+jw1C6KziRbmAJmjNV2B+hOsmFpAmF9xTAAL9c F6PG/44FlVcrsr/+MTr52qYllAgKfHhTpXUuDKS/Nr+M1CNok1d0AQX9zH4k7NeZxDqX oPyg== X-Gm-Message-State: AKGB3mJGezhlRaD27qmCA2Vl4CAtciqCxnfGFROFVRR3ejJhuMWbZ2Lw vs5Lyq1L9A3i1X1tTDDOEaqXGQPUWU8= X-Google-Smtp-Source: AGs4zMY1gMLKdBoInIQ8trSOkqe+WHLIyIGIwYVpqF0E1OpI4sXEU5Cb3LiBQprGnhvaMmHECuC31A== X-Received: by 10.28.157.7 with SMTP id g7mr766929wme.99.1512646174259; Thu, 07 Dec 2017 03:29:34 -0800 (PST) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id f56sm6905989wra.75.2017.12.07.03.29.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Dec 2017 03:29:33 -0800 (PST) Date: Thu, 7 Dec 2017 11:29:31 +0000 From: Leif Lindholm To: Yonghong Zhu Cc: edk2-devel@lists.01.org, Yunhua Feng , Liming Gao Message-ID: <20171207112931.2rp4fy4s4uegba27@bivouac.eciton.net> References: <1512629477-12264-1-git-send-email-yonghong.zhu@intel.com> MIME-Version: 1.0 In-Reply-To: <1512629477-12264-1-git-send-email-yonghong.zhu@intel.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [PATCH] BaseTools: Fix GenSec can't found the depex file X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2017 11:25:03 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Yonghong, This patch resolves the issue for the hikey platform, but not for (edk2-platforms/Platform/Hisilicon/)D03/D05. They fail with --- Generating FVMAIN FV ###### ######################################## #############################Return Value = 2 GenSec: ERROR 0001: Error opening file /work/git/tianocore/Build/D03/DEBUG_GCC5/AARCH64/Platform/Hisilicon/D03/Drivers/Net/SnpPlatform/SnpPlatform/OUTPUT/SnpPlatform.depex GenSec: ERROR 2000: Status is not successful --- and --- Generating FVMAIN FV ###### ######################################## ######################################## ################Return Value = 2 GenSec: ERROR 0001: Error opening file /work/git/tianocore/Build/D05/RELEASE_GCC5/AARCH64/Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform/OUTPUT/SnpPlatform.depex GenFds.py... : error 7000: Failed to generate section GenSec: ERROR 2000: Status is not successful --- respectively. Again, reverting 37de70b7 makes the build successful again. Note that the failing drivers are binary, held in edk2-non-osi. Regards, Leif On Thu, Dec 07, 2017 at 02:51:17PM +0800, Yonghong Zhu wrote: > From: Yunhua Feng > > Filter the FileList when multiple genfds thread options is not enabled. > > Cc: Liming Gao > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Yunhua Feng > --- > BaseTools/Source/Python/GenFds/EfiSection.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/BaseTools/Source/Python/GenFds/EfiSection.py b/BaseTools/Source/Python/GenFds/EfiSection.py > index 7b3b717191..4276945a10 100644 > --- a/BaseTools/Source/Python/GenFds/EfiSection.py > +++ b/BaseTools/Source/Python/GenFds/EfiSection.py > @@ -92,7 +92,8 @@ class EfiSection (EfiSectionClassObject): > elif os.path.exists(Filename): > FileList.append(Filename) > elif '.depex' in FfsInf.FinalTargetSuffixMap or FfsInf.Depex: > - FileList.append(Filename) > + if IsMakefile: > + FileList.append(Filename) > else: > FileList, IsSect = Section.Section.GetFileList(FfsInf, self.FileType, self.FileExtension, Dict) > if IsSect : > -- > 2.12.2.windows.2 > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel