From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=68.232.153.90; helo=esa1.dell-outbound.iphmx.com; envelope-from=karunakarpoosapalli@dell.com; receiver=edk2-devel@lists.01.org Received: from esa1.dell-outbound.iphmx.com (esa1.dell-outbound.iphmx.com [68.232.153.90]) (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 7D8E5211B5086 for ; Tue, 8 Jan 2019 22:55:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dell.com; i=@dell.com; q=dns/txt; s=smtpout; t=1547016908; x=1578552908; h=from:to:subject:date:message-id:mime-version; bh=TUcy7T0S8imrpPpDDOjLj1gw0X8k3EQwN/t85fCPpcE=; b=aSi1fD4l+FlUUbm3jPVSJvKBtAMz2LjjXSJIde/J0R+57Bcn7b00uJhn l4KQueQoefiWxXxwPbCQvfd5RvtyQTbP5apjA9hV7NQ29bZFIIQMlczb9 bHiWVTJGjn+KOrj5qIDeSGK8aFfxun1Qw8SSEJ5mXq546wCOAHFL3exCm k=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2E5AACJmjVchiWd50NkHQEBBQEHBQG?= =?us-ascii?q?BUwYBCwGBDYFcgQIxjG+LD5oAgXsLAQEshl0iNgcNAQMBAQIBAQIBAQIQAQE?= =?us-ascii?q?BEwsIKS+COiKDCBteAYEmAQQbGoMAAYEdYwGdcz0CgW6JBgEBAYIeijSMP4I?= =?us-ascii?q?Wg3WFfIRxIgKJQJgqCZF1IIFkhSSKb5orAgQCBAUCFIFNDiKBWHCDPYI0jid?= =?us-ascii?q?BgVmIbgGBHgEB?= X-IPAS-Result: =?us-ascii?q?A2E5AACJmjVchiWd50NkHQEBBQEHBQGBUwYBCwGBDYFcg?= =?us-ascii?q?QIxjG+LD5oAgXsLAQEshl0iNgcNAQMBAQIBAQIBAQIQAQEBEwsIKS+COiKDC?= =?us-ascii?q?BteAYEmAQQbGoMAAYEdYwGdcz0CgW6JBgEBAYIeijSMP4IWg3WFfIRxIgKJQ?= =?us-ascii?q?JgqCZF1IIFkhSSKb5orAgQCBAUCFIFNDiKBWHCDPYI0jidBgVmIbgGBHgEB?= Received: from mx0b-00154901.pphosted.com ([67.231.157.37]) by esa1.dell-outbound.iphmx.com with ESMTP/TLS/AES256-SHA256; 09 Jan 2019 00:54:49 -0600 Received: from pps.filterd (m0144103.ppops.net [127.0.0.1]) by mx0b-00154901.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x096sCoE104458 for ; Wed, 9 Jan 2019 01:55:17 -0500 Received: from esa5.dell-outbound2.iphmx.com (esa5.dell-outbound2.iphmx.com [68.232.153.203]) by mx0b-00154901.pphosted.com with ESMTP id 2pwbv4g2gh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 09 Jan 2019 01:55:17 -0500 From: Received: from ausxippc106.us.dell.com ([143.166.85.156]) by esa5.dell-outbound2.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA256; 09 Jan 2019 12:55:06 +0600 X-LoopCount0: from 10.166.135.136 X-IronPort-AV: E=Sophos;i="5.56,456,1539666000"; d="scan'208,217";a="337892543" To: Thread-Topic: Conditional Compilation support in INF file Thread-Index: AdSn6DwaFQapYNOqQoKF9n2RWq0NjQ== Date: Wed, 9 Jan 2019 06:55:12 +0000 Message-ID: <1a62f519f4b2466fb97c0dd7a81057e6@BLRX13MDC432.AMER.DELL.COM> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [163.244.186.30] MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-01-09_04:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=291 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901090059 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Conditional Compilation support in INF file X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jan 2019 06:55:40 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi ALL, I've an idea regards "Adding conditional compilation support in INF files" Ides is like, we can condition check in INF file like below #if Condition1 Protocol1 #elif Condition2 Protocol2 #else Protocol3 #endif If we've this support we can add different protocols in DEPEX section, Like= we can put condition check and add rotococol1 for Notebook and Protocol2 f= or Desktop. And will have so many benefits adding this support. I don't think current EDK2 support this. Please let me know comments/suggestions, so that I will start working on it= . Thanks & Regards, Karunakar