From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7163980406052618240 X-Received: by 2002:a05:6512:3087:b0:500:9a45:62f with SMTP id z7-20020a056512308700b005009a45062fmr1568427lfd.8.1693563755976; Fri, 01 Sep 2023 03:22:35 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:6917:0:b0:4fe:1116:70d1 with SMTP id e23-20020a196917000000b004fe111670d1ls16358lfc.0.-pod-prod-09-eu; Fri, 01 Sep 2023 03:22:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHm8K8xFCLx15TKRXPNgQawpH3UfxQRKS/Umtj3KUftqe32+O0hKuCGqXJLcuPHynLuF5XM X-Received: by 2002:a05:6512:2512:b0:500:b302:3281 with SMTP id be18-20020a056512251200b00500b3023281mr1522089lfb.27.1693563753301; Fri, 01 Sep 2023 03:22:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693563753; cv=none; d=google.com; s=arc-20160816; b=eXmgSItpzeNAr/s0Z4EhT/lerEc0784VV06azFWZYCIVwsvBB5TiM8Kx3WVVr8r0lr fk5PL98+v++DwBjUrplXbLcbA5zMzlHcHmnyoDoKojXXZNZACSycQwaOZDwAQQcLDFn0 ATDyQQnzEkiT5dTrUss7bMF7Y9Ehx5gCPqaY1BWvnvDMR5NaNXX0VC1/kGiK3RXILc9U U3ffGJWH0QaDle9rwMwPYQ2358iJaZWqftlO+v4bu1c5VozEmYjr1ePUdFwygnNhjDK1 Ie59+kyTyWAi7jJgrSClLLc1GFcbCEDA59owgupJOF64TVN1+OS0v6FbxryctSrKmg2+ WSLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id; bh=0Ry9dCbwiJv/nmtIxR8GJv6pBMVvbAidT+rxDkrb09I=; fh=+ohBtoJkngH9EEsi1cB5JC9aFz+ALePE8DL3DRydGmA=; b=0fZ4y+BhRk1u6NelZsRxWHB1Tw+8ZusIJaIXMtQOcv12Rx7m6qRptW6h6k5L6PqrT4 eNK5ns9j+/W5MS5HRVASl+UUvyn9Z/RE/wb3cYh0J8g6Y2TN9XNEnhjec11NDjsct32N YvgzFzzdNoQ6Tx+yWZjcOsoGFaqWwvrd35ZJdu10Yd4eYHt+OLKH6QLi8QkH68bFXOrG /IAjo5pQHKkBvL66x8r4aNc2PWiUJFrO62AIvtZEenX8jZ14dPhoVHEQst73ErxLwrY+ sWRrQnJffkdpekiMf9fNcrxSaYwLHlgRW8/IWRBlbK7JZ/XsIfg1roRjJ47S43YsylbI o6dw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id s6-20020a056512214600b004fe3e3471c8si227503lfr.10.2023.09.01.03.22.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 Sep 2023 03:22:33 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 381AMUql025239 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 1 Sep 2023 12:22:31 +0200 Message-ID: <3b5746cd035bed20ae3daa8d497cf14777c9ca91.camel@ilbers.de> Subject: Re: [PATCH v4 0/3] linux-custom: Split up binaries from kernel headers to kbuild packages From: Uladzimir Bely To: Stefan Koch , isar-users@googlegroups.com Cc: jan.kiszka@siemens.com, christian.storm@siemens.com, michael.adler@siemens.com, simon.sudler@siemens.com, cedric.hombourger@siemens.com, adriaan.schmidt@siemens.com, felix.moessbauer@siemens.com Date: Fri, 01 Sep 2023 13:22:31 +0300 In-Reply-To: <20230821134501.2681654-1-stefan-koch@siemens.com> References: <20230821134501.2681654-1-stefan-koch@siemens.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (by Flathub.org) MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: kX//HIaULXFk On Mon, 2023-08-21 at 15:44 +0200, Stefan Koch wrote: > Hi >=20 > This updated v4 patchset implement suggestions from reviewed v3 > patchset. > It's now a set of five patches: > - linux-custom: Split up binaries from kernel headers to kbuild > package > - linux-custom: Provide host and target specific kernel kbuild > packages > - docs: Update custom_kernel docs for split up of kernel scripts and > tools >=20 > The main use-case was to swap out the binaries > from the kernel headers into kernel kbuild package. > This is introduced by the first commit > "Split up binaries from kernel headers to kbuild package" >=20 > The second commit "Provide host and target specific kernel kbuild > packages" > introduces that the binaries could be swapped out into host and > target > specific kernel kbuild packages. >=20 > The main development goals were these: >=20 > 1. Solve already known isar custom kernel > limitations from doc/custom_kernel.inc > - kernel headers package does not support both native > =C2=A0 and cross compilation of kernel modules when cross built >=20 > 2. Honor recommendations for future from doc/custom_kernel.inc > - Generate kernel headers packages for both host and target > =C2=A0 when using cross build >=20 > 3. Add extensions known from debian kernel packages structure > - Generate a kernel headers package without binaries > - Create specific kernel kbuild packages that > =C2=A0 will ship the "scripts" and "tools" binaries > - Use symlinks to point to the "scripts" and "tools" binaries >=20 > 4. Be user friendly > - Avoid redundant configuration of kernel source definitions with > user > =C2=A0 actions to enable kbuild package generation > - Use already known way to include linux-custom.inc in just one > =C2=A0 own bitbake recipe that provides the kernel source definitions > - Keep known user behavior for existing build configurations: > =C2=A0 just update isar, request "-compat" (and "-native") bitbake target= s > =C2=A0 and kbuild packages for target and host will be created > automatically >=20 > Best regards >=20 > Stefan >=20 > Stefan Koch (3): > =C2=A0 linux-custom: Split up binaries from kernel headers to kbuild > package > =C2=A0 linux-custom: Provide host and target specific kernel kbuild > packages > =C2=A0 docs: Update custom_kernel docs for split up of kernel scripts and > =C2=A0=C2=A0=C2=A0 tools >=20 > =C2=A0doc/custom_kernel.md=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 16 ++-- > =C2=A0.../linux/files/debian/control.tmpl=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 25 ++++++- > =C2=A0.../linux/files/debian/isar/build.tmpl=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 | 12 ++- > =C2=A0.../linux/files/debian/isar/common.tmpl=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 | 10 +++ > =C2=A0.../linux/files/debian/isar/install.tmpl=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 | 73 ++++++++++++++--- > -- > =C2=A0.../linux/files/debian/rules.tmpl=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 2 +- > =C2=A0meta/recipes-kernel/linux/linux-custom.inc=C2=A0=C2=A0=C2=A0 | 53 += +++++++++++-- > =C2=A07 files changed, 155 insertions(+), 36 deletions(-) >=20 This passes fast/full CI, so we tend to apply it next week, if there are no objections.