From patchwork Wed Nov 27 09:42:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Mikanovich X-Patchwork-Id: 3964 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Wed, 27 Nov 2024 10:42:42 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f55.google.com (mail-lf1-f55.google.com [209.85.167.55]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4AR9gfif012445 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 27 Nov 2024 10:42:41 +0100 Received: by mail-lf1-f55.google.com with SMTP id 2adb3069b0e04-53de49ccfaesf2174891e87.2 for ; Wed, 27 Nov 2024 01:42:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1732700555; cv=pass; d=google.com; s=arc-20240605; b=NkAmwZlT2uGmnE/CYkrx7xvTdZoEqMzxcXt84Hebr4erIdYE1iSL/H5DbDpfJlvkxc R09Zbio70dEhRr/ETGvT5zk+LCDfLzxp4kvZm/cz7VVPiLPhnlqcOjSvX6H9cdVqkE1J o43g7yR993fal4lVdmp3L4iTk7CxHb/n5zlnBmCzXQiZlCfQQIDokWKM2TXRimkscm/M 4D+VkOy1NVfSNV6689hGsxuNlGvmpYBAcSt7O164RHi1woMauzQd1XRhdZhRtpKME7Ta Va0gvDSdrdind3ocicenYfMMrMHYAq5NzfOyR8pIsjPaRd5rhpa1wQVphopoBYHVRX5o DyZw== 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:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=baHHSVgFM+rRjQrGnioTopr7r1c6gj3q6Bl/pHQuins=; fh=4eRQRtb7BIf48EOHzVKzNj5okZTiHy48dQJl9Rc/Xv8=; b=Fo4Z5AGntpw6gCC9zIkoGeMVJthwmOYpEhONYf3Jq+GbnRGrO78p1ppjR3sKqK4GLy DxsJ6+CoPuSRxDfXeKgqHjLqNF8bfAnt0KLbWRzYY6tijABeeHT7j1VTR+bnnKPryPSD hr5sNa87s/OOY5V9oAEz2DEw60JFHUIVQORWK30MCFgrtJgwYpOR9/KY2M6vakCQe+3P bFLw/0o/0N0mUfXYDyat5Q+rNlYlmE+LGlXaVZRBdXjLHHgh6ulNBriyVb3pHmsiZ2K7 6qj0HqaEvR4tVJYzBVbggpc+s70SvjnUARd4lNgbqDn8C2s6NWibzYLfE/aAy5yPDl5N kZBQ==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1732700555; x=1733305355; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=baHHSVgFM+rRjQrGnioTopr7r1c6gj3q6Bl/pHQuins=; b=OonkBoKwkV+uu6o4EzfxsF0tYcoxwW7jfN/zbfQsg6WIVHKR8aOB5r4RdNCwboeHid Hie8LU+rIi5I93vYsrPpfybzj1Bsq29/pwkUsuFhBSQE07BX8hWV0VWAmgLrkZGzW9y9 1zSyvaZ0xMWXQ6ghx/9gI9OPzrVXuzI3oUITXvxYUakjZGj/fO7ouFJpUfObcuPFd+OY OCDgSHMvghjtF4s4hUbw4+ibB8u3Wve+en4oV/NJetJqCiykBGzSVt8pKcX0SF1nS7FA F3JQYRbyESc5rQhn5m3CUsa3zZc2K56oDMrDZokU4GGb81Nk3Il25YlYsUpeRh86fY+w 4sPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732700555; x=1733305355; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=baHHSVgFM+rRjQrGnioTopr7r1c6gj3q6Bl/pHQuins=; b=TO3KjzsnZG2+cRLEjqZUiMu8gbdvDL4475Df3NeShpLQE1MjQL3rcrjR5eO4c2JBi9 SIxEvfv7PO2loRNJIYUzgUScfLUWcfvehuRzUyxT5BXl8+7BU9X2x6Hbb1ZT0DZ1cjur XAJqRKG5FZGpQm1Yy6zyDBZPSYh+FytZeYl0ihrqp99+UhOi7Jz9lzsRwP3tZgDG5qG9 FaebWpwTS9YN63g/PmP3eK0DvtZATRo5Ay1CtHL6Yvy+GjQtOjy3FjLyQDS8aEIel5wN tZ2+m3BVQPdoUP740lw4fmnK6NhkGjnGiKXahaKmKzA1b7Fk7bk9wN65o9nAeSwB19EK 303g== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCXqbDmbyFMa3BZ5X1TmB0q2p327fcNAW/4WncNl7WEpMhgaptjoqmG52xRQ/UaquHOw6IzoXvU=@isar-build.org X-Gm-Message-State: AOJu0YzSpKMCc8hHFE+teeLQjdmtBlpL41Dkmavu2xo2sPedKPIjZwnK k7PCcnzzfzbu7dvjcKBRI6KHyRzpKIZSYmFyEhi+VZ5hCsE/gOfY X-Google-Smtp-Source: AGHT+IFeiF6RMcQawAosf9OEFhH/9v6ZJvUImVEJWzj2gza2zQAiy8nNTW68eV7hd0tuBOlYUTb2aA== X-Received: by 2002:a05:6512:3b23:b0:53d:e88b:ebc with SMTP id 2adb3069b0e04-53df00d7bbbmr1202435e87.24.1732700554844; Wed, 27 Nov 2024 01:42:34 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:9152:0:b0:53d:d13b:a4af with SMTP id 2adb3069b0e04-53dd13ba577ls526416e87.1.-pod-prod-08-eu; Wed, 27 Nov 2024 01:42:32 -0800 (PST) X-Received: by 2002:a05:6512:3e1d:b0:53d:de4f:a15 with SMTP id 2adb3069b0e04-53df00c74aemr1106681e87.6.1732700552520; Wed, 27 Nov 2024 01:42:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732700552; cv=none; d=google.com; s=arc-20240605; b=jw5OkDJn9YrmuIhcZ7UFqUIfWxvu2t9bEHvAOO+osZTGIWB77sGTvw3+vActsw+zTs wlY8icMfV2fboreJyqwVpzRLkWolY/+NksbvLPvPeNk5jUctArVjRz0jeZYedDyW1QlU J359ahJazH4Sk/pzfPsxAxzB7vGP7XRLmi51eQ5t0TxUDp7pHavCgxz2lacVjy+FG8H8 TYPJsqeiyP7fcpQ9pTKUqDqFguKUwKshOS62JTk4LUAK20HRPpiZxNV7KVec/8m99uh3 Ov9OKEik658voBsJa3Ss6T8saVgTVQVjm1zlXKlZ/eJT3G+iRMICMBu0f4MOVbcR2GN5 Onlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=hiwHt07vRDUgeBsIQQexP4tdA6EKlgUIngH35ZkZuGE=; fh=/h9QQkzJ8EboVkWg45aWwpaUro6WMavIVd2OhN45RtE=; b=GtQffI5zICHr2FWKzmjEJfq+OyNIwXTB+5f/5kmxAvAfpd4WA/oNKbtvm58lzyp62B RXgKjJAUIbmFYcVALxcZ7UQCErLowPKprisIwO6HsjIZvwgiXWDL50ZOhp2q25KEqceU 68vH2FiiY2lcNOaI/O2OZFrp1GyhBNaCR33LacC2o7bHAxYV1YEhXPUpI+vqjPBpnLRX 5suP8DAB1jtOYED+UrZwamYFqoFbkWD9RtgK0t1r3oxN5VORUo6ei5jr4cDJRQKjtaTC R+sWPtXZsjq8VRsBh9lNZ7ttDcXNTXe05R8Rr0hlQnQlTFHZZVSsbUszAQkR1ik9mhTg 6sAg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 2adb3069b0e04-53de0ace773si158677e87.7.2024.11.27.01.42.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 27 Nov 2024 01:42:32 -0800 (PST) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from user-B660.promwad.corp ([159.148.83.114]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 4AR9gVPE012431 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 27 Nov 2024 10:42:31 +0100 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: Anton Mikanovich Subject: [PATCH] meta: Enable cross-compilation by default Date: Wed, 27 Nov 2024 11:42:24 +0200 Message-Id: <20241127094224.1932315-1-amikan@ilbers.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, 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-Original-Sender: amikan@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= Make cross-compilation to be default mode if no ISAR_CROSS_COMPILE value was set or local.conf.sample from meta-isar was used. This will speedup the build with default settings. Signed-off-by: Anton Mikanovich --- RECIPE-API-CHANGELOG.md | 9 +++++++++ meta-isar/conf/local.conf.sample | 4 ++-- meta/classes/crossvars.bbclass | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/RECIPE-API-CHANGELOG.md b/RECIPE-API-CHANGELOG.md index deb1c4e1..f310553a 100644 --- a/RECIPE-API-CHANGELOG.md +++ b/RECIPE-API-CHANGELOG.md @@ -693,3 +693,12 @@ Previous implementation still can be selected by setting in local.conf: PREFERRED_PROVIDER_bootstrap-host ?= "isar-bootstrap-host" PREFERRED_PROVIDER_bootstrap-target ?= "isar-bootstrap-target" + +### Cross-compilation is enabled by default + +Default ISAR_CROSS_COMPILE value was changed to "1". +There is no more need to set global ISAR_CROSS_COMPILE = "1" in local.conf to +enable cross-compilation. Otherwize ISAR_CROSS_COMPILE = "0" now should be set +in local.conf to disable cross-compilation for all the recipes. +Sample local.conf from meta-isar used by isar-init-build-env is also changed +to enable cross-compilation by default. diff --git a/meta-isar/conf/local.conf.sample b/meta-isar/conf/local.conf.sample index 14cac313..fffe5e6a 100644 --- a/meta-isar/conf/local.conf.sample +++ b/meta-isar/conf/local.conf.sample @@ -157,8 +157,8 @@ IMAGE_INSTALL:remove:qemuamd64-sb = "example-module-${KERNEL_NAME}" IMAGE_INSTALL:append:qemuamd64-sb = " example-module-signed-${KERNEL_NAME}" # -# Enable cross-compilation support -ISAR_CROSS_COMPILE ?= "0" +# Uncomment this to disable cross-compilation support +#ISAR_CROSS_COMPILE ?= "0" # # Uncomment to enable 32-bit compat architecture support diff --git a/meta/classes/crossvars.bbclass b/meta/classes/crossvars.bbclass index 00326c9a..7bd7ab94 100644 --- a/meta/classes/crossvars.bbclass +++ b/meta/classes/crossvars.bbclass @@ -1,7 +1,7 @@ # This software is a part of ISAR. # Copyright (C) 2022 ilbers GmbH -ISAR_CROSS_COMPILE ??= "0" +ISAR_CROSS_COMPILE ??= "1" inherit compat