From nobody Wed Apr 24 22:03:53 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+89587+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+89587+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1652057947; cv=none; d=zohomail.com; s=zohoarc; b=ClaA1qEnv6jfsiwA+2AZWanFnsc75gRJI1lXMjZE0D8Q8nwD3T6NULTUbvijFtc1sfc+7cjCYXopDccmeMEcY4D10z+RqavtYTNAMIhFnurzBe8HtZoc6t/6PsrxroXB2OMGPOcd5LbxgkgaonpyKdmbYEuwWIJ3r8RFtXytD4U= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1652057947; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=R5DhY7raeBwbopIPLTaiSiEiqDL/O6c+pHeXJtzDNjE=; b=iZh/iF1SbCA7QweK38l7wPKMM+Y1Gn9rPI/wYIKC9ivx1kRbJsTHk4szwGwokro79mLBGvOz6GudqxqzBqjEeRsOavMuT89QRlujReqMMB84U0T++SOax6C324GSvJhwhBmziSU1F/Qp5zLeVwqsyRUkKP8JT7r+bTIFF2LzPo0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+89587+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1652057947283313.2327488819394; Sun, 8 May 2022 17:59:07 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id IIbTYY1788612xe206FrDDJO; Sun, 08 May 2022 17:59:06 -0700 X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web09.26877.1652057944625106687 for ; Sun, 08 May 2022 17:59:06 -0700 X-IronPort-AV: E=McAfee;i="6400,9594,10341"; a="267741203" X-IronPort-AV: E=Sophos;i="5.91,210,1647327600"; d="scan'208";a="267741203" X-Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 May 2022 17:59:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,210,1647327600"; d="scan'208";a="655817937" X-Received: from yuweipc.ccr.corp.intel.com ([10.239.158.38]) by FMSMGA003.fm.intel.com with ESMTP; 08 May 2022 17:59:02 -0700 From: "Yuwei Chen" To: devel@edk2.groups.io Cc: Bob Feng , Liming Gao Subject: [edk2-devel] [PATCH] [edk2-staging] BaseTools: Modify FMMT GNUmakefile Date: Mon, 9 May 2022 08:59:00 +0800 Message-Id: <20220509005900.1156-1-yuwei.chen@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,yuwei.chen@intel.com X-Gm-Message-State: xidIv5DVoQbl7zSnJTxSrE9Mx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1652057946; bh=oJ2vX2TMVwzK4CjkQN7xJcBryKnLB89wxck0CoY289Q=; h=Cc:Date:From:Reply-To:Subject:To; b=X2MV6Rs4AvWjbcpHzojWq9OBL29mkhAp0xN+j0kaVya6LslKUIqUxLvR0BC/6XqJKGI 2sUUazJ4GTFBnqo0RJ0l4eSK/pSQ4PBFOwo893dvUr6zWkUgTUHs+8WQO1c0aoRAO0bna A4DzoIF8A/QAKi7Xk3C7ONx0sVeIfLtnxho= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1652057949022100003 Content-Type: text/plain; charset="utf-8" Currently the path of compiled FMMT binary is not saved in PATH, this patch modified FMMT binary path for directly using. Cc: Bob Feng Cc: Liming Gao Signed-off-by: Yuwei Chen --- BaseTools/Source/C/FMMT/GNUmakefile | 2 +- BaseTools/Source/C/FMMT/app.makefile | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) mode change 100644 =3D> 100755 BaseTools/Source/C/FMMT/GNUmakefile create mode 100755 BaseTools/Source/C/FMMT/app.makefile diff --git a/BaseTools/Source/C/FMMT/GNUmakefile b/BaseTools/Source/C/FMMT/= GNUmakefile old mode 100644 new mode 100755 index 81b99f25db..d0ea601f8e --- a/BaseTools/Source/C/FMMT/GNUmakefile +++ b/BaseTools/Source/C/FMMT/GNUmakefile @@ -12,5 +12,5 @@ LIBS =3D -lCommon =20 OBJECTS =3D FmmtLib.o Rebase.o FirmwareModuleManagement.o =20 -include $(MAKEROOT)/Makefiles/app.makefile +include $(MAKEROOT)/FMMT/app.makefile =20 diff --git a/BaseTools/Source/C/FMMT/app.makefile b/BaseTools/Source/C/FMMT= /app.makefile new file mode 100755 index 0000000000..130528a97e --- /dev/null +++ b/BaseTools/Source/C/FMMT/app.makefile @@ -0,0 +1,25 @@ +## @file +# Makefiles +# +# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +# + +MAKEROOT ?=3D ../.. +LINUX_BIN_PATH =3D ../../../Bin/Linux-x86_64 + +include $(MAKEROOT)/Makefiles/header.makefile + +APPLICATION =3D $(MAKEROOT)/bin/$(APPNAME) + +.PHONY:all +all: $(MAKEROOT)/bin $(APPLICATION) + +$(APPLICATION): $(OBJECTS) + $(LINKER) -o $(APPLICATION) $(BUILD_LFLAGS) $(OBJECTS) -L$(MAKEROOT)/libs= $(LIBS) + -mkdir -p $(LINUX_BIN_PATH) + cp -r $(APPLICATION) $(LINUX_BIN_PATH) + +$(OBJECTS): $(MAKEROOT)/Include/Common/BuildVersion.h + +include $(MAKEROOT)/Makefiles/footer.makefile --=20 2.27.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#89587): https://edk2.groups.io/g/devel/message/89587 Mute This Topic: https://groups.io/mt/90980949/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-