From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02hn0244.outbound.protection.outlook.com [104.47.37.244]) by dpdk.org (Postfix) with ESMTP id 213C358EC for ; Tue, 6 Jun 2017 09:51:03 +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=Em6oRc2E8JqKtGP/nCOsut/SlSGrDlHwQTThN95HD5M=; b=A1ZvAY8UhcvUPSJL6wTIKsBzER/Bc3Ak3zdx3fwIuhAfn46zDeeMJZjwrlbgkz+m2emjQq/5LydwWtv91b/MiQ64FN/wDHwAohMI/K4ndbZ0W1SqfmNOg449XM4/xJ6jWH6eLPUWv2CCSs2nT0yhxGSrCz+MZj63wgWDP0mVyT0= 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 (171.76.74.1) by CY1PR0701MB1728.namprd07.prod.outlook.com (10.163.21.142) 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 07:50:58 +0000 Date: Tue, 6 Jun 2017 13:20:43 +0530 From: Jerin Jacob To: Thomas Monjalon Cc: dev@dpdk.org Message-ID: <20170606075042.GA10303@jerin> References: <20170606063650.31434-1-jerin.jacob@caviumnetworks.com> <1514064.RDqP8U0lKr@xps> <20170606070213.GA32334@jerin> <8755040.9J4WnU9ERX@xps> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8755040.9J4WnU9ERX@xps> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [171.76.74.1] X-ClientProxiedBy: BM1PR01CA0104.INDPRD01.PROD.OUTLOOK.COM (10.174.208.20) To CY1PR0701MB1728.namprd07.prod.outlook.com (10.163.21.142) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY1PR0701MB1728: X-MS-Office365-Filtering-Correlation-Id: d4e74922-0b0e-4de9-1f75-08d4acb0c5ae X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:CY1PR0701MB1728; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1728; 3:D8IW8Hh+HMxMoyISB0WeWV/9YdQOtUgRfyMzacbt1lrRdBHRniweoiUkV5l36vNu72in2eloSyAoOBM/SZZroU9wNqtSVsJ4sa2havSICaMwGKBOC9+pwjrXpGFoUpF6fwLHLNjxE8T1YhH9HtBSL1AMTq/31vL+PecIJ8cn53u3VCQpqdKORbYjhW8ALnoarMgspMyhoapjQiQTz13AH3VXGPGwtqq8ZXsw0mo7+IcqSAOxJ6UkVBzahsg4lb4s8AX6qeWE/0iBScR/pbAl5atsIYkeNVsV05Ht8JIeztbsk0wSkm9cz4kZOY6QUfCrY6eDV/0JjPJrMpgGX/b3sg==; 25:T1xMCTDXcDaQzIyPptMiz2BqRj7WviIroVRezTo9l+H8cltmvmkh5nAZqVwqvn8TMKZnNKgenvUQIYTRQ34r5Bi8J581AGy/yxjpdQ8lz/vWMvIVnVspSV62XOMSAwOWypiaGoUMapdXh0jWrwju8iK+djSy9kUBXTfMjsY1vutsKuEwX3wXAMaV6eVCOcHOrQe55zXworv5BArFvSh+uHVNCHAqb4U1jTOLB+KcYnSdX569D71SUVpAeE6qul2DjqHoRCK2QSUQZLrn/bEl/JdEFq1tLADlbl6NdBsAu44UDA4uQcezRY6GiXAJ2KqL+T34gwxujp/7MKbHAsQOzh9Z16T343lxj4nbcaweyldGD/cUbliVBrkJzEwh4bqD01jL8D8hwpKry5Iv/KfCTZFADxJZBHbRZjUy/zwiP5nOYPxrajduGnZjgH2NVzowstNBZad5QE9Egg/owtUS29Ho3N5Of2w78EU6HkIzmRU= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1728; 31:fcKyXgumUNfuVQ32L4LrIBKJJYXeMyo6p5jTMl7prlLwlo8yV29ur4kT/jSeYcVqI/iSHdQ7OUnacLZq7I+m/JhCeQxxZ4RQsc1aSnOFOgwa6xadgicqhQKuGYvztMBo23K7E37GeJcdh1hIxeqpePa8vxBCy7eYvPC7hljJAWu2ORmOIWseSRKWUM5EZayuSxXA1QCQBIvPKs116umxWfPXRsyczExNNsYTNHH+GS161aldq18tWAgvWHf8zKzi3j8Dbt7fyFm0P/uHq5e9+w==; 20:xVhM/AriUfnxxCXqjbl8PldE2pNW867hkpCybIQpEdlNK+8LoWZjZ9hCIH6yvruix1e/MceKC2LB+ZxcV5zL8H6bBJZmHrmdFtc8zVicCj9Ig7gn0UyOSg6jd2Qta7asmhRljKuODqMHYQDcQBFRWToBxJe00big2aEx2gZ3LaPUpSQx/yxRWiu6hfkzOyJBQuRDTgmgwDu55wkS9GU5nwRHtIe7CVMBVmGQoyPeWIQdtNRFTYt4LxJRZSjno3d8ZBl+yR8wYyj/Z0TEXBVvXVXRLf1/tyQLzgXs2NYEGvcXjEALxG9HHbKGo7g5yTuHKHYmBh3kR2qXpJ8wfn/Mj74ggWtuHywf33N746snGrx76/E5xj0yevShFpLyY5Glnz4eqHOjGoeDY1ZKRkPmrNBXLAfMhn3EEKcsBDUTKnfn8kNmdhQyH3zjLZmF2ScCHLED2VgzjcN7a5dTy4V79sh9fjIeZmewaghCFHbKS/kQuAug64QXhGb8FwFUoIFnpax71MMQXjNgHZvxVG6eMl0OZ/1dNeUevJYVvV/MrvEmXiLruoGT4Jzqi42jc1dbNsGxf8v2DpWfOUClkB+vpHT+HZea7A8cc6jsBX0HDeU= 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)(20161123558100)(20161123564025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY1PR0701MB1728; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY1PR0701MB1728; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1728; 4:R93/Fp1YWeDOmdmfE63PekJR9SKiLdps9PZyBDUc?= =?us-ascii?Q?6SiN/Rp9Ye4PvoThupY1nKd7ZqfoKhefU6XtuJrvg1ajzpqFkWZIMAXdKVJz?= =?us-ascii?Q?cplxY0wtKpIhfWxc6SFHHARpcbJ8qpS8zdr3rD+F7qcfzKYcAECSfuEcexuJ?= =?us-ascii?Q?rGWA3FC/BgwpbcwSGzhb9BrF/R+Pk2a/N+h0dzDYupXQhdBnfSPbN1xO2xWf?= =?us-ascii?Q?6o/xapFRRZPDgyQHqhO97DeVy0fg2CL2OMzx8N+6hbA1vXPvqGMBZtly7DV2?= =?us-ascii?Q?kE2mDhvCpFuKxXStwFZpLGaDHk2B1C6tB4slBmShPvmNJwzHPD2JeefD9fG7?= =?us-ascii?Q?x4F3HqCspyhVdQOSSKr4WMS55A4F32FNuGtMAy/y4Y1DU80NJDSARBgKKcNP?= =?us-ascii?Q?p2x8yrT+2BsFlc62D9hcKVcxuAn7HEmLNQtyOjPjHvDPyHU+aAS7ozsH7nwS?= =?us-ascii?Q?qi9mOw/2M5uIfqdXY7U7pnWY25LpuA4CkuPXMa/f2KZcH5AbjCUB2WA70VrX?= =?us-ascii?Q?pViMneo/5JdZZ1HsjjqPHKqVS8nlKNCG0fu7yto2S5Zzcs+2wHd0lWwgmqlv?= =?us-ascii?Q?tFSEAXTlo4Y8tkw7fCdSt63Mx40Z2FlgHOAqAmpRky03JLHJmRX6MVCufsyg?= =?us-ascii?Q?wLXzpwuB3yvZqJw+tsEHYxnB0N1gP1f/BZjwMh7iIKbkiQH/1XnkYeL3kzrp?= =?us-ascii?Q?YEnNsy2/LtDLgxQip0fjtYLWcbN2TqZL2Z0V8rIiOYzZzLqO0hCN6ptVNXBp?= =?us-ascii?Q?cfkeDN+8bsmc4Jxs2gBRaWQdjivOm/f6n/mUSy7sKfhC+coHoCv3qxs1McAf?= =?us-ascii?Q?MIgjs0kr5QnOl3DIWFWpi6WNo8+u/PbKq/akym+BKx6hV1lfzseWOrP0yAYL?= =?us-ascii?Q?vRI9XF/bnTDcGzz10zTS2IdG1x2PdS8lhjciDzpfHlfP0Fa5xCJTQUV/AwQs?= =?us-ascii?Q?TvJbtdTf982FW3ldM1qIXDATHnXCpCbaoM7Sc3S5Ok1um/xYN+OCK6G/VyfS?= =?us-ascii?Q?LJuLiCmq9FNMyxf8oXT7jbmqcSHOquV/Ib8pOZz6gLVXn94kbm7bHYDElmwk?= =?us-ascii?Q?ylR9j4maVWnES+57HJHzh0Jv1Mcdt7zOKrGt0Mn6oJxh04XdPW8DBJ8rFPYl?= =?us-ascii?Q?W3eWBqtPPoRD3HBO5BAKXJqCdwzOKQqdr42Fk6UJ1hQxE50hkXF2hPTldRGf?= =?us-ascii?Q?evd7npuRLcgToo8=3D?= X-Forefront-PRVS: 033054F29A X-Forefront-Antispam-Report: SFV:SPM; SFS:(10009020)(4630300001)(6009001)(39850400002)(39840400002)(39400400002)(39410400002)(39450400003)(13464003)(6916009)(4326008)(6496005)(33656002)(6666003)(7736002)(42186005)(50466002)(2906002)(72206003)(229853002)(83506001)(6246003)(1076002)(305945005)(110136004)(38730400002)(478600001)(25786009)(42882006)(4001350100001)(2950100002)(3846002)(23726003)(6116002)(66066001)(33716001)(8676002)(5660300001)(81166006)(9686003)(53936002)(47776003)(50986999)(76176999)(55016002)(54356999)(93886004)(189998001)(50929005)(18370500001); DIR:OUT; SFP:1501; SCL:5; SRVR:CY1PR0701MB1728; H:jerin; FPR:; SPF:None; MLV:nov; PTR:InfoNoRecords; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1728; 23:JauVBBPFl9VHsmniJtSjR3PJ2Me9ll4GsRgp0O9?= =?us-ascii?Q?WxpCWTeDVc8zY2LFAo1FdAiksgNWRLKQyYccxiiI61GFmZ10Pee+haNhcPVo?= =?us-ascii?Q?QBTLslatAsftPnGv2MUn73TTnPT8n8CkzRE2COc5uciOgU3NEXYfKZlzX85b?= =?us-ascii?Q?k/OB1okQXvxM/U6dp0a2XhGdqTppmmqfSdsh6Fl7zVzOguWExSVzy2IFQTjq?= =?us-ascii?Q?4zi2A80cHAKbUrv0YW1sDvqkd1MCBc9MtY53hjflGjwSnAPGf6bQogyTuZYU?= =?us-ascii?Q?G9d9Wrpr0seqGCH7C0PThvEH7oEdoZKXWj9U0OByZOCY1MaPss8v0grpb7pt?= =?us-ascii?Q?djKghdL2rshZZJq2q7+rdm1C+e8bLwO0VHfGItSHUeACPU9657jNpf83uC55?= =?us-ascii?Q?N55/GtTUW/R9sxogSco1Z0n8dCAD74vCBwj8WLHT5mtwsccidWR0GFEfilHo?= =?us-ascii?Q?dI8zX+aXeseySxPewfuLtOPBAbefOknQ7Hc4ktMe3hWFMCmuDlwwe+2/4I5D?= =?us-ascii?Q?y4s3pRtpkeWHmjbdyu+OYbvuSMDL7NR6R5AYx0aGtcHhQtQVdpG4LliSdBbq?= =?us-ascii?Q?uIaZBoO4cVu5ctTQNkC6pdiKxEdprCURQVPIUhzqPZgmBWA8ADrkLho9VXRt?= =?us-ascii?Q?jTgsfJbUlUeHavO4fFr1x73t8zLEUL9KQ5Dlbg+zPtsZuy1AZUa7N1hO4EO8?= =?us-ascii?Q?UOuLcKiBwY28N3JIxNwkqUabPIPKABba5yc+l6IIV3vRkP3n6BalN8jgG21e?= =?us-ascii?Q?u1sLKpTK3QZV80CkNTDLhouoFgNEpzy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ae1+c5g0l8cuaw3I9SxrUcY/AbMTZOFCCkaIp7lGsg== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2017 07:50:58.4326 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1728 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 07:51:04 -0000 -----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? >