From patchwork Fri Sep 22 09:09:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uladzimir Bely X-Patchwork-Id: 3117 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 22 Sep 2023 11:10:34 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f64.google.com (mail-lf1-f64.google.com [209.85.167.64]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 38M9AX2o032164 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 22 Sep 2023 11:10:33 +0200 Received: by mail-lf1-f64.google.com with SMTP id 2adb3069b0e04-50335ee6011sf2434863e87.0 for ; Fri, 22 Sep 2023 02:10:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1695373825; cv=pass; d=google.com; s=arc-20160816; b=u+DVqheq86A9JvsTgSB15GhAYoRhecIZphW25bmVcjuYkc0Tui2tavZ8F3y9uzMOyk +Z5FxXg9CBXtU3XwvHbOtoSmd2xNu2tgaKpYISjaVI8RSf/l8mhYc+A5zStmuXc3Z+45 1CWN+p9deGFDnzXjMy4F/JpVRbxlKgBHOQ9jc9goqHRCRxyIJKnH8/Mn4zhZY6R5Swfk c4rZaWTTvm4stQFVJvsTapEYykeppoOJYUVcjXuzq1uiyRVGyLCBQ95Y4cLa5aI8kJZa DBOUF0zv74TnyXsiRpEjbN+Ja2bBZSrHmIXadbvu/jtXEhls5XcFZQPKJwX15U309QVs ZYpw== 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:mime-version:references:in-reply-to :message-id:date:subject:to:from:sender:dkim-signature; bh=MaIyKt0ILqyKC+bgJhMYxZNuZgntjGbQ09CUDhld8Bw=; fh=7tclEdh7YbwSQowgJ6LNq720O7H5HTEaqj22NJWRE2E=; b=W/V0dcNXMwK8wMpH7ylpvTZR6oLVAaI2ALLTmIKjAq6DzQmrsrZKBExKP/cTEAGWsU EUR1CxXIEmCKCxmcxVehI3auS4Eoslr6uBTZHXPBy0LrZfDMhcwIJDaguQP28cyb2b9F mpjDtiDTIp6yU4hppnBrRItj5C7R4u1EAtoj0ytLdVmIUVqaOK5Ub/xl5r25tJcaKiWb X+xaNN1JmlJkgGPmXHUHEcgiFvfXjTmrn9ek2SnlIc71HuxZYltS5gUPVsQgikpZkF3d c2u0jfSPHh6vWZ1Lk1Gx2B74FuHMdaNiBErXWTr7Am6ZeGcgrcvmbXT7VvNHqKpuj2in UD/g== ARC-Authentication-Results: i=2; 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1695373825; x=1695978625; 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:references:in-reply-to:message-id :date:subject:to:from:sender:from:to:cc:subject:date:message-id :reply-to; bh=MaIyKt0ILqyKC+bgJhMYxZNuZgntjGbQ09CUDhld8Bw=; b=r5xuyMtN1jaQXDO1Gm0Ny+0RcyonXk+HjbvIQvBwlkSvnLDQMIBzXkIkx7snjvn5vb TIR4SABZKvgm0yuKgG8LUMxffKfi/IcIRllBus2aBwbK4zCvdQwYdt5/e97UPrmrLWjL GKq+daS6N3buL2/2FVPNmqjoIDSPmu3FAvWcINsJz6+Pt0zuDlviP/0toGujKgnIJVnk BeOHUjMxchOc3nikHAVubiS/WFqeGc6uxfryR4aEd4uOKk8me03pACDP/BMC6gkasmEN eQLq2HZpwRFFizBnocHDMisbMI5Kl4fMVavpcu+uHGbF0PTzXXNf6EsQCV3ppC1dsj4/ tWZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695373825; x=1695978625; 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 :references:in-reply-to:message-id:date:subject:to:from:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=MaIyKt0ILqyKC+bgJhMYxZNuZgntjGbQ09CUDhld8Bw=; b=LspBvVZegpGKZtHOXTrJyM82VWpizFQztlU7rtF7JESEWWr4DQbSIcovDV7XXXamTq cT2i1olo4lQStz+9S2IDQnuuNKn7jVL4le9KuH0KHVuQ5g5ACeJxsu3wLbXC1idLyxM9 s5OHv3xe/0ESyUdzS/G9ob8PKCEYDypIVOohKWcTAKv+Nxoa9hg7yTgl3TRFAvtVNj5+ 8ffyQ7lLZWQ1dixzwjXPWspDWTyt98sS/6/Ok/FjrmBS8HCWX+6won7oCVSB6zzgUBkZ mEiuOmEuLBExO8lbJD4EhfVdVtm+M2pN8FhjEYPs/DvWB3L6iLU2o2JXgfdumB9Yv0Hi 9JEQ== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOJu0YzFjFeXCmXnvwry6x2BWvXZOcyo5HNGsiSbTlNGjfa7qU4uGi5F ClCcCDdx6dbM4dTqNzf13jo= X-Google-Smtp-Source: AGHT+IG0C+/oSo7hsDoKJ31B6Wu7itqXSHMcqWagg/qRFpbrroUwtrN6jYi5H+OY0a8fz4Z6imCzXQ== X-Received: by 2002:a05:6512:4020:b0:4ff:80d4:e132 with SMTP id br32-20020a056512402000b004ff80d4e132mr8936299lfb.29.1695373824314; Fri, 22 Sep 2023 02:10:24 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:3b9c:b0:504:30ef:f2c7 with SMTP id g28-20020a0565123b9c00b0050430eff2c7ls141227lfv.1.-pod-prod-05-eu; Fri, 22 Sep 2023 02:10:22 -0700 (PDT) X-Received: by 2002:a05:6512:ea1:b0:500:95f7:c416 with SMTP id bi33-20020a0565120ea100b0050095f7c416mr8261572lfb.7.1695373822076; Fri, 22 Sep 2023 02:10:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695373822; cv=none; d=google.com; s=arc-20160816; b=vcbxgzDOqrzufRR4Ef8dsY3kWUnhiGTvsunbUJ5mtRsinlMEmG7lUcWVusel2yBRoR Wy0mB1gkuI3hrg5l7nIMsmoGjqLFlYDcNZZLuhstrW80iY3V8hSg1k+lJJhgDZx8/agt Rq6lqlFR2CExR2ucXDSncrcUThx2Dmg5hz0szYv5dylXAGZ62LLs2tp0XvnVJJs2brcP a+N2tAjRwG0Pk46jPMd6VMThFWqh0XbVoQNVGNuRUTNsgxA/Y1isTdZoqWW8Bwin2dWA v1psDnFo87Km1+zvmiyL/Bao56tddfvGz4SW9sKJVZYO3fYhoDFlFcCn0gflM0TDfgl4 lqMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from; bh=Y0f9fS+ipD2iW/k2/8R8BP/15FVGgpscYwQPelm1+e0=; fh=7tclEdh7YbwSQowgJ6LNq720O7H5HTEaqj22NJWRE2E=; b=OlBNjQMnKPr954gGPgIehbAmAiSw4DqdZbfEy+cPLZnY90bce9F3215hyhyhzP+JvO 98Nr5FONL20zkMyyZ7Cy2V++AbUSzTpIgHXcvGSu9etE9GNoXtW2AL7kUPlfZD/1cbjY dS1yT/Viad4Pnsz/V8Zk9AmM/8ViixMiZ6TtdrY42ZJHK+4iX/MTTXB53xSB2fzDUiwD 7aUkIuUklriH0lLMSbONbHDljp4+v3ZHYINx3MV76ereh4NUmq8VOMJ3TQVKkg5I40km k0YDjXEyp0OLlxKhTNSWjqOWnv0fIzWZU//qCIjQCNJzbA2N8X6LZjwA230sjSzaGuRU g0Gw== 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 Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id bi35-20020a0565120ea300b00503ce43f46asi158100lfb.11.2023.09.22.02.10.21 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 22 Sep 2023 02:10:22 -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; Received: from baighyz.m.ilbers.de (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 38M9A3Z9031991 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 22 Sep 2023 11:10:21 +0200 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: [PATCH v4 06/13] kas: Add cross compilation mode selection support Date: Fri, 22 Sep 2023 11:09:56 +0200 Message-Id: <20230922091003.20763-7-ubely@ilbers.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20230922091003.20763-1-ubely@ilbers.de> References: <20230922091003.20763-1-ubely@ilbers.de> MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, 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-Original-Sender: ubely@ilbers.de X-Original-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 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?= This adds an option to the menu that allows to enable support of cross-compilation via ISAR_CROSS_COMPILE variable. The option is enabled by default. Signed-off-by: Uladzimir Bely --- kas/opt/Kconfig | 10 ++++++++++ kas/opt/crosscompile.yaml | 9 +++++++++ 2 files changed, 19 insertions(+) create mode 100644 kas/opt/crosscompile.yaml diff --git a/kas/opt/Kconfig b/kas/opt/Kconfig index 02375399..76a00d6a 100644 --- a/kas/opt/Kconfig +++ b/kas/opt/Kconfig @@ -49,3 +49,13 @@ config KAS_INCLUDE_COMPAT_ARCH string default "kas/opt/compat-arch.yaml" depends on COMPAT_ARCH + + +config ISAR_CROSS_COMPILE + bool "Enable cross compilation mode" + default y + +config KAS_INCLUDE_ISAR_CROSS_COMPILE + string + default "kas/opt/crosscompile.yaml" + depends on ISAR_CROSS_COMPILE diff --git a/kas/opt/crosscompile.yaml b/kas/opt/crosscompile.yaml new file mode 100644 index 00000000..1b927ebd --- /dev/null +++ b/kas/opt/crosscompile.yaml @@ -0,0 +1,9 @@ +# This software is a part of ISAR. +# Copyright (C) 2023 ilbers GmbH + +header: + version: 14 + +local_conf_header: + crosscompile: | + ISAR_CROSS_COMPILE = "1"