From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5B4FC15800A for ; Fri, 11 Aug 2023 03:48:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B41EB2BC018; Fri, 11 Aug 2023 03:48:26 +0000 (UTC) Received: from out-103.mta1.migadu.com (out-103.mta1.migadu.com [95.215.58.103]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 70C7C2BC016 for ; Fri, 11 Aug 2023 03:48:26 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=catcream.org; s=key1; t=1691725704; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=mS3Ebsd+ilRzyAqtKOgBl+zdjD/43kwOqOo0f4Vtrxg=; b=DA9kQ3s4PuD9oFrguo3qdgpLeABZrbUOEGQHokV5ae7Ze3ZzymRjEHXJTLD4guKbrV2JKB 2RDxIxV+M9gUELv9GwbAqARIJbF1Qzh9eqWHqsxY0ZdvGC7LOtZSkCbvcA5kLnhAPTMeaV fpUbfAbNRLyfiWO3B5QDLNtuOwAfCV2KIK9yzPJNyYrRYlS8stdQ3j/DzRI2scn1xMayLh J7GRnkFYklLhK33ojtsxOA0jfLIZN9xY6/DS6SBfXVhu/PIfB7w3l0DdhDX5ypHEETeGUC odQ1MTOVfaVCiIO1jGQx260tfhqALil3J0uUZIQS8y4SdeBnvV/MiRCe+oXBWw== From: Alfred Persson Forsberg To: gentoo-dev@lists.gentoo.org Cc: sam@gentoo.org, llvm@gentoo.org, toolchain@gentoo.org, cross@gentoo.org, Alfred Persson Forsberg Subject: [gentoo-dev] [PATCH 3/4] kernel-2.eclass: Use cross.eclass for figuring out CTARGET Date: Fri, 11 Aug 2023 05:48:18 +0200 Message-ID: <20230811034823.34301-1-cat@catcream.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Archives-Salt: c6326182-4bfc-4fec-ab40-7518b0736186 X-Archives-Hash: bdfba59b7bcfec378004ad9363d4e3a8 Signed-off-by: Alfred Persson Forsberg --- eclass/kernel-2.eclass | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index bdeabb9fc2dc..3d08604929eb 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -281,7 +281,7 @@ # If you do change them, there is a chance that we will not fix resulting bugs; # that of course does not mean we're not willing to help. -inherit estack multiprocessing toolchain-funcs +inherit cross estack multiprocessing toolchain-funcs case ${EAPI} in 7|8) ;; @@ -293,11 +293,6 @@ esac # I will remove it when I come up with something more reasonable. [[ ${PROFILE_ARCH} == ppc64 ]] && CHOST="powerpc64-${CHOST#*-}" -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} && ${CATEGORY/cross-} != ${CATEGORY} ]]; then - export CTARGET=${CATEGORY/cross-} -fi - HOMEPAGE="https://www.kernel.org/ https://wiki.gentoo.org/wiki/Kernel ${HOMEPAGE}" : "${LICENSE:="GPL-2"}" -- 2.41.0