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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 72A9115800A for ; Fri, 11 Aug 2023 03:49:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DFCEA2BC067; Fri, 11 Aug 2023 03:48:29 +0000 (UTC) Received: from out-110.mta0.migadu.com (out-110.mta0.migadu.com [IPv6:2001:41d0:1004:224b::6e]) (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 9479C2BC05F for ; Fri, 11 Aug 2023 03:48:29 +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=1691725708; 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: in-reply-to:in-reply-to:references:references; bh=mS3Ebsd+ilRzyAqtKOgBl+zdjD/43kwOqOo0f4Vtrxg=; b=ce5Ho1kFzkk5Yr6rbCxZK14pPQE7CA54N2hl/mk6Hj+zsu3GzXRTX+ugNt0IpwK1A+SQtq TTSSK5AN0inDO+LkoC9ukr+4b6wthQ5ea08/lpRAa1vh0lgqVlUOLETW97Rn8NK/ua7ViU 0/2P5t3ZVg06WskXU6sZmKq9ybKAehGegKIGB0L1YVBhFbrcmsM2pFfy6Jnd+ImwUoll00 ErWx/ji6OXG0wEkSTanDU/s3mDs4IwR193gZArhw6Sc/zewJSSavwO1go2Pf/b8Dbjw/M0 7O97zTGy0x3VmBUE6S2fCbXAthqy8MZH5MWOIwGguIYPiHQQfsVCq6XckjTwXw== 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:22 +0200 Message-ID: <20230811034823.34301-5-cat@catcream.org> In-Reply-To: <20230811034823.34301-1-cat@catcream.org> References: <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: a3d0174c-2436-4d38-adba-65a02a601261 X-Archives-Hash: b797d13a3006a796aad671b3e10fbbea 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