From patchwork Wed Nov 20 20:41:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 844736 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE776136E3F; Wed, 20 Nov 2024 20:41:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732135298; cv=none; b=gsaEl+Tr+1z/DEOhQQlRduLaWuctV5K0xafhm83P9qfjqNwOJlLzXG+Qaja1zDV6X3Oqx0erdu3GeRh+PYPr8Dcs2kNhsApv4+Jl+Ua8pa+/jdY1zX5yBAgpVH50UPW1LD2gtcX847hDxL8J/uNGXoJiqW0BQDutNKMdPAHXvIc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732135298; c=relaxed/simple; bh=hLrRHHR1Z6OOSrcbf2LHzS0BJwh3AiMM4BRkJMA+IVo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=L14jwk3y2Glj+O6y4+/ld0gAUBJsfg5QAEneptCH3ski5ol4XAsEKaN81NsFCtgS4kbCB62uRNnSOf10djDwE3+rGvVBcUcZgiPa4Fg4oNC8rq/3Fi8FLw3Gp/dc8S6ymu2pMPWLkqatThIraLpxz8uUrr/2SixzSh3ij3G1ckA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz; spf=pass smtp.mailfrom=suse.cz; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=3FYwv4Ai; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=LEIi3BBs; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=3FYwv4Ai; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=LEIi3BBs; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.cz Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="3FYwv4Ai"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="LEIi3BBs"; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="3FYwv4Ai"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="LEIi3BBs" Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id B82BB2198E; Wed, 20 Nov 2024 20:41:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1732135294; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=XfALIRkRLxT9Gd8nEh/iFmuASz8XRiA4HZA6xP6QCeI=; b=3FYwv4AiyPOmKfLZ3D3/p7u7WgEVeHj/v9+ESgPuqpnU6GkA7OUzbk3WVMQ/yV6vCfve5L 3BZI1sNYvSzK+34aIs5Cm7bNbtY131GfcDgoOQyIUOjeSNze980wHCXrXLo9/B9f8DOxBP AsyHmfaUE+6daSAEaxXr5CcrcuyvSuM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1732135294; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=XfALIRkRLxT9Gd8nEh/iFmuASz8XRiA4HZA6xP6QCeI=; b=LEIi3BBsaiFjRU6v0i2sWokHey6an8mChD/2LTCkavPKhCxa7lEOj382NfHsIYMjdCd/Wb 918denJEnJKP+eBQ== Authentication-Results: smtp-out1.suse.de; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=3FYwv4Ai; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=LEIi3BBs DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1732135294; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=XfALIRkRLxT9Gd8nEh/iFmuASz8XRiA4HZA6xP6QCeI=; b=3FYwv4AiyPOmKfLZ3D3/p7u7WgEVeHj/v9+ESgPuqpnU6GkA7OUzbk3WVMQ/yV6vCfve5L 3BZI1sNYvSzK+34aIs5Cm7bNbtY131GfcDgoOQyIUOjeSNze980wHCXrXLo9/B9f8DOxBP AsyHmfaUE+6daSAEaxXr5CcrcuyvSuM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1732135294; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=XfALIRkRLxT9Gd8nEh/iFmuASz8XRiA4HZA6xP6QCeI=; b=LEIi3BBsaiFjRU6v0i2sWokHey6an8mChD/2LTCkavPKhCxa7lEOj382NfHsIYMjdCd/Wb 918denJEnJKP+eBQ== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 2C7E8137CF; Wed, 20 Nov 2024 20:41:34 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id b/6dB35JPmdiGwAAD6G6ig (envelope-from ); Wed, 20 Nov 2024 20:41:34 +0000 From: Petr Vorel To: linux-arm-msm@vger.kernel.org Cc: Petr Vorel , Masahiro Yamada , Dmitry Baryshkov , Andrew Morton , linux-kbuild@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, Rob Clark Subject: [PATCH v4 1/2] init/Kconfig: add python3 availability config Date: Wed, 20 Nov 2024 21:41:24 +0100 Message-ID: <20241120204125.52644-1-pvorel@suse.cz> X-Mailer: git-send-email 2.45.2 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Rspamd-Queue-Id: B82BB2198E X-Spam-Score: -3.01 X-Rspamd-Action: no action X-Spamd-Result: default: False [-3.01 / 50.00]; BAYES_HAM(-3.00)[99.99%]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_CONTAINS_FROM(1.00)[]; R_MISSING_CHARSET(0.50)[]; R_DKIM_ALLOW(-0.20)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; RCPT_COUNT_SEVEN(0.00)[10]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FUZZY_BLOCKED(0.00)[rspamd.com]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; FROM_HAS_DN(0.00)[]; FREEMAIL_CC(0.00)[suse.cz,kernel.org,linaro.org,linux-foundation.org,vger.kernel.org,lists.freedesktop.org,gmail.com]; TO_DN_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[suse.cz:+] X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Spam-Flag: NO X-Spam-Level: It will be used in the next commit for DRM_MSM. Suggested-by: Rob Clark Signed-off-by: Petr Vorel --- Changes v3->v4: * Move definition to the end of the file init/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init/Kconfig b/init/Kconfig index fbd0cb06a50a..c77e45484e81 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -2047,3 +2047,6 @@ config ARCH_HAS_SYNC_CORE_BEFORE_USERMODE # . config ARCH_HAS_SYSCALL_WRAPPER def_bool n + +config HAVE_PYTHON3 + def_bool $(success,$(PYTHON3) -V)