From patchwork Mon Oct 28 11:13:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 3891 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 28 Oct 2024 12:13:43 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-oi1-f187.google.com (mail-oi1-f187.google.com [209.85.167.187]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 49SBDYVs005800 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 28 Oct 2024 12:13:35 +0100 Received: by mail-oi1-f187.google.com with SMTP id 5614622812f47-3e5f4437768sf4050572b6e.3 for ; Mon, 28 Oct 2024 04:13:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1730114009; cv=pass; d=google.com; s=arc-20240605; b=K3U9ki9j+o9lXmgP0XwQZr5CcqDNI2puVlEhmBUTZGwkZ2dkwJt5KYoRfHfzB6fN55 frdmEKta7msuysCW2YBX3UYO0l1YEWLtEKjdmqs4kNFzj54VlGF5qlg7ySrWJdiXHtC4 ai60ef1IcgeGxqOZ2sZLmyVGCQ9QZfZhPfjULVAwrTD+7SP0djfXNH5gzHuP/ls72K06 P7B5oi8RJk8je5r7YN+isg5ByIRXmNl2D61Wf0+Z5pkKV8EZjOU/my5KBDcNltEi1CuR MDwNQHM3OAXzqHm2SjKHyb0rOiQgjfkdkkrfERJ30mXCb7GAozL/HOSKC9h/Lj+DNKd0 zRfQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:feedback-id:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qzyokcVSrb6vCLSudzXCLz9td2jbZ6ZB89WOjulHsNU=; fh=dtT8uWYJGdylxr6RDHo3QZbM+hRoc7sPbwi3jyHL9F4=; b=V4lYBx8Q5GodFkNa2r/xWlISkZEDsaV/B1arUNYKNsrKjrpx77SuuCO5cuILBl/VCp 0W/5GS7/UWH3vsjIIuobZT2IIRj6XZHgoGlxRddLTxhpsJen9YEx6xMehgGTZnjV9soH KLU9cwkSCjfppnqddHsKUXRsUbepfNFm2+jQf0yRImPt+r4yx2C7CP1n9D1TmXkKlhLj HvnDxvq7X1kjFbXn9hon12RPDpSz/pfUqwzZAJwJAwVFg7Tl12pGqU2MSqoPmSNV9Tbr P8D+HyQ4sDWT+m9gXU7a3+9bHwXx5gEQwrddvJfcm7Jf9002GpvsgC0C2c/w/uFKGEpw rJVQ==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=bZ6TDhNC; spf=pass (google.com: domain of fm-294854-20241028111325da1582ccce5bfd3bc6-4iqby9@rts-flowmailer.siemens.com designates 185.136.64.228 as permitted sender) smtp.mailfrom=fm-294854-20241028111325da1582ccce5bfd3bc6-4iqBY9@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1730114009; x=1730718809; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=qzyokcVSrb6vCLSudzXCLz9td2jbZ6ZB89WOjulHsNU=; b=YazKbdWDuNz/XrBtWH7YNFj5PpL2MmNkbNY5JAPDGel8EStKEuU01jvle6cTfImmxr rYXTGLTIk7t+15XRJOmOzZUQk9uLOdYocw5pLX+ikgQ/2KkCtvZxS4RYurMqUOc0Txql YeVvYQpUaayB03Q3DdTjy9rulKHsF9EQA1mblmMuiTYENNwSE9je77dOS3Y5+gwbVyeS UR/NMAd7ZkE8JVr1hZAdWSskC/DCQh+KJoZ51er1mBBwJZidsdjxm2HCte6f/0yI2owo 7Th/Fnvcqde70jh0LhJeJW5ZeX2wMs71x/R+NUEIOm+8AMBXodn/fVal0/vtdaCXIlfz E+lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730114009; x=1730718809; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:x-beenthere:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=qzyokcVSrb6vCLSudzXCLz9td2jbZ6ZB89WOjulHsNU=; b=iaP8peHj32U2SKVFfHL0IdwIrEFQh/IzgXxvjt4We/VHNrnuV2WJq38DOz1XaaqgeL 5Ndo91dfOlxoZ7Wnc3ChBDvQOb6wBPFnBw739eEDLWkaQCBZYUZqm2SrtWG5p/9PLiii euEU2dz0wR2ICv40my+ybjSyvz/Yjydlr1w7+bxo1dbx6G50luqPJgNN5QsDt2tSCzkw AvYPMF7xx9JKrlF3fh2/cFmBPKCzejq8iGTycGJaMxyRuRcPqdn0TVsFtnZANWO34oK9 fyhlEwfINypbdyf8Nw2P/53BfITZ1A7x6mxd6BemaPccOzBPxHtFpP8EfmGcBBtJVe/G exUg== X-Forwarded-Encrypted: i=2; AJvYcCWLhHU2ONyheHa7kBcJLkjqTO/QOo9yq3y1Jq8o0IesYXL2F2nkUfKInM11W1ZD7EmX6Xm3xKI=@isar-build.org X-Gm-Message-State: AOJu0Yx0dLC7sP7him1tkoF4yvT4evEhal5ybUm/T3hgqg8EhJJEisp/ gqsy6w2lmMUJ/vQMJuG6rWSY7fVdTG9P82oSTZ0S2wcry4lO1Cqn X-Google-Smtp-Source: AGHT+IG8LLkrsPdEJ2pQob/MiU1AjpeUWqUljoL5FRvHVxQ2ONyKdt75j5coCcb7rJ5XJfu+xT2zCg== X-Received: by 2002:a05:6871:70c:b0:25e:fb:af8c with SMTP id 586e51a60fabf-29051b74c4dmr5937610fac.18.1730114009065; Mon, 28 Oct 2024 04:13:29 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6870:9b0e:b0:24f:f4eb:3558 with SMTP id 586e51a60fabf-28ce477687fls3657464fac.2.-pod-prod-01-us; Mon, 28 Oct 2024 04:13:28 -0700 (PDT) X-Received: by 2002:a05:6870:c98a:b0:288:67e7:a862 with SMTP id 586e51a60fabf-29051bfbb11mr5639488fac.25.1730114008147; Mon, 28 Oct 2024 04:13:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1730114008; cv=none; d=google.com; s=arc-20240605; b=OG7eCIPLGqU+ojXgN1m0AJrS98tUXxGHVbfV0jOHqWLb/DRZH7Kcw+EC89yQ1MDhpE fcY4WBMtJQMrztmFKJ7JteDEVbmTuehRDr7rZGMZN2uCGgVWSUkwvc551FMg6vnbaRId hQ5g1jEx5/DDS2mg3zAkDz/4J5nZfZxceinYXSiJc9cTzvoPVZLb8qsQk5mg9ge5WeeC nTysEcPw2in6LmvTS3Wu85mwWg9vmLDP4rWscnXWCvHNpmmFqfe8sBt6tZETwzG8I1kE zauOpyoHR36twMc5WXbsLdQtL4jFdHK7Px52xY++Pa018IoFMjm5vJzR58/aL7C7Kdpn NJJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=feedback-id:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=o1GktqF0LBH7CbrJw4F/EH3jlNm3mR3Ek8V5b1BTsbA=; fh=ulED1J3d26Y4adt580w0jhpOwKZtxU8dixW6JiIfxVE=; b=Mk0TkUKExkAllU03ZaIZVOXue+/mpM4yt5MogM0yNl1oboG7GZJAnLWQ4ZlDZZfJ26 fvMQiVMBlGPetx3+gZd583tI8eq6OaoxC3GUF1+4OdG59StI7jQ22TWIx2mT7ZrrhIec xzrYWBGu5GD99EZfx3SKHl0u/ox9WaRw8RqCD0iQ7VhOLB5z6rgWLvv58qhO/hDheFZq 6Eg/mexw58EcxqbykLpHAhj3HNu2ymno8BJMgtYgCrHwswFPki/BR941BfT2EBF16tx4 QblNrN5dtG7fU0WrwP56/BVG1ig/Jew9u/afM3Q0ZkvproLT9Q9naEYvZDGWZTzbbHCL 9Alw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=bZ6TDhNC; spf=pass (google.com: domain of fm-294854-20241028111325da1582ccce5bfd3bc6-4iqby9@rts-flowmailer.siemens.com designates 185.136.64.228 as permitted sender) smtp.mailfrom=fm-294854-20241028111325da1582ccce5bfd3bc6-4iqBY9@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-64-228.siemens.flowmailer.net (mta-64-228.siemens.flowmailer.net. [185.136.64.228]) by gmr-mx.google.com with ESMTPS id 586e51a60fabf-2903810d627si267749fac.3.2024.10.28.04.13.27 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Oct 2024 04:13:27 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-294854-20241028111325da1582ccce5bfd3bc6-4iqby9@rts-flowmailer.siemens.com designates 185.136.64.228 as permitted sender) client-ip=185.136.64.228; Received: by mta-64-228.siemens.flowmailer.net with ESMTPSA id 20241028111325da1582ccce5bfd3bc6 for ; Mon, 28 Oct 2024 12:13:26 +0100 X-Patchwork-Original-From: "'Jan Kiszka' via isar-users" From: Jan Kiszka To: isar-users Cc: Stefan Koch , Cedric Hombourger , Florian Bezdeka , Clara Kowalsky Subject: [PATCH 1/2] linux-custom: Drop redundant setting of CROSS_COMPILE Date: Mon, 28 Oct 2024 12:13:23 +0100 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-294854:519-21489:flowmailer X-Original-Sender: jan.kiszka@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=bZ6TDhNC; spf=pass (google.com: domain of fm-294854-20241028111325da1582ccce5bfd3bc6-4iqby9@rts-flowmailer.siemens.com designates 185.136.64.228 as permitted sender) smtp.mailfrom=fm-294854-20241028111325da1582ccce5bfd3bc6-4iqBY9@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Jan Kiszka Reply-To: Jan Kiszka Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,RCVD_IN_RP_CERTIFIED, RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= From: Jan Kiszka Since ac2bbd7ca249, we set CROSS_COMPILE in isar/common[.tmpl] if needed. As this is run before every target, we can drop initialization in the rules file. Signed-off-by: Jan Kiszka --- meta/recipes-kernel/linux/files/debian/isar/common.tmpl | 2 +- meta/recipes-kernel/linux/files/debian/rules.tmpl | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/meta/recipes-kernel/linux/files/debian/isar/common.tmpl b/meta/recipes-kernel/linux/files/debian/isar/common.tmpl index def8480e..5ba11289 100644 --- a/meta/recipes-kernel/linux/files/debian/isar/common.tmpl +++ b/meta/recipes-kernel/linux/files/debian/isar/common.tmpl @@ -51,7 +51,7 @@ main() { done # variables to be exported - export ARCH + export ARCH CROSS_COMPILE # are we cross-compiling? BUILD_ARCH=$(dpkg-architecture -qDEB_BUILD_ARCH) diff --git a/meta/recipes-kernel/linux/files/debian/rules.tmpl b/meta/recipes-kernel/linux/files/debian/rules.tmpl index e8ae3daa..598ae93f 100755 --- a/meta/recipes-kernel/linux/files/debian/rules.tmpl +++ b/meta/recipes-kernel/linux/files/debian/rules.tmpl @@ -1,7 +1,5 @@ #!/usr/bin/make -f -CROSS_COMPILE:=$(DEB_HOST_GNU_TYPE)- - MAINTAINER := $(shell sed -ne 's,^Maintainer: .[^<]*<\([^>]*\)>,\1,p' debian/control) DISTRIBUTOR := ${DISTRIBUTOR} SOURCE_DATE := $(shell dpkg-parsechangelog -SDate) @@ -13,7 +11,6 @@ deb_top_dir:=$(S)/debian # Dynamic variables to be passed to Isar build scripts isar_env=$(strip \ - export CROSS_COMPILE='$(CROSS_COMPILE)' && \ export DEB_BUILD_PROFILES='$(DEB_BUILD_PROFILES)' && \ export DEB_HOST_GNU_TYPE='$(DEB_HOST_GNU_TYPE)' && \ export MAKE='$(MAKE)' && \