From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=WDCVtVPo; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: yuwei.chen@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652057944; x=1683593944; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Ih68KAaPonmRU6IDxlA1BGW/xR+vrMvfWAucUtDmH9M=; b=WDCVtVPo72wbwJM+vXwRaX4PghaLxhfM7YyiHIP3y8Q9Ze7z3c/6wGNQ a5imvMtZXkG+DVVYfIiwbyKOdZIraSEC0f09Tdi/QKcb+S5hf3iTQxlhA PNqpRghHBwOQzXHKfkAeyrVreQCW5w0D5RxHElR+9lKBcbiDoyAihyr1R ikb1Eikc6XEMug+KvASPWBbC/DD+evK9cSkNtVkZyKNWUwAPOV+gE1LSu bu7ToYZm4yv/NiiEdj2bgTCAwQegKHzTFnOLHQVYRxYGwqTrRDiUWjQvA ir80bKKfwzhPknYyj4wtG24jIjdyGtQkb6S+NCREERu7pcK7jNDw/RMeO Q==; 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" 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" 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: [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> X-Mailer: git-send-email 2.27.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 =0D OBJECTS =3D FmmtLib.o Rebase.o FirmwareModuleManagement.o=0D =0D -include $(MAKEROOT)/Makefiles/app.makefile=0D +include $(MAKEROOT)/FMMT/app.makefile=0D =0D 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=0D +# Makefiles=0D +#=0D +# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.
=0D +# SPDX-License-Identifier: BSD-2-Clause-Patent=0D +#=0D +=0D +MAKEROOT ?=3D ../..=0D +LINUX_BIN_PATH =3D ../../../Bin/Linux-x86_64=0D +=0D +include $(MAKEROOT)/Makefiles/header.makefile=0D +=0D +APPLICATION =3D $(MAKEROOT)/bin/$(APPNAME)=0D +=0D +.PHONY:all=0D +all: $(MAKEROOT)/bin $(APPLICATION)=0D +=0D +$(APPLICATION): $(OBJECTS)=0D + $(LINKER) -o $(APPLICATION) $(BUILD_LFLAGS) $(OBJECTS) -L$(MAKEROOT)/libs= $(LIBS)=0D + -mkdir -p $(LINUX_BIN_PATH)=0D + cp -r $(APPLICATION) $(LINUX_BIN_PATH)=0D +=0D +$(OBJECTS): $(MAKEROOT)/Include/Common/BuildVersion.h=0D +=0D +include $(MAKEROOT)/Makefiles/footer.makefile=0D --=20 2.27.0.windows.1