From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (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 9447D2095DFEF for ; Fri, 11 Aug 2017 09:31:10 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Aug 2017 09:33:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,358,1498546800"; d="scan'208";a="299080129" Received: from orsmsx104.amr.corp.intel.com ([10.22.225.131]) by fmsmga004.fm.intel.com with ESMTP; 11 Aug 2017 09:33:30 -0700 Received: from orsmsx155.amr.corp.intel.com (10.22.240.21) by ORSMSX104.amr.corp.intel.com (10.22.225.131) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 11 Aug 2017 09:33:30 -0700 Received: from orsmsx113.amr.corp.intel.com ([169.254.9.211]) by ORSMSX155.amr.corp.intel.com ([169.254.7.162]) with mapi id 14.03.0319.002; Fri, 11 Aug 2017 09:33:30 -0700 From: "Kinney, Michael D" To: "Zhu, Yonghong" , "edk2-devel@lists.01.org" , "Kinney, Michael D" CC: "Gao, Liming" Thread-Topic: [RFC Patch 3/3] BaseTools/Scripts: Add sample makefile for use with RunMakefile.py Thread-Index: AQHTDH48lqzC0zNdIEues8vv6aBJnaJ/JSwAgABAoFA= Date: Fri, 11 Aug 2017 16:33:29 +0000 Message-ID: References: <20170803173023.2452-1-michael.d.kinney@intel.com> <20170803173023.2452-4-michael.d.kinney@intel.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [10.22.254.140] 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 16:31:10 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Yonghong, The tab characters in the makefile are required. The makefile does not run in all environments if they are replaced with spaces. The makefiles generated by build also use tabs. Mike > -----Original Message----- > From: Zhu, Yonghong > Sent: Thursday, August 10, 2017 10:41 PM > To: Kinney, Michael D ; edk2- > devel@lists.01.org > Cc: Gao, Liming ; Zhu, Yonghong > > Subject: RE: [RFC Patch 3/3] BaseTools/Scripts: Add sample > makefile for use with RunMakefile.py >=20 > Hi Mike, >=20 > The patch 3 has some "Tab character used". Please fix it when > you commit. > Others are good to me. >=20 > Reviewed-by: Yonghong Zhu >=20 > Best Regards, > Zhu Yonghong >=20 >=20 > -----Original Message----- > From: Kinney, Michael D > 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 with RunMakefile.py >=20 > 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. >=20 > 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 >=20 > diff --git a/BaseTools/Scripts/RunMakefileSample.mak > b/BaseTools/Scripts/RunMakefileSample.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.
# > +This program and the accompanying materials # are licensed and > made > +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, > +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER > EXPRESS OR IMPLIED. > +# > + > +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