From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03hn0221.outbound.protection.outlook.com [104.47.41.221]) by dpdk.org (Postfix) with ESMTP id 2ADD337A2 for ; Tue, 6 Jun 2017 11:05:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=J2ofAR2Xf0S+HZeNmEVfVZBIFTjl8j4+PirxEgI5O5g=; b=myLfArPm5zoOoeaG27R+fSv9bSQI40A11eZdq+vlSYDFl1AN07sRo8qzxvpv6WZr0PWRZcJ32q2J3wa8uOcU3QrFlg4TZUP3P/Kax7TRdnlX2wdp2tYc0C1vBTOxSYJeMlHIjfKEk2D2CpCYsJw2KlLnclQiBnzHWmP+b9ZBOhA= Authentication-Results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin (122.167.102.185) by BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1143.10; Tue, 6 Jun 2017 09:05:42 +0000 Date: Tue, 6 Jun 2017 14:35:28 +0530 From: Jerin Jacob To: Thomas Monjalon Cc: dev@dpdk.org Message-ID: <20170606090527.GB25773@jerin> References: <20170606063650.31434-1-jerin.jacob@caviumnetworks.com> <1514064.RDqP8U0lKr@xps> <20170606070213.GA32334@jerin> <8755040.9J4WnU9ERX@xps> <20170606075042.GA10303@jerin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170606075042.GA10303@jerin> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [122.167.102.185] X-ClientProxiedBy: PN1PR01CA0085.INDPRD01.PROD.OUTLOOK.COM (10.174.144.153) To BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BLUPR0701MB1714: X-MS-Office365-Filtering-Correlation-Id: 5c3c8b37-96b4-4493-cc43-08d4acbb365f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 3:MnUsYmTzygYCHxi/SaYgKOpAvlD0A6DJP9gS00IkwdY4vxV92CPpli/fxZybHlyovYzSCtXEWcmAHLddAge1tC9krLH0eI+omjMc5O57835EVjJxHWpibDmRi2GmrlQMXU48cEWoHLqeJ/EpH3PmrQdwwaLh4Gu8taIFjqkdY6v+omM6vzqZqxy8uhrU19fT+Ai6trRWjS8N0JfUgZTwLXw1hVPHSSO4a19bSwC2DFU97/sXu1tNSMemr8RKK3owtxDmSWNEd4LkiUofLBsLkPHUGnCqzF3jL0MTpOJJEqcHqCSjZURiT4MTgg+iAGEvSIatk5uc0GlvQ4jg4m5cUA==; 25:YjBKSCQSwQzMHxFSbHNoNMLttExT6VT9bbiwYsGuLgX97VbnGztRCOMSk9vzm01FTHfnrjLrJLUaj0XgY3d3S0fLIcocFcZVxEoO0T//n/qYethWocXOs8IwzNWvQB10APPhTfE+fKawYufTXuOQIccOGwl9w2vMOX6O87yeLx4DtjI7zj8tyebet0Fm5JWOrGEOpLhqJ7IX62ImKgnq8xYZpU6XuaHMjssMhGVoBNswbn2SGZ3EHzAm9ePvAAK6YM/wMvw6A9lXTc7XpObYFVwC5+BSMQQOpyRlw03Nf14uR1Ka1haIikgSxVphZxJyudO1XCDSdALyivGScAWcIS4mlEDmV69msK7kcrNoV/dSrVXUH+bYoxL/TUPzCQ9Xa8zOyINlo+7WF1CeIIgwX3XOJV5bHBxWrtzQCwk3ohrjSC/BY+HbArOSMBw5ZRr83K3lm7TY4IAD0EhXmYwpIXXEyHraiCo4pIC7gyu2zck= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 31:uP4hZBxZxktJUyQzr3XSKCTo+s9Sy2CsnStx64tirSLuspgeSHTzm9eudFqy6C2R8ZZ4onzKD8jgVkCzLefGh6HRcC5nY7MDp1PnPlDD9OA6Kv/dB4DbV6mr+10mlHvA2SguQYHEWTpTKVJf2qTESgsc9AqJ/4Q8I4yPVyZ0brs4DjnOuIRAhaANukxK6Nye7gN2wlnTOHpcMXR8MXAx38g2vWrl7dKf8L4C5CJmRPEd9sAgJz1gqPG7A5lxwAX1ZuFUFFpdJ54BNjiEXA6sDg==; 20:X9H+uF0xjgeZbXxunKZ5FpP7tKRctjCJWX0iA9iU9O299h8BNiymLidmP8XvaLz0uMtUxyFC5HFcZH7gHDjxpQpqB7jPuHfxhNeLVmkqovFAF/76XjHcSC5B1ajB5dTLOdZCCiflDpVZSxw+G35OR0C0wfDCv3kMJNIxaymqt3x1ptRHiz3/AJ9Odq8S+jFmufzPdfQnK48K9FjQmelFpj1hr38fXuFLSWjYSxJvn3q1/VI35gkwXXNqaLgpc6DsPfAb95ZabYEFiAcZ86DJ+wjVhP549Mt4LKuovkHiWhzVEfCfdBP6bbSiwQwJff2dD1aD30T6HMxSQVsAmmYnJtWsX289ASGWVtkpCGll9afiQPpIEtlkWGcJcoKHcy8wBx8v0sjur1IhjKU9F9XdXc6lWaHIFzPpyC0mdFQe2dstVym3Dui0d5hN6Sn2IxNhHDjPZqVgX/4hDj+wgI8XzUtPMhD/SEhiHL6wNkyUbBw4ETMmSMldK80azoN+Q4VflumaozoKsPrE0eAxZ9XRv0Lq/eGnHol62H0WHYLvFwxaHVPdp0KOABLvkKV0hv5suzdl8dk+JZUH2vM2RYBda1O3MPmDMuXNLTGpT9GX7vk= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(66839620246622); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(93006095)(10201501046)(100000703101)(100105400095)(2002001)(6041248)(20161123560025)(20161123555025)(20161123558100)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR0701MB1714; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 4:yTQrlCdaXIvYvqvFX2x6OtKuEq1VWzjZY2pPzYQd?= =?us-ascii?Q?6BXJoEu1NXjU3kN4wtjCwmeGydu8TPtqN0ZSKBQuXHgVjSLslV9ydLWJeo3l?= =?us-ascii?Q?B0S+6xIMGesMBobobGx+7yZaRDDAvI9BoX0NFmyKmIpXHJmCHLLw/S8nERNs?= =?us-ascii?Q?Fu+gU32aYtc4ikrolFXKkgdlTlZnAy4uZhrRBd0FFpLZ2SPuA6TXy78Ame8/?= =?us-ascii?Q?3mufgcH6vVqvEckYov9laRi9KSPmeRWSXYJ4JKoh7F9qaTIUiZyn5Px60SZx?= =?us-ascii?Q?GZjGwTpvjGTXKHRlcMlCD1u0g6T2T6txLxEsELjBNUgoL3aRsyAmlAJ/Rl6y?= =?us-ascii?Q?zNQBHaZSNqcr/87QDtWqZNOsvmsEWh2/AuCWyrr+HUoqde2FgosauWbMV32J?= =?us-ascii?Q?8fmJHqXBFFzuHkGGEhtl9A4J+zuK9mCwqnb4nKV/LA3iKOvTbGXV0abW1//A?= =?us-ascii?Q?4BKWYQ+SEb+WNb8yejTYzCVJOmHXkpm6AM9aggSgmpSpPQOPynu1s+kNkinr?= =?us-ascii?Q?n9jaLW1cfIT7PVgYycOPTYr4MWX3V0ZqvHw7d/5PvAbQqCJc1dn5Jp6jwcw4?= =?us-ascii?Q?NHWFGmz2xVApyasTuAREBxeh7i89BQLZRlhzzMW0RVDDEgoj9bKi9w6yfjgV?= =?us-ascii?Q?2826qJ+AtiFJ/z3j0Nk5pm5QQaJ2fFtKW5YgjEl0FG6E1ijvctxOnT3ovdip?= =?us-ascii?Q?wpWN/B3MB9pFsK0XJWVCARe/26aFBGXgjOPawAq6UU3eEOefFf3k/evyOjGV?= =?us-ascii?Q?7xKx5d5cjaUQ6s79CmYgfY9J3/pBrz9b4PIG8xsI9tbZpMOISCCBfEFZzWke?= =?us-ascii?Q?r5+rtUaLAC4LDqPHnZvqk50MvhwPGq5xwhE3Zd2qqrrprW7Kllw+on/Q+FZ7?= =?us-ascii?Q?pm0L3s5qsfwH1rrZcgMwpS9C8ZBECExJadIhgSUHD1kyE85XuNpCf01tNZc4?= =?us-ascii?Q?6gNwXDlGfRUNAVXeFjwU/jOuu7jW17Gc0XmCwstil06n9a/fFYxzD4QNwWwt?= =?us-ascii?Q?IXwuMmD/OoVKE9PgnkAq5pXbs4pgIzOlRUgQcSp1K+8dEVOd48A1j6gHhXpi?= =?us-ascii?Q?ufPJ/A4s5OBET6H2KjH3eD1b7BupZ3dqRPk276H5r4uzEgJ98F6cO4Tg6JRt?= =?us-ascii?Q?8ZfaPQ/i9bvnX0+UgL/8JHOjwCAUxOpDt143GgrdqN6lYstxYfBKpT9n751E?= =?us-ascii?Q?XxIg14x9a1HiDnU=3D?= X-Forefront-PRVS: 033054F29A X-Forefront-Antispam-Report: SFV:SPM; SFS:(10009020)(4630300001)(6009001)(39450400003)(39840400002)(39850400002)(39410400002)(39400400002)(377424004)(13464003)(66066001)(6496005)(4326008)(76176999)(25786009)(38730400002)(478600001)(6246003)(33656002)(2950100002)(6666003)(55016002)(50986999)(7736002)(305945005)(53936002)(110136004)(5660300001)(9686003)(83506001)(4001350100001)(8676002)(81166006)(42882006)(42186005)(54356999)(189998001)(6116002)(93886004)(23726003)(1076002)(3846002)(72206003)(229853002)(47776003)(50466002)(2906002)(33716001)(6916009)(50929005)(18370500001); DIR:OUT; SFP:1501; SCL:5; SRVR:BLUPR0701MB1714; H:jerin; FPR:; SPF:None; MLV:nov; PTR:InfoNoRecords; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 23:qe9Vcy49XLQqznSGH+NHq+7U+GOmpV3JWwfw2zF?= =?us-ascii?Q?0GKjXuqahasoeWr1yBBTsnd0LPXIH8waQenJM6d+Zux8+vb42PDp2D71tMSc?= =?us-ascii?Q?yg3mvsxuNWsBnJTw9BNYmpqkqwJvLCwKE1Rso/6HJgKngGNjrbzMhQ1o4KCm?= =?us-ascii?Q?qtOwqlTxvph0PhYuENrn7Hj7HQ1R/xnVdGhnT0W0WmChz2JwVayXhRTtbY3q?= =?us-ascii?Q?VGfQQBGWM59WrPQpuwtd1wN/1Mj4thQH3L8gyk2ybeNhcDNFvzk1crxQUpmq?= =?us-ascii?Q?sXjH3Dxy4+wK7plj0Ik8qrW7vmelSRKPEJG9u59jUQcpTfv6ucvlkkBvILor?= =?us-ascii?Q?ufW+f2QxrL23BSEcGIx6FvRmNdXsB4OKgDxN6oe89d4WQoFwKTi9PbwZENXW?= =?us-ascii?Q?O5svUOpxTHpUeE2l2QJ1Oo0U8P+f8XSTc365FH4caS+2wur3Z+hhCQhcO18q?= =?us-ascii?Q?YT0yL1xZLpTQgzE/8GV45Ruo/8iRp+8IcNw3EJBSLusigIGsVkjVg8ZDGzbV?= =?us-ascii?Q?RlI4qsvxFj7wZGHPDH5l+YWU1XpZN3wwD1ZsU+H/58ZxaB9KoOW4NGA7g7hm?= =?us-ascii?Q?v4CSd4XInCQDioJhZMpw6o11Yv9xHjYQtiUi+g5J7gJmu4CzjB/Y9ObUnhSu?= =?us-ascii?Q?rqXw6hekXeLWHODbvqKYPiuxTdZqyyaZjDM/Lr8dasqN1PLO9sOzJcLvj0mx?= =?us-ascii?Q?aNlelE7zUKN33nb3C/hrTlA6sEjAdEtFnVOA8un/rtx4EVM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sdQ6hY/V2i07MsV39PT0QNEjNRIT15yRaGv5KfyLpNzG0HpHASgko9Qh6bgHSUnj1LjfuVNoYRWpAomkJK+MDfqWYsSatRbNfx4edJZgfpXaD6uRiCvYP/6n6SBUikSmykZjeXjrDipOL3HkqZDBe46xDBnZr8nw== X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 5:jVZErcbymKEFhdhOR+V8MGcGqn9zfpu8aerON/4beLWdmmVAR0KdKQBlRzCGoJwkeReC1rAJwsHXXMIIZpvMVG7pMHUvhrVTUraWQZYicj8nfruuTmIegXGXkH+bMS9ZeAqXhMn15cA9UzAE98r8P3XRLc2IT0MG0v+WRFHaF2GfOQGANwUhHGtfE/qIWH65m8RGZJl7zGK6ARixSoboLa9d/KRWwibzUe5YkFrcmcjJDkZEj+e4GWviAFHhsshgYAlCK5opf5gaSEq4aFijxWOZZonuwWAvmYkr20WrCAq1D/YGLawzdQef9N5y7rzRpi/94s0tsJmD5Zc8NmaeJ49iRhTywbzZakkkdIhdN09WYttSrzuv9VZ5DdCCbHabuNf8YKRVYOpeCQRKunarJLMEF6tSymm+F8NTClq7HV77RSHZ/KhW0ll753A+FiaVJzs7oHHViaxSgbTEMB6A5qOKVa8/aYBlOLivRPRIZN0d+uEs0+1F/fXw9TqAhEQd; 24:3UtqyhAtnFwxIb1ku7lwwp+to5rd4MEnqxLhTcA6Vd1daqNqvGVUYfVxiHsMx+FLmgsU6d7K8iaPQ0Sa6k4bXw== SpamDiagnosticOutput: 1:22 X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 7:DdrFgqWo56d6xat+cUL9/mHxYV5V4B+5RJbukMiv1MylUkHm4lSN/AqLxgSnrJDvfUyZ4BhsrPuMnkvywxe1HWrcg/qh8uzP4mILcKa4cO6H4W9v9bmqhMjTzfwTeWQHxg8yH65BmDhqO4qbL/cfk5530NK5HsP7tr3+PTfLABPWCTK2QPKm49fzxwQRSCUxyeGMfOVHJqpv7HqNiw2cqjYbgr4yH/RpamwTrcdp5bGDwbpl+z+FDnNp9xUyZyPZyu+HmjLL1AFVxHetnRd669IdGst+hKJnE0isJqhnsuZb8qkDxlWNhTLbeuBN7E81LJ9ZtTqT1GV1bwHCjheCAQ== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2017 09:05:42.4500 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1714 Subject: Re: [dpdk-dev] [PATCH] mk: allow exec-env specific targets X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2017 09:05:46 -0000 -----Original Message----- > Date: Tue, 6 Jun 2017 13:20:42 +0530 > From: Jerin Jacob > To: Thomas Monjalon > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] mk: allow exec-env specific targets > User-Agent: Mutt/1.8.3 (2017-05-23) > > -----Original Message----- > > Date: Tue, 06 Jun 2017 09:16:34 +0200 > > From: Thomas Monjalon > > To: Jerin Jacob > > Cc: dev@dpdk.org > > Subject: Re: [dpdk-dev] [PATCH] mk: allow exec-env specific targets > > > > 06/06/2017 09:02, Jerin Jacob: > > > From: Thomas Monjalon > > > > 06/06/2017 08:36, Jerin Jacob: > > > > > Add a hook in generic rte.sdkbuild.mk file > > > > > to include exec-env specific targets. > > > > > > > > > > Signed-off-by: Jerin Jacob > > > > > --- > > > > > Useful in integrating some custom targets in nonstandard execution environments. > > > > > For example, a bare-metal-simulator exec execution environment may need > > > > > a target to run the dpdk applications. > > > > > --- > > > > > > > > This patch is just including an empty file. > > > > > > Do you like to add check for the file is present or not ? and if present, > > > invoke the file. > > > > The dash prefixing does the check: > > -include > > OK > > > > > > > Please explain how it can help with a real example. > > > > > > We are evaluating on running DPDK on a nonstandard execution environment like > > > bare metal where I would to keep all my execution environment specific > > > change at following location. So that I can easy move around different > > > version of DPDK without merge conflict. > > > > > > $(RTE_SDK)mk/exec-env/my-exec-env > > > $(RTE_SDK)lib/librte_eal/my-exec-env > > > > > > I believe, The existing target like "exec-env-appinstall" in mk/exec-env/linuxapp/rte.app.mk, > > > solves the same purpose. > > > > I do not understand. > > If you want to add a new environment, why not just adding it? > > I do not understand it either. In exiting makefile infrastructure, > How do you add an exec environment specific target(s) with out changing > the common code? As disucssed in IRC, I will send the v2 with following changes, - Change mk/exec-env/$(RTE_EXEC_ENV)/rte.extra.mk to mk/exec-env/$(RTE_EXEC_ENV)/rte.custom.mk - Remove empty files and include through -include > > >