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 EE5E04571C; Fri, 2 Aug 2024 17:15:12 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DF63140E24; Fri, 2 Aug 2024 17:15:12 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) by mails.dpdk.org (Postfix) with ESMTP id 2D57D40A7D for ; Fri, 2 Aug 2024 17:15:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1722611711; x=1754147711; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=xqISEj49zzYrh1m/PQZXJHN5yH3lKUSTd6Aq2YiIAcw=; b=KjQQtCduBP5LuD/XvqAirQiiYt4CnjRZZScL+7FT7priz76fuan7hqdA 1i5jHqhAnKiB2+4T0hbw9Xjx+tVkoCjwQ3eIV/JdLUD4ImFcoO2yiM8nP bC/03qEDi4h2FM5330gaxl2OAyiNQfeK0ZDOdm8IqfLqPWM+HdbY32jU/ d6meLSDxsU0Xe1WOWvn8mJjFtzA7B9F8abXXpdkbof+kYnqLRgh43CcgI y1FilClHlv8BE60ou86dICjXgLUOsqN8u7ovxi7iwYtn4Ia0+zhvtocM2 UC2DqY/B3ROJScwyS74x/ybUTlje9qlADhnwZbGfv5R4+Vcsw3LaxNp3G A==; X-CSE-ConnectionGUID: vw3l0uQpTriiW7/a3H8sqA== X-CSE-MsgGUID: 7NKNgmEqQwOxZMbBUqQiDQ== X-IronPort-AV: E=McAfee;i="6700,10204,11152"; a="20307016" X-IronPort-AV: E=Sophos;i="6.09,258,1716274800"; d="scan'208";a="20307016" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Aug 2024 08:15:10 -0700 X-CSE-ConnectionGUID: d0A3OOxPS4akfhFCpVkVQA== X-CSE-MsgGUID: pXdfsU/jTGSTtXhwXPsCZA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,258,1716274800"; d="scan'208";a="86364156" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmviesa001.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 02 Aug 2024 08:15:10 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Fri, 2 Aug 2024 08:15:10 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Fri, 2 Aug 2024 08:15:09 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) 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.2507.39 via Frontend Transport; Fri, 2 Aug 2024 08:15:09 -0700 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.170) 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.2507.39; Fri, 2 Aug 2024 08:15:09 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=IaJin0lXFeqWHw9UrYa6zuiFjxHu120pYvNdcYvR4OQM+mMcbaWUCwIDtdMs1awK36J46wMKstnptzNajWbVcSLllLRzrcBpn5IfqDBQ3Uj2ixpDfPp8CxeSwKHqUO6L4C+pHdEzQB/+GE4OX0mZEvJtF4jyKismcE1eh9UtM1e9mHJDbGPjf1J89jcWC8kBc4UuxBn5tS+5g8SWIjtdY1qV1cNGK3Z/2mZI/71S1/+5MhpJlYLCOVT03oWI1HsHpNat6KOi3X1pHBvIhXKxbcYzaf3MkGXXcL0ldjfIdYq5rVWXNrNez9KbEAQSYKV3hhmZldG3lNMdmNT8GlVPkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=/sSTG5jK78WAGIPqiReu0y/qlqb4Txe44bMwVp57hfE=; b=maAI2RD2PFmbTdqZOdMStxCVMVbFjtksRgpV7xjArBCqNd+jkaQCN6I196Z4kSvGwbXEm4Hd1ciL1vNfbwSMYymREUSEDZoKTt1GYOb8uWjA3/qFqghC/UQbgiwt0KwXERJbe08VIslxNwBkTSUEeyzQ3qIopRzMmz/Twe3xvwhshxKstqaA3fyCHiT3hAIr5ewTF4ARWy0GeYzGH650WZqD/ci51hazgB2O6vyGGUgX04verIaAFVnqbdGoF0FF6rA0fnR9GG0y6M0d4iXnaputzLX0/xWGZN3zXZFNLIoAzQO2f7Jv29hesck6MGdQ4jn3NLhO3Bwo5HOWl9Nt4Q== 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 DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by CH0PR11MB5266.namprd11.prod.outlook.com (2603:10b6:610:e1::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.22; Fri, 2 Aug 2024 15:15:07 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::f120:cc1f:d78d:ae9b]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::f120:cc1f:d78d:ae9b%2]) with mapi id 15.20.7828.023; Fri, 2 Aug 2024 15:15:07 +0000 Date: Fri, 2 Aug 2024 16:15:02 +0100 From: Bruce Richardson To: Stephen Hemminger CC: Subject: Re: [PATCH v4 1/3] buildtools: add helper to convert text file to header Message-ID: References: <20240730225520.83314-1-stephen@networkplumber.org> <20240801173029.65710-1-stephen@networkplumber.org> <20240801173029.65710-2-stephen@networkplumber.org> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20240801173029.65710-2-stephen@networkplumber.org> X-ClientProxiedBy: DUZPR01CA0059.eurprd01.prod.exchangelabs.com (2603:10a6:10:469::13) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|CH0PR11MB5266:EE_ X-MS-Office365-Filtering-Correlation-Id: 1d8669be-fff7-466f-0357-08dcb305e4b0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|366016|1800799024; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?U6wU5lnsPngnlBJcsRo/QHNikEqjqt1fgGZWP+4xpcoOTDb/cp3acYWWa5UI?= =?us-ascii?Q?EL5LK9t96rigOifQj2MhtX4XKCCuA9mXDG+6ZFz/bEUP6ap4amUL6Q3/LXie?= =?us-ascii?Q?qWS7XTS3pIbJWAuKtbF6ZhfSd0vaGO5Hlw1igr0jDZ0dEekfygUCA1o3t/YN?= =?us-ascii?Q?g6+0nM0746XAtDb3f8bzwSuLQ2ZvfGuLhQ8kOGbaNKgUsOuzwOx+OP3ZdEQF?= =?us-ascii?Q?QAH5vS3QM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-ascii?Q?xH+WK1gHxjVuSK7qbzZ2Qiv+/+FeBMM60+H/rnYPX+2OYZQeP7GalyFtRzVu?= =?us-ascii?Q?jlEGirdQ9ws6jp9M98AAEUpwr+icesPXnL28OSHy6D0otQz3WzzYRNuHEayP?= =?us-ascii?Q?NumrVOtId4UJNGePYQwZWQ2QnSXtr1VeqZhq6jzWEPR9O/rxUPc728a5fpNC?= =?us-ascii?Q?okPdvbi0sXmgG3KGw4sR9Cya55zU+NrST24bFhQbxIE1xg=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(366016)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?SXoXzEnvisocpaJA/rrWTKJn5Ggqzz7q6bXyQAOs9qUt8848hWO8wCVTERDO?= =?us-ascii?Q?8tu+QTqQDxhUw3oKejYTZwSt6q/EnITzv1kxmvq7x1DRFcewQPj/p6OaHNuJ?= =?us-ascii?Q?mBHgf4DWvpAF6dya+WZe2nPpGl2vHEQzf1KXYH3l4TW9sqxqNgpVBwrKx8zQ?= =?us-ascii?Q?HfH54n5RtpXmmxYyAt237sQQhUQTgUQZMcZdic/zNghFhYCohr8+CpYnJH5D?= =?us-ascii?Q?KxYKA59YxESBJqAq6Z8IVuQNwPj5w0tqSLkm0AayBcfcL1odyeXN1JIqIm8F?= =?us-ascii?Q?CAoYcC+Gphwc1B+pVIWbOnpT1VZi7wM2ziHA77OSIoJOkxyfNEQc3zrPfmR6?= =?us-ascii?Q?do+qSO3dd9cEg37jd/atJoXeteQGohRnFOneqfdQ8KMzJXMoHc2dG1vE4qUe?= =?us-ascii?Q?pKBNi3hdYiFJUNCK0X9bzONDymxFh5ZE8XdB0GSpKIYjsXhHXE7qfIsQ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ffKii+09hjiEFZY2ZuOURG8YVg9?= =?us-ascii?Q?N2FRAdVh4pnRH5ToV8TuxV+3B2Bd1RGz2/MswTdjWQM3DdAfovAVFtP4i9in?= =?us-ascii?Q?grSeYYtWMkTQiEdXcxt80zTRoV46O/S1C8mzdn1vnC/PmjEYc1qqD5rc3Js5?= =?us-ascii?Q?AqtzdvaGDnN72118+Z1MK6oBXHWoeaf8fXpnMvmY1lrH29wJzSgjOMRwnlIo?= =?us-ascii?Q?0uaavdrdCkAn1R0be3OklbcaQhZvsZujwcV6u6Knp483OQKlxcJr9S+JspXx?= =?us-ascii?Q?qA=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 1d8669be-fff7-466f-0357-08dcb305e4b0 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Aug 2024 15:15:07.3868 (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: 16vq6IoMhRIzyq9x59r2H4wb4yKMvQ3N+B8Rjbs8Jqb/zDvH0J3hSV5bZT5T6uwicF3fF5t6gOW+wmWPt03j7931oSHdmJ5KJDQSPyLwwSk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR11MB5266 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, Aug 01, 2024 at 10:29:08AM -0700, Stephen Hemminger wrote: > Simple script to read a file and make it into a initialized > C string in a header file. > > Signed-off-by: Stephen Hemminger > --- > buildtools/gen-header.py | 36 ++++++++++++++++++++++++++++++++++++ > buildtools/meson.build | 2 +- > 2 files changed, 37 insertions(+), 1 deletion(-) > create mode 100644 buildtools/gen-header.py > Resulting header output LGTM Acked-by: Bruce Richardson