From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7163980406052618240 X-Received: by 2002:ac2:549c:0:b0:509:46ff:6e57 with SMTP id t28-20020ac2549c000000b0050946ff6e57mr6955765lfk.8.1700551573521; Mon, 20 Nov 2023 23:26:13 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:3083:b0:50a:68f4:6371 with SMTP id z3-20020a056512308300b0050a68f46371ls90154lfd.2.-pod-prod-04-eu; Mon, 20 Nov 2023 23:26:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IFt+3EwJ/bx5Ec9uT3DwrwsamFa6Xqv524BT/xpMgmhDORCFfl9GJkLLtwVTw5+4dUHiE8y X-Received: by 2002:a2e:920d:0:b0:2c5:2813:5538 with SMTP id k13-20020a2e920d000000b002c528135538mr7244827ljg.21.1700551570911; Mon, 20 Nov 2023 23:26:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700551570; cv=none; d=google.com; s=arc-20160816; b=sOhXL+aKlnEwBtYoitkryqfFVrA96HRA9APGyPhOyOH5UY5oNo2kQfYhApULPPyK5B 3/kG1hmTCeOARIPUR59UMTNCQUcO63svOn+BG3LTQxWB+SeXyFUXU9p4lDFHzLImcISn 9b3MKEJRwd6d1ZEyVifIVpivm9v9WzkXSxuLg9tK4FyBHyfn+tyP+rzRuMltX7RHG+Xz Wy9mbI+KzpkroqABTzQ2vgXricbAKERUNQuiNpQVHjDFmvbUAQEZVlYeHbZrN3xSTJaB bYn7hR60ZB1pV6YB1qERSEECxzmQSMmh23X2+vGFL8LOgDR8vRNdIsBultilb3I0tyHt Id0A== 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=2SFox5cWiZFArNdC06uZRPrhO4czEO7YOu1Ki6gW7QQ=; fh=+ohBtoJkngH9EEsi1cB5JC9aFz+ALePE8DL3DRydGmA=; b=Le9xtjRTNbkYLmbZIkGvcx8jXLRU9dnwAAD+VUFw1fZecn3F5WG63xZ1kxBE9pMt41 JiWr6AA9qNkCkdhXash+1QFEJkBoTGBdAjpcQyuIkjaQBqyt5fs6UpsmLVLhDsoo8Hcy EoLvM4mcTEDzW+2YEAtUQctSAs3ISs2lwR//XwnL4sSlKGODI45LRAX3SNo4MglMInjX JBGEpgubJ/njXL7LTwlYIrIyPNRpQxXOsq1pUhDRAW9FD1TrxzS7wzGwYhYSRWCYX+Bq t+9rAlaifyhsIDd/xDu+LHf+/LnHWzCUkyEFGQDshMOAbH3vUIdTxgOAFIkQHg+Bp9qM 1iMg== 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 o7-20020a05600c510700b0040a42c24845si33126wms.1.2023.11.20.23.26.10 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 Nov 2023 23:26:10 -0800 (PST) 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 [IPv6:::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 3AL7Q8tS015635 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Nov 2023 08:26:09 +0100 Message-ID: <4d35ec4ef2f6626d26cb4962accaebf369525e59.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: Tue, 21 Nov 2023 10:26:05 +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: noOfYTTS46uc 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 Hello. Patch 2 brough up a discussion, but patch 1 itself looks OK. According to internal discussion, we could apply patch 1 before "v0.10" released (with documentation changes from patch 3), if it's not too risky for being in new release without response from multiple downstreams... Anyway, since it's not applicable on top of current 'next', it needs rebasing.