From patchwork Tue May 14 14:15:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schmidt, Adriaan" X-Patchwork-Id: 3553 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Tue, 14 May 2024 16:15:45 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f56.google.com (mail-lf1-f56.google.com [209.85.167.56]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 44EEFfbu032016 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 14 May 2024 16:15:41 +0200 Received: by mail-lf1-f56.google.com with SMTP id 2adb3069b0e04-52047ad4c79sf4503441e87.3 for ; Tue, 14 May 2024 07:15:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715696135; cv=pass; d=google.com; s=arc-20160816; b=oavGobDSzfu5hU4OGsczdxFFc3T1Cfq3BfEqUqIwEW7/jjVGPUu0ygGiNUVB0Vo3ll erlhhPutaOz77S1V71hTSLpS0udDJTNgthUMndsNg0PngG+ul1ccVILWyrk/lo6ArXT5 BtV2QrUfKi2TlWxWOr5ElEfYUcpclkoHciZA7+t/MnlpZHQRl0JFtYQhFCAPVWJFxDxJ 1Lj0NcTyeM0CniMHjUwmqmeM8vQDOW+lzcGzjYUljxrHW90unfUey5uMKrU2MXvvbW7h kR6NhK+69d05SH/eygGk9xRX58UFKCrbW+LheSa5xAfxs6QDmcw+ryyt+WpRoB3+lMnF XgtA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=/Jo2P/XZNTIJfLSxh0RymauTMKwVoPR62CaSWGtHFl4=; fh=EoMzkDE+FDFeqFJ5ppJd+cR0qUDtOuvop3uboiayapY=; b=ZVjIbfx0uRt7J32Rc9ShF/3D+YESMSZ7y4EtKl9qJlLPeO4pb8uNsMvBkq2aUT5r89 oK6IZHqzU48zdbh54epeqIzInMevaoTadCP2iB8A0jh15BQd1aGxE8UEGw0tXw2XJ5cM roH3AnmnEshJGqzS66ycEPFB7+YVCLkSLtIH8lUy/0cv6C4NCsPh2bNjLuJkEmozcN/a hCXkRUc2ZYHEDMpm3mvIUqiXvtjTjBNUCa4fgDeyN2strVE7jbR5EXul6P1JV/TFhUpV iyCHWPNQ1HmtZW/C7Cykq2l1mXJyYmcEXn57mP0ITtF11UlVLWKULGqtoGPI7V3ra7HK +e7Q==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b="b7dqcl/Z"; spf=pass (google.com: domain of fm-526363-20240514141531e6a15fe19e16e7b2d5-3uom6_@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-526363-20240514141531e6a15fe19e16e7b2d5-3uom6_@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=1715696135; x=1716300935; 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=/Jo2P/XZNTIJfLSxh0RymauTMKwVoPR62CaSWGtHFl4=; b=JemtyBgJnVcGYopDDwOBz/NnUdz/F8PT5Qx0bxy25ArvZRfVkYivHSy4Ai9gy2kysJ gzuCDu1FZMTIPKQ3B+IYqA8vd441MJmLx+cl7YhJHTdZxAxFVA14Jh/8FSHIdIdPnc1Q N77SEPPnk2ZleYPnW4uQLw32poO+2E2QC+SyMZL19Y99JsztbCW7b+bRDYlzjRSCrYP+ LehFfbqgvRJce5Md2LdOE4NRCqGGQgzZvxsG8b9k9swvbKeTlE7ywVUcsn9ZBMsC57zV bh3I2VsiL9TzPua+FVGtg4UjZf8ZbaqCMOAV74W1UJu691LcEO6qPI/kFbbMld/8D3p5 WEtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715696135; x=1716300935; 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=/Jo2P/XZNTIJfLSxh0RymauTMKwVoPR62CaSWGtHFl4=; b=YDlx5NbmqSY5Gq3KkrOmMuS+cFbHjkK0lo2XlyhMOTN2d0sPdrbDdRHyCGRj9K9fqX eiFLICxh44C7YZmH9cRFWAkCz4gRhxC8zMcPkVgEJkGnjEVHmb7MEGFHTJVnvw7Ulkql CWmS6dN+dJTA2D9UW4eDcOlfze56yRgZSOIYjgBP042PGl2OY0uC++IB3Am8Hzt+rRFx OwIk2q1wZd8WPGvwkMfTbsQQ1wsI7WEoBrHFq8Vd+J+3tqBZAXmWdxD97WmvXgDdLC4Y hjWm2rgQHi/CXv53QINFs2Z6tvea8tDcT++a4MAsy3uq29fE4TWJXwLPN2WAIb3tCz11 jb6Q== X-Forwarded-Encrypted: i=2; AJvYcCWDWvOCmOqmppA1y7qLYezog1RsZsoV4jmIbrzjSStV3/oL6awaB0V2rlLeLm7hTc8Fvst9qYy9KW+1nbtnx7zMX3Q33hU= X-Gm-Message-State: AOJu0Ywl1jUJCYlcFgvSScH9SwihwP5hff6LY54F31m+83c4tAyMiUUu PDCY2C4I2z3mY1NxrK4lkFm4sNIeQltN/e+5pPqBc1ZKN4JuP6EL X-Google-Smtp-Source: AGHT+IEZ4OIQQ9FR6f38qFvXXgeHBRMBBWerG21KVBMRFMtDrhPxApIDxegQpFITPMEP84TAEDG4Dg== X-Received: by 2002:a05:6512:3447:b0:51d:82a2:8d72 with SMTP id 2adb3069b0e04-5220fc6d7fcmr7259450e87.40.1715696135040; Tue, 14 May 2024 07:15:35 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:605:b0:520:5261:9cbb with SMTP id 2adb3069b0e04-521e462f4fcls1131932e87.2.-pod-prod-06-eu; Tue, 14 May 2024 07:15:33 -0700 (PDT) X-Received: by 2002:a2e:a175:0:b0:2e3:3b4e:43e4 with SMTP id 38308e7fff4ca-2e5204b2ed4mr85743081fa.32.1715696132800; Tue, 14 May 2024 07:15:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1715696132; cv=none; d=google.com; s=arc-20160816; b=Y1hS1IYDrBOLHJiiwtHngAHMghvZxgel1dx29WwtXr5Al/OaOUtwwKdHiQEi39KreF tgEC6RWi0lM9fzNOPzi/OL2pOZjQl2WUSL41Bre6kvjkScOykcz3cDg8Pp91biPEb1aJ HVITqiNzlLDNwKBlhPWtnsCAbPpCY77Q2UXhg0TTcDn/nZGNOaBxDPIVGOz0aS3nmdYb ZM4SxvZyjr13XBmQUuv6HSCDa3dvo/E38qZPM0yzchRlnhza9PUQK6sEqNU/YQlSozgT Ocx3W0bCkrRojw7DkWQ1tuhJuWKXqyrLsA49ycPqHnS0BE4ghoKGwLOSSBgC7+zJVEOx PnRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=F5Yys26ACZ8cgFvTxSWy12G1M892FwozcM1r8VZPBrM=; fh=qxj0qH++O2CSqXuHk1zmqR74UpYndUvoWfavR7y1BqY=; b=x9JoMvNHgDiVGUsBDfTzrTF+8WxdKv7/MwzjhL+S2Kq3kGZyvAUf/B84DAydPax0Go k2GQKekzEdfxdhWvcq39iMpiW9CxIPjaki5CjecOeXOcJmp+Y35wKm0OqhQB/xFvLMe7 Ks7JzLwBfTFruSydux9RVzQMyQbJy1LN0q3FziGs4IMCsDmfbSYQDbpswst389fMPi2F c2dWCoY3UZg717R68NI/0Neu1Ufc9Ub4jvRidlP45eb6O56fghErOywm7k/hNE0u7Vys DUOYrk7vBhBxzTmMFLmk3xsQmnYVNvYvPPbHmnpcAZUYOKY4Vv9AJIAWuBBottne6SF3 AgbA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b="b7dqcl/Z"; spf=pass (google.com: domain of fm-526363-20240514141531e6a15fe19e16e7b2d5-3uom6_@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-526363-20240514141531e6a15fe19e16e7b2d5-3uom6_@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-65-227.siemens.flowmailer.net (mta-65-227.siemens.flowmailer.net. [185.136.65.227]) by gmr-mx.google.com with ESMTPS id 38308e7fff4ca-2e4d1836a6dsi3224321fa.7.2024.05.14.07.15.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 May 2024 07:15:32 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-526363-20240514141531e6a15fe19e16e7b2d5-3uom6_@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) client-ip=185.136.65.227; Received: by mta-65-227.siemens.flowmailer.net with ESMTPSA id 20240514141531e6a15fe19e16e7b2d5 for ; Tue, 14 May 2024 16:15:32 +0200 X-Patchwork-Original-From: "'Adriaan Schmidt' via isar-users" From: "Schmidt, Adriaan" To: isar-users@googlegroups.com Cc: jan.kiszka@siemens.com, stefan-koch@siemens.com, Adriaan Schmidt Subject: [PATCH v4 2/3] linux-custom: use to_boolean when checking ISAR_CROSS_COMPILE Date: Tue, 14 May 2024 16:15:26 +0200 Message-Id: <20240514141527.1997170-3-adriaan.schmidt@siemens.com> In-Reply-To: <20240514141527.1997170-1-adriaan.schmidt@siemens.com> References: <20240514141527.1997170-1-adriaan.schmidt@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-526363:519-21489:flowmailer X-Original-Sender: adriaan.schmidt@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b="b7dqcl/Z"; spf=pass (google.com: domain of fm-526363-20240514141531e6a15fe19e16e7b2d5-3uom6_@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-526363-20240514141531e6a15fe19e16e7b2d5-3uom6_@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Adriaan Schmidt Reply-To: Adriaan Schmidt 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=-1.2 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,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?= we've changed style/convention in Isar sometime during the review of the kbuild series, and this was missed. Signed-off-by: Adriaan Schmidt --- meta/recipes-kernel/linux/linux-custom.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-kernel/linux/linux-custom.inc b/meta/recipes-kernel/linux/linux-custom.inc index 7b752f2b..3fd0c6c2 100644 --- a/meta/recipes-kernel/linux/linux-custom.inc +++ b/meta/recipes-kernel/linux/linux-custom.inc @@ -97,7 +97,7 @@ KERNEL_NAME_PROVIDED ?= "${@ d.getVar('BPN').partition('linux-')[2]}" # Determine cross-profile override python() { - if d.getVar("DISTRO_ARCH") != d.getVar("HOST_ARCH") and d.getVar("ISAR_CROSS_COMPILE", True) == "1" and "class-native" not in d.getVar("OVERRIDES", True).split(":"): + if d.getVar("DISTRO_ARCH") != d.getVar("HOST_ARCH") and bb.utils.to_boolean(d.getVar("ISAR_CROSS_COMPILE")) and "class-native" not in d.getVar("OVERRIDES", True).split(":"): d.appendVar("OVERRIDES", ":cross-profile") }