From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id B501D21D490EE for ; Thu, 10 Aug 2017 22:38:40 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Aug 2017 22:41:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,356,1498546800"; d="scan'208";a="1161563775" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga001.jf.intel.com with ESMTP; 10 Aug 2017 22:41:00 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 10 Aug 2017 22:41:00 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.236]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.128]) with mapi id 14.03.0319.002; Fri, 11 Aug 2017 13:40:58 +0800 From: "Zhu, Yonghong" To: "Kinney, Michael D" , "edk2-devel@lists.01.org" CC: "Gao, Liming" , "Zhu, Yonghong" Thread-Topic: [RFC Patch 3/3] BaseTools/Scripts: Add sample makefile for use with RunMakefile.py Thread-Index: AQHTDH49hlbk/Blt30GfDveDJgdKTqJ+rzqQ Date: Fri, 11 Aug 2017 05:40:58 +0000 Message-ID: References: <20170803173023.2452-1-michael.d.kinney@intel.com> <20170803173023.2452-4-michael.d.kinney@intel.com> In-Reply-To: <20170803173023.2452-4-michael.d.kinney@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [RFC Patch 3/3] BaseTools/Scripts: Add sample makefile for use with RunMakefile.py 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: Fri, 11 Aug 2017 05:38:40 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Mike, The patch 3 has some "Tab character used". Please fix it when you commit. Others are good to me. Reviewed-by: Yonghong Zhu =20 Best Regards, Zhu Yonghong -----Original Message----- From: Kinney, Michael D=20 Sent: Friday, August 04, 2017 1:30 AM To: edk2-devel@lists.01.org Cc: Gao, Liming ; Zhu, Yonghong ; Kinney, Michael D Subject: [RFC Patch 3/3] BaseTools/Scripts: Add sample makefile for use wit= h RunMakefile.py Add sample makefile that can be used to test RunMakefile.py script and can = also be used as a template to start a new PREBUILD/POSTBUILD makefile. Cc: Liming Gao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney --- BaseTools/Scripts/RunMakefileSample.mak | 43 +++++++++++++++++++++++++++++= ++++ 1 file changed, 43 insertions(+) create mode 100644 BaseTools/Scripts/RunMakefileSample.mak diff --git a/BaseTools/Scripts/RunMakefileSample.mak b/BaseTools/Scripts/Ru= nMakefileSample.mak new file mode 100644 index 0000000000..b0947b7644 --- /dev/null +++ b/BaseTools/Scripts/RunMakefileSample.mak @@ -0,0 +1,43 @@ +## @file +# Sample makefile for PREBUILD or POSTBUILD action. +# +# Copyright (c) 2017, Intel Corporation. All rights reserved.
#=20 +This program and the accompanying materials # are licensed and made=20 +available under the terms and conditions of the BSD License +# which accompanies this distribution. The full text of the license may be= found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=20 +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED. +# + +all: show + @echo $@ +genc: show + @echo $@ +genmake: show + @echo $@ +modules: show + @echo $@ +libraries: show + @echo $@ +fds: show + @echo $@ +clean: show + @echo $@ +cleanall: show + @echo $@ +cleanlib: show + @echo $@ +run: show + @echo $@ + +show: + @echo WORKSPACE........ $(WORKSPACE) + @echo PACKAGES_PATH.... $(PACKAGES_PATH) + @echo ACTIVE_PLATFORM.. $(ACTIVE_PLATFORM) + @echo TARGET_ARCH...... $(TARGET_ARCH) + @echo TOOL_CHAIN_TAG... $(TOOL_CHAIN_TAG) + @echo CONF_DIRECTORY... $(CONF_DIRECTORY) + @echo TARGET........... $(TARGET) + @echo EXTRA_FLAGS...... $(EXTRA_FLAGS) -- 2.13.1.windows.2