From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@nxp.com header.s=selector2 header.b=nsR7swn9; spf=pass (domain: nxp.com, ip: 40.107.14.72, mailfrom: udit.kumar@nxp.com) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (EUR01-VE1-obe.outbound.protection.outlook.com [40.107.14.72]) by groups.io with SMTP; Wed, 05 Jun 2019 22:38:38 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3naQgJFo4/J/WKiNLq3l/pdyG8U1NUpW9Hx0nPeZ7wc=; b=nsR7swn9qpUJAswxtcU77QvFAmVLGMgTsbu04VkiF5q4rt7PJrNTy5y9aO6x8oXqkNg+wnz9a3RyXgvKIcYq81aJUPcTxxqAIv8FqyRQnyKt2IFHXSurrvsFVCQk2LaGn4/JhOQmAY69z7buyOCx5++FMwdGMfUv6wXDjXG3yGE= Received: from VI1PR04MB4640.eurprd04.prod.outlook.com (20.177.56.27) by VI1PR04MB4608.eurprd04.prod.outlook.com (20.177.56.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.12; Thu, 6 Jun 2019 05:38:36 +0000 Received: from VI1PR04MB4640.eurprd04.prod.outlook.com ([fe80::9dfe:752d:9e88:fe86]) by VI1PR04MB4640.eurprd04.prod.outlook.com ([fe80::9dfe:752d:9e88:fe86%7]) with mapi id 15.20.1965.011; Thu, 6 Jun 2019 05:38:36 +0000 From: udit.kumar@nxp.com To: "devel@edk2.groups.io" Subject: Printing git commit in build Thread-Topic: Printing git commit in build Thread-Index: AdUcJ+2UlB/VksPCQn2v+XjlPjbITg== Date: Thu, 6 Jun 2019 05:38:35 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=udit.kumar@nxp.com; x-originating-ip: [92.120.1.68] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ea973f56-e688-4ade-c964-08d6ea41387e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:VI1PR04MB4608; x-ms-traffictypediagnostic: VI1PR04MB4608: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:262; x-forefront-prvs: 00603B7EEF x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(39860400002)(346002)(136003)(366004)(376002)(199004)(189003)(68736007)(2906002)(186003)(33656002)(53936002)(26005)(558084003)(6916009)(66066001)(4743002)(2351001)(8936002)(6116002)(3846002)(14454004)(486006)(7736002)(81156014)(44832011)(476003)(478600001)(1730700003)(305945005)(8676002)(413944005)(81166006)(66446008)(102836004)(71200400001)(316002)(52536014)(74316002)(5660300002)(6436002)(55016002)(256004)(5640700003)(9686003)(71190400001)(76116006)(25786009)(86362001)(73956011)(66946007)(66556008)(99286004)(7696005)(66476007)(6506007)(64756008)(2501003);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB4608;H:VI1PR04MB4640.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: agI13nbKQ1NiG0vijPlmbrSTFqfbPkaEI5XH7H616u568DOaX0jxrne+pJGqF8EPEJhkLX0osW3oTxnLlLrgnRg+WIMGwNzzf+QbwiJ1eE/j3cZNhajnJ2m7sdo6NrWfFue0TZmhMGiIlxTM1GFhBcD3YQ/F1td2Jpcxva7vFzOqqtF7qCxeQWKJYmGshxWzUdbWC+uUcizTXjpKJtS8gkX+UXIvBMBl3xwH5SI2v5YjPia38IJL5p+lEyRN8tO9Bfx6gt20cq25JVBtQOpt/+VpTnJ9XghK7pFjWYaf+VDjNd3yHnwddZWBnuU2AnVc+7hncNGB9jH2IeqZp2AsrhWRnyo9lL/EQ44z0wgjeRmGmk60RL478XxOXg60KGYHBdBSwpVUiONyEVArBr7PecurHSMfLQNZTfonx3BbAcE= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ea973f56-e688-4ade-c964-08d6ea41387e X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jun 2019 05:38:35.9601 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: udit.kumar@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4608 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Dear Community,=20 I like to print git commit id, which printing UEFI firmware build informati= on.=20 Could you help, how I can collect ' git describe' information in C file.=20 Thanks Udit=20