From patchwork Thu Nov 14 13:36:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Mikanovich X-Patchwork-Id: 3921 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Thu, 14 Nov 2024 14:37:18 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f62.google.com (mail-lf1-f62.google.com [209.85.167.62]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4AEDbHKY001583 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 14 Nov 2024 14:37:17 +0100 Received: by mail-lf1-f62.google.com with SMTP id 2adb3069b0e04-53da4fceb0dsf433685e87.0 for ; Thu, 14 Nov 2024 05:37:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1731591432; cv=pass; d=google.com; s=arc-20240605; b=P8X7KoXjCBO/m1bpuJor8M27tyG9wfYZbdkfZkiOxeM+515VagIDUZJAE5jVuKaYBm FOK3nbrf4eGt1NFc3iwYTIErhBlb4Ch7v8CC4MFeEbnnyrwOnPzPRDVf6cpJzLh4jyh9 +8qenb0N7RWTYMlCE8/j+RlDAUoghxpYHq4VQmPGxNt7nje6LlEJD+SbVsiOSBa/PcgM /yzKOmex7SoYxd0r5zMftKVEFNWCfl+kWvJU+HVFOFxKgVZFV+kWCg05jhL1qJaVLgxr ul7N56hDomijJE/EU2uxyLsEdquEAot34a3Yo3jd6hgj4J1qjem0TrCWmVbXiM69Gz8y fzHQ== 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:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=lmN0MaPZCywpqnXhN6EELnGqs84eV1fdA9iIcDZYGxQ=; fh=7tnY83Wo+pmwTSrPZoKlbNW9OIF5EUL1DXQuOaIIZYc=; b=DdTAUSmxMHpirwOjf59rsCNg6FrstgD6Yn1LLm9NKwOFCvRQ0xxIIBiVdC0a4K5VOE 9Q/dDeUgxcAOG0UI4vMTIUDpH5yPjDrxSvzOhTv+hMJaNumBZ3OJn33+uTvsYMt4VZHX foPx4gnypf+NN4udZYdWjW8OhoP/1tjNhmxvi1/AM49BFNx3LFVIf/Ras1l9o5y4G6IM VbJCNz+xCsewm/cWJ9Ezp+4rslTRPFSxeIl6e88uKbqUf837quf32dOtcpOOVXi8GZFh Vq1tWshNxiDYfa4ODWl+t0UcYp4AyaQDiZgwGoiyiOWk4arK5v2NmUJrowPQLdwLr9sh wdvg==; 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=1731591432; x=1732196232; 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:cc:to:from:sender:from:to:cc:subject:date:message-id :reply-to; bh=lmN0MaPZCywpqnXhN6EELnGqs84eV1fdA9iIcDZYGxQ=; b=UBcc/+kp6hyZso9Aq/Inrs4kdFQPolV6wiSHvrsSWZxiwH9yo20MJi4Qyz+yyNwv0+ C42euCnnW18Dm/h0fX4k1xz36kSB6iS40cHRYsu2LZxLQEZSyAI+IZtuTUWFye/BrZ2u 0ol/YTIgCoySQeG6dwPuUO9hnUp9m8fmAC6kFkcORYZ8EbqFspRo6X1badOZhtbX9Sjd lnJRYtu3+jC30JTHPDcA226t8df3m9kZyUpvIbGdtUhavZ0m+7Uw+pIhsTN4GFyX4EK3 xa2LR/lSvDYBykI+QmApRcChv+9NjdfZvCiKsLPWHbZWbXhreoLDPvEeYDEYNd4Xbt82 ahxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731591432; x=1732196232; 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:cc:to:from :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=lmN0MaPZCywpqnXhN6EELnGqs84eV1fdA9iIcDZYGxQ=; b=LT7oBx8NxR7TuarCK45jEppRAC/Hugf2m6pwdaC+w/u4nbuafu3SEReprPjALym5Lb tdN58wDm8vOkBK/ValGdwkdl9BUWZJBx0IkxAwQTraKdEuf6qq/KlirrKKneXB6pFlpq MrZbvqx6L/FUG3KzfgihXsnRH2wfzBzwoTxYjNUIVrY6MQJNv2erkPlUabPXAjlu53qR RNWiymn6lOCwbR0IRXquTAexPYBdwP259v+HLGvct7dnTKM8aXjYPA3/f9amm6J8Ud6d AZTiQk4t7T43xcp4jPXYJhe3cfwQOYH0PPIT3v0DDSbcuPn81xg1XPuEIHj52lVYcOT3 toHw== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCUtOOhbckRuyKgllsrxXzxS9iTcG1E+5wiPTd2nMMLQP4UHRKMMHwTCnqOrAxh9Td1/FI5AwHc=@isar-build.org X-Gm-Message-State: AOJu0YwxdCh5LBP5+IePvLEtyIEIWxUPnX4Vyh1mqwBK39F6U8QBh7Nk fXrB24pumRduSCdbw3DicTVJszGZ84K6bAIxajDhl67Qnew/8EWS X-Google-Smtp-Source: AGHT+IFmB75IKWn0xBXQTDt8CmP3c6uwR2g5ofbkXGtePqRjvya8tLknN+aqFmBv1G4IR4omi57O6A== X-Received: by 2002:a05:6512:39d0:b0:53b:1f90:5779 with SMTP id 2adb3069b0e04-53da49bdc32mr881770e87.28.1731591431488; Thu, 14 Nov 2024 05:37:11 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:3ba4:b0:53d:a2c9:b310 with SMTP id 2adb3069b0e04-53da4d3b13els7771e87.1.-pod-prod-00-eu; Thu, 14 Nov 2024 05:37:09 -0800 (PST) X-Received: by 2002:a05:6512:1302:b0:539:e3a2:3a25 with SMTP id 2adb3069b0e04-53da47aeeefmr1084549e87.18.1731591429081; Thu, 14 Nov 2024 05:37:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1731591429; cv=none; d=google.com; s=arc-20240605; b=PRG7t0WesXkmplr4PaE4YDnSMkK9tIukizCLvqT2u/7JAYFOp/WqxM+QP1T980NWcN fvgINTJHDvtpwhy7ai9aCFtgKnMNCYcREji0u5fuQDhYeAWZD6yxcBEljlk2G/DlJOO1 IkG1ECjK0wB/hIelk906JKm5Yf9bo+nLAkgylcESpy4irJqung0Mbi+xtFVrHQFStOCG fai9y7zzrRFOq/E1wuUT64M8F4dcYD54CCk6gYOl7VoB8KzVa5JKXzJeUY3PvYagNGqm UIDJs4kgS+PjfL1+4gV84ILpZgvDoiXxitQ2vQtduvJIEK3eUt+5Gy4MiD4oxKK0YQo8 +EgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=GCJEcN8wNptNwDjNX/z/Z+u+gywPJXSft0/xfyUtEO0=; fh=/h9QQkzJ8EboVkWg45aWwpaUro6WMavIVd2OhN45RtE=; b=Qas7Wx9EG+fKwdgr/OOheUjy2l8fVEczp5eiZNLU+PwRMhib4kJaSJ6qw6Yp7xg9Vj Ub7oQb0l09CpRV17N7lJUT3RBBr5MT4GAndK7jt5K/2Asthkd1R6MxiOIzm8sIrEw8q6 pHbfoHi1nwJtZUdKP/w23Y37PTHn0zcDSMyag4tctA1dfhUHBANbO4RQ9SeERBzlICr2 px0tkyolAwkWh5RxETxFKkyQvqfznxJDJnzbqoszciPxf5J9k7KHdaOgddKwKmvUtEP1 ++d2STNpOecNKnj9deDJiVvOJhZCPu6Pr6/X21jH4Xx+FH5RHUmUoIvzTTY2STPZ9Rb3 m9Wg==; 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-53da654a400si29329e87.10.2024.11.14.05.37.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Nov 2024 05:37:09 -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 4AEDb7H6001551 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Nov 2024 14:37:08 +0100 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: Anton Mikanovich Subject: [PATCH 1/3] kas: Introduce internal arch options Date: Thu, 14 Nov 2024 15:36:58 +0200 Message-Id: <20241114133700.1464717-2-amikan@ilbers.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241114133700.1464717-1-amikan@ilbers.de> References: <20241114133700.1464717-1-amikan@ilbers.de> 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?= To allow additional options filtering based on machine architecture add internal options with target arch. Signed-off-by: Anton Mikanovich --- kas/machine/Kconfig | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/kas/machine/Kconfig b/kas/machine/Kconfig index e09c2235..43e87f07 100644 --- a/kas/machine/Kconfig +++ b/kas/machine/Kconfig @@ -6,6 +6,24 @@ menu "Machine selection" +config ARCH_AMD64 + bool + +config ARCH_ARM64 + bool + +config ARCH_ARMHF + bool + +config ARCH_I386 + bool + +config ARCH_MIPSEL + bool + +config ARCH_RISCV64 + bool + choice prompt "Machine selection" default MACHINE_QEMU_AMD64 @@ -13,110 +31,137 @@ choice config MACHINE_BANANAPI bool "bananapi" depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM + select ARCH_ARM64 config MACHINE_BEAGLEPLAY bool "beagleplay" depends on DEBIAN_BOOKWORM + select ARCH_ARM64 config MACHINE_CONTAINER_AMD64 bool "container-amd64" depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM + select ARCH_AMD64 config MACHINE_DE0_NANO_SOC bool "de0-nano-soc" depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM + select ARCH_ARMHF config MACHINE_HIKEY bool "hikey" depends on DEBIAN_BULLSEYE || DEBIAN_BOOKWORM + select ARCH_ARM64 config MACHINE_IMX6_SABRELITE bool "imx6-sabrelite" depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE + select ARCH_ARMHF config MACHINE_NANOPI_NEO bool "nanopi-neo" depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM + select ARCH_ARMHF config MACHINE_NANOPI_NEO_EFI bool "nanopi-neo-efi" depends on DEBIAN_BOOKWORM + select ARCH_ARMHF config MACHINE_PHYBOARD_MIRA bool "phyboard-mira" depends on DEBIAN_BULLSEYE || DEBIAN_BOOKWORM + select ARCH_ARMHF config MACHINE_QEMU_AMD64_CIP bool "qemuamd64-cip" depends on DEBIAN_BOOKWORM + select ARCH_AMD64 config MACHINE_QEMU_AMD64_SB bool "qemuamd64-sb" depends on DEBIAN_BULLSEYE + select ARCH_AMD64 config MACHINE_QEMU_AMD64 bool "qemuamd64" depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM || DEBIAN_TRIXIE || UBUNTU_FOCAL || UBUNTU_JAMMY || UBUNTU_NOBLE + select ARCH_AMD64 config MACHINE_QEMU_ARM bool "qemuarm" depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM || DEBIAN_TRIXIE + select ARCH_ARMHF config MACHINE_QEMU_ARM64 bool "qemuarm64" depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM || DEBIAN_TRIXIE || UBUNTU_FOCAL || UBUNTU_JAMMY || UBUNTU_NOBLE + select ARCH_ARM64 config MACHINE_QEMU_I386 bool "qemui386" depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM + select ARCH_I386 config MACHINE_QEMU_MIPSEL bool "qemumipsel" depends on DEBIAN_BULLSEYE || DEBIAN_BOOKWORM + select ARCH_MIPSEL config MACHINE_QEMU_RISCV64 bool "qemuriscv64" depends on DEBIAN_TRIXIE || DEBIAN_SID + select ARCH_RISCV64 config MACHINE_RPI_ARM_V7 bool "rpi-arm-v7" depends on RASPIOS_BULLSEYE || RASPIOS_BOOKWORM + select ARCH_ARMHF config MACHINE_RPI_ARM_V7L bool "rpi-arm-v7l" depends on RASPIOS_BULLSEYE || RASPIOS_BOOKWORM + select ARCH_ARMHF config MACHINE_RPI_ARM bool "rpi-arm" depends on RASPIOS_BULLSEYE || RASPIOS_BOOKWORM + select ARCH_ARMHF config MACHINE_RPI_ARM64_V8 bool "rpi-arm64-v8" depends on RASPIOS_BULLSEYE || RASPIOS_BOOKWORM + select ARCH_ARM64 config MACHINE_SIFIVE_FU540 bool "sifive-fu540" depends on DEBIAN_TRIXIE || DEBIAN_SID + select ARCH_RISCV64 config MACHINE_STARFIVE_VISIONFIVE2 bool "starfive-visionfive2" depends on DEBIAN_TRIXIE || DEBIAN_SID + select ARCH_RISCV64 config MACHINE_STM32MP15X bool "stm32mp15x" depends on DEBIAN_BULLSEYE + select ARCH_ARMHF config MACHINE_VIRTUALBOX bool "virtualbox" depends on DEBIAN_BULLSEYE || DEBIAN_BOOKWORM + select ARCH_AMD64 config MACHINE_VMWARE bool "vmware" depends on DEBIAN_BULLSEYE + select ARCH_AMD64 config MACHINE_X86_PC bool "x86 PC" depends on DEBIAN_BULLSEYE || DEBIAN_BOOKWORM || DEBIAN_TRIXIE || UBUNTU_FOCAL || UBUNTU_JAMMY || UBUNTU_NOBLE + select ARCH_AMD64 endchoice