From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 75B4BA00C2; Thu, 13 Oct 2022 18:39:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0945140697; Thu, 13 Oct 2022 18:39:18 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 5768A40687 for ; Thu, 13 Oct 2022 18:39:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665679156; x=1697215156; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=pIssMwi7p+T0+OKDaV4nM73hlJO/F9O6JvmQzKUzWHw=; b=deM2ApbeK2DEzz1u/VWkI0RxdTYGHIqor0xnhNbG1VFSpxBRBkB2QP1Q DL92uyKVywh83zoM9CpXiOYSAUBLjvFX2nlMisjjs3A/UEKUO8hhzOrzT slKLhbnt5qviOSD5J4nnc6DmNESVIGiqCDQ29gRwnkRcYdbt01w/UxYp6 pFNcZJ+AcgFSGo2tlHrvP8KBm/akWXHFb+1AeLrUYlpUR6nlYuJqxWe5k Gp0VUV9hGBf0S6+XG8mFQpqn5Aa/ZZI9ZYh4xqgadZ7YgaLHxwx6U7c2H kfjpNG0gUGB5wE23hqF6r3Fu8NXVAG99mxrIzKqXlEG7JQaoNMSyRR3WA g==; X-IronPort-AV: E=McAfee;i="6500,9779,10499"; a="306209132" X-IronPort-AV: E=Sophos;i="5.95,182,1661842800"; d="scan'208";a="306209132" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2022 09:39:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10499"; a="752592603" X-IronPort-AV: E=Sophos;i="5.95,182,1661842800"; d="scan'208";a="752592603" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga004.jf.intel.com with ESMTP; 13 Oct 2022 09:39:12 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 13 Oct 2022 09:39:12 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 13 Oct 2022 09:39:12 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Thu, 13 Oct 2022 09:39:12 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.173) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Thu, 13 Oct 2022 09:39:11 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QIz49k3Z6kys5VKm58Q4XuaIO4AnYeqciPvUSwJ7ABw1UeE/KB20KOwR/F+bx5xvW2tqjuI5kRrNeXV5set464OwsQDuf52f+SGGLelEiSmuNrqxKYUQeo1jpjpx+2IVQKMPy703Ls3bVb0gfa3sAMa0LKrzwVlG6s25HDhPb9LkUvgP6TiW1FRR5iqKktpcTFhiZefczBCPUcM7EpMwbYGJavSWoYG/smFaw2JssojQgO9O8Sn85lScYxXPMowKpDxGukGHLN98oiUF7y/Pn4NWu6KrJS3BiGS/gKctjE6O08X3xCEf4Qz84R8okAdgYH0Myoqj+0QF0s2ylHFqkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=OpCZxO5M0ERsqAHZ0XiqoWY74heLih/FAZixggDKX6M=; b=hmwVwqYW1c0qGKWX3P3HbBz5RHIQWPWmu77rqFRM1HujGAU4RljQ8uOx1fYeh3y6e0vzIFUmzSyf8QXlraEYP0ifJSRLPRn5EPElON0ayl7EXw2roAXUM+ECB2UFD1e9YGtgiYuvFA/GA7dmOxK9b0FLT6A+XpL60OtpP8aXJV3E/7vEDdhTMW3MrnwizJAEEWpwyFVjjKnOXX4TT4a+bL9mgzoAUZJFx+svjgHIT6mv3Q/hFmnp2DfvsJA5/ZaWn4ex4o6UQ+7Ky8ZGtpnz/riv73QIdnjuddwEUJi9l8vdFzq/qGr788nBeqlFSZAYT08/Sje7/KKmhozafuEHJQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from MWHPR11MB1629.namprd11.prod.outlook.com (2603:10b6:301:d::21) by DM4PR11MB5325.namprd11.prod.outlook.com (2603:10b6:5:390::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.26; Thu, 13 Oct 2022 16:39:05 +0000 Received: from MWHPR11MB1629.namprd11.prod.outlook.com ([fe80::5582:9796:3aaa:aa1]) by MWHPR11MB1629.namprd11.prod.outlook.com ([fe80::5582:9796:3aaa:aa1%12]) with mapi id 15.20.5709.024; Thu, 13 Oct 2022 16:39:05 +0000 Date: Thu, 13 Oct 2022 17:38:59 +0100 From: Bruce Richardson To: Markus Theil CC: , Thorben Roemer Subject: Re: [PATCH v3 2/2] build: export dpdk_includes for subproject usage. Message-ID: References: <20221012144704.77973-1-markus.theil@tu-ilmenau.de> <20221013153537.7891-2-markus.theil@tu-ilmenau.de> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20221013153537.7891-2-markus.theil@tu-ilmenau.de> X-ClientProxiedBy: LO4P123CA0435.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a9::8) To MWHPR11MB1629.namprd11.prod.outlook.com (2603:10b6:301:d::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR11MB1629:EE_|DM4PR11MB5325:EE_ X-MS-Office365-Filtering-Correlation-Id: b7e971ce-193e-41f5-9092-08daad397101 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: g7zZAeVpEtLuueJ7+nOq3+k9HqH03kIsSWTvZ68fGAuuKwdMHnzMuaT9aUIbMgDJ+cW1GZ2wltDM1NDHDyBZ+hZAg8Cb76zyAMHwvmk6Ag4JfBmu4xhbMzQRl5uB+0I5CPxYtpZwvpVTSCI38sJfPQV3Hf5lQA+tc7PlDRp1AbDYrs0nZ1MeT+6h2bvZ7ndK+Fkik3BqDxHK4u31sv9NjSbAplFbA/X3WE0u/k+3W1P2RF7bz+kf82zegjB7saz7BoD2irxbsauy0ob5ccnRC+Ca34/lxSLLchYBd+k41aIRHPhdmus0uW8cWzvdXw2QSILTLDcBRLeFLpQLebl+lZetVmgrwjwblbv4hVS4YUWzYfzcwOebzDi3IaC0ct8UmTMYeWljePPd0EyASJR9nuxcnBBpmFbVhrx4fWDDToeUJeYVcX4m0pEQxZEYbDXOkXFqKgJs9Aw6DzziQ65YxIPuVorZ4YvIBY2AUlpUtynwlATjtkBqNg9X0VMbAKiogqjl26BR2HJsr79QvRNVZU5wNwEIpxJQVIAENQSjVb0sOHO+7XU9rVRlsUp4t7PPuJkuPnk6JRgZQVhExYkzU6Mn/G0dvhJNQJGlQG9XdQOwArcuFfoaT7mjc87yZRCHyC5ss4pYtFrFupnfP9Hx/F5yFUGaVoJluocoXYSII9zBTQxbY7sF8bikVncXj4lINDmS4NgZZPHXWs4JvhUrIg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB1629.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(346002)(396003)(136003)(366004)(39860400002)(376002)(451199015)(186003)(83380400001)(86362001)(82960400001)(38100700002)(44832011)(5660300002)(2906002)(4326008)(41300700001)(8936002)(8676002)(6666004)(478600001)(6486002)(26005)(6506007)(6512007)(316002)(66476007)(66556008)(6916009)(66946007); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?NA/1dJZtBj9LOZMYFMtMwHxs5NgziA7BOe7vbpb4wAUUvB9V30BAs4QQS31E?= =?us-ascii?Q?rfKOZ6reFfOqoAQ5exPpuI1GCERdO4ro03u+5rhZwFMANWcv3ZZU30zqlCTj?= =?us-ascii?Q?4X0kgXxir9LuQ3oOIW/dYLTG575yXW7O8allXul+jNgd5WC7eF0RxHcrScET?= =?us-ascii?Q?N9qd1443mKCQ6eFDAg8SlM5QgEDz6OEbHaSC5pAaLxE0aB1EmzUuorAZG28l?= =?us-ascii?Q?TiKXgh3umoE3d1/JVPG+R7A5Rr03/q2aleZYGnFwACrg/wW0KcmHzt5g5XYj?= =?us-ascii?Q?HhLmLwKYKqfippkeFgwrZ+WCX5po1qkXBvZTtQ7LofGai5rXjKZMi+QZXGRd?= =?us-ascii?Q?9pfr4vD3OVlRVseaxilFuYU4CJGOv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CYumd3w7hIqeISIqqvYc817MVnJf0k/Jpj8LQWWxzMUS/7ST/3ZWx3e?= =?us-ascii?Q?/h7EHn+a2b2Xojb86/wCCQLT8mvK9KtWp26Z5Kst7S75CWh533TNoiJ6U+JF?= =?us-ascii?Q?gI6ebEHvDEh7L6IUDDU0R6zF9Oi7o7areHOd6s22TABUpIk/kTLRfXcOszpF?= =?us-ascii?Q?J28/W79TjYqnYz3c6X9XSijtxDw8KJ1TVs6bKGPuYq9LOXDeNh0KBEusDvAH?= =?us-ascii?Q?7v5UeaHODB4yMUVO2gXgX3eRaYenA/sxgy2MG8bU7hkAay4mTxvn7LspDFtc?= =?us-ascii?Q?f1kIZDl9Pznb8oP3JoNBntatTZPEaLL3u0x0qe0IFCUu8oKkySw8oiYBCuOd?= =?us-ascii?Q?kjPUrVOBg+zq/enuiptbyd0=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: b7e971ce-193e-41f5-9092-08daad397101 X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1629.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Oct 2022 16:39:04.9203 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: /VBTG8CoKZa1gN5FSfvhVanWSYXlKBKXZ/NJEvgZfz6At9n1ueUe5RZeogL8oKrkSu2wVP2foNIVWvoHqTyWqZuYCsFJCTYXQbo/jOgHqOs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB5325 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Thu, Oct 13, 2022 at 05:35:39PM +0200, Markus Theil wrote: > From: Thorben Roemer > > In order to perform things like LTO more easily in > our DPDK applications, we use DPDK as a meson subproject. > Also export includes in order to be usable in this context. > > Signed-off-by: Thorben Roemer > --- > drivers/baseband/fpga_5gnr_fec/meson.build | 2 ++ > drivers/dma/dpaa2/meson.build | 2 ++ > drivers/event/dlb2/meson.build | 2 ++ > drivers/mempool/dpaa2/meson.build | 2 ++ > drivers/net/atlantic/meson.build | 2 ++ > drivers/net/bnxt/meson.build | 2 ++ > drivers/net/bonding/meson.build | 2 ++ > drivers/net/cnxk/meson.build | 2 ++ > drivers/net/dpaa/meson.build | 2 ++ > drivers/net/dpaa2/meson.build | 2 ++ > drivers/net/i40e/meson.build | 2 ++ > drivers/net/iavf/meson.build | 2 ++ > drivers/net/ixgbe/meson.build | 2 ++ > drivers/net/memif/meson.build | 2 ++ > drivers/net/mlx5/meson.build | 2 ++ > drivers/net/ring/meson.build | 2 ++ > drivers/net/softnic/meson.build | 2 ++ > drivers/net/vhost/meson.build | 2 ++ > drivers/raw/cnxk_bphy/meson.build | 2 ++ > drivers/raw/cnxk_gpio/meson.build | 2 ++ > drivers/raw/dpaa2_cmdif/meson.build | 2 ++ > drivers/raw/ifpga/meson.build | 2 ++ > drivers/raw/ntb/meson.build | 2 ++ > lib/meson.build | 1 + > meson.build | 1 + > 25 files changed, 48 insertions(+) > Rather than changing all these meson.build files, I think we should be able to check in drivers/meson.build if the "headers" array is empty. If not, then add the include path, otherwise skip it. /Bruce