Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp12732547rwd; Fri, 23 Jun 2023 09:54:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4AVE70m3/pQBSaNDegC7vH+/DetprlTsQwJebUWW1sR3T14rPhxU5YX4H/vwrVYkH5Bxah X-Received: by 2002:a05:6808:93:b0:39e:c6e4:a4ad with SMTP id s19-20020a056808009300b0039ec6e4a4admr18568119oic.10.1687539260072; Fri, 23 Jun 2023 09:54:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687539260; cv=none; d=google.com; s=arc-20160816; b=o260nujdO8i4fAbZQntU0IqR6TEIPSLSVYKVBowYiTh4Y6Z7k9v14x7o33DxqNWqJH UkXeVRxaRwkk2mH3gvXDdVo85vmfSlousyCWOJRdxfvSwpyVfMXL+edV3XhwY23zAcdR 9Di85UUHRsJp66Wye2aZCJgFXWm+KU9ZaHbitvPmeHcJP1avyCRnbxx1vv0l/tSD2Aty jRV7nE9oqGLxthNpX7SxdRoFK/lO0XBmncoN7zfw7VeJZvo7Cr2cCzo7T7s0eGur0Byk 1uA7t4/a9TiaSmf0LPeY/TGVkJgysTViTsdMmJfk3mHDo47ihdiqFXP9QdsS4Lria91q CpjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=VrYMIq26oRyedkWiMhHNn1zgvsBzxiC3JDI+KDyCprQ=; b=sc+AVfAB/Y9omg/uQyGTXB/kAHWHycYCDVDXQhAU8T02Uc8mOLb60swXax7eNv9Tkl N9wKZlqYJYM7osY61IZfw/2kpRnzug190EnSYdlcIWdbG24nbiHOvDW9yV43BE/W9avM FkY1vuihH2fr8MF4DjVPshIPdz9jql1HAcP8arNHdPSfkHrz53guu9japL5NOhurG2Yd BapY8wDDkqQcHPWSXbwS0r3t4nLYBK8d84StGWq3VUi98IAm6QJ+uIJiP2YDCSRyjA/z 395XKMFzKCAWVcO/Q8tYc9gt5VFpNwJU3yAbvHospuGF6VPG1/cywjcAaZc9/ktk6x0l 4JlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bUTZP8SD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mn20-20020a17090b189400b002587b0434d7si2149520pjb.132.2023.06.23.09.54.08; Fri, 23 Jun 2023 09:54:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bUTZP8SD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231954AbjFWP7G (ORCPT + 99 others); Fri, 23 Jun 2023 11:59:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231129AbjFWP7F (ORCPT ); Fri, 23 Jun 2023 11:59:05 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 435062117; Fri, 23 Jun 2023 08:59:04 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (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 dfw.source.kernel.org (Postfix) with ESMTPS id CBE7261A7B; Fri, 23 Jun 2023 15:59:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4021EC433CD; Fri, 23 Jun 2023 15:59:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687535943; bh=2bFJMU3So3NBTW7ijNLYI2gISWF8dqUQVXuPeh/kvkY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=bUTZP8SDIxUABVappp+RfH8pqqiuLRFYXGkqISImDFeugRpAX/pzC/kT8rvgYJ1zH mCBCgd4TYlsbSYqLQd9OOGtmGdxk9Ng0Ynf83jGWqPiNXc9bCRi2yqPTrr3zwQ7OPL ETslRZbJAtW4UoYIfFBoSbR60Fp8dittUxvuJ+M9p6y3JSHxXkFOlJxrZ1YOYxiNya FKlqFXqBPymJoNcBxbgwYWLkeFcOCd8sRj0BJV11YiQANy7DDtOo6pMdJR+GFeFVpP Z6iuZndzE5mdO9K5Oz86SMjbKV1pnUpZh6XivF5pOMvKOTwuJRWwBFsxzXokbD/ejY 6L78vuYmJRyvw== Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-51bec9aaf7bso873560a12.1; Fri, 23 Jun 2023 08:59:03 -0700 (PDT) X-Gm-Message-State: AC+VfDwLfUxsLZrWk3byUrEyRKe+lvbe6O61CEWmkgUXCTeBV2ZDjid3 kef+EenZBVsqGTzljjXVh2PDGjJuTgvNJ52WeDw= X-Received: by 2002:aa7:cd43:0:b0:51b:df62:4f0b with SMTP id v3-20020aa7cd43000000b0051bdf624f0bmr5189723edw.6.1687535941516; Fri, 23 Jun 2023 08:59:01 -0700 (PDT) MIME-Version: 1.0 References: <20230623134351.1898379-1-kernel@xen0n.name> <20230623134351.1898379-9-kernel@xen0n.name> In-Reply-To: <20230623134351.1898379-9-kernel@xen0n.name> From: Huacai Chen Date: Fri, 23 Jun 2023 23:58:48 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 8/9] Makefile: Add loongarch target flag for Clang compilation To: WANG Xuerui Cc: WANG Rui , Xi Ruoyao , loongarch@lists.linux.dev, linux-kbuild@vger.kernel.org, llvm@lists.linux.dev, linux-kernel@vger.kernel.org, WANG Xuerui Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Xuerui, This is the enablement patch, I think moving it to the last is better. Huacai On Fri, Jun 23, 2023 at 9:44=E2=80=AFPM WANG Xuerui wro= te: > > From: WANG Xuerui > > The LoongArch kernel is 64-bit and built with the soft-float ABI, > hence the loongarch64-linux-gnusf target. (The "libc" part doesn't > matter.) > > Signed-off-by: WANG Xuerui > --- > scripts/Makefile.clang | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/scripts/Makefile.clang b/scripts/Makefile.clang > index 058a4c0f864e..6c23c6af797f 100644 > --- a/scripts/Makefile.clang > +++ b/scripts/Makefile.clang > @@ -4,6 +4,7 @@ > CLANG_TARGET_FLAGS_arm :=3D arm-linux-gnueabi > CLANG_TARGET_FLAGS_arm64 :=3D aarch64-linux-gnu > CLANG_TARGET_FLAGS_hexagon :=3D hexagon-linux-musl > +CLANG_TARGET_FLAGS_loongarch :=3D loongarch64-linux-gnusf > CLANG_TARGET_FLAGS_m68k :=3D m68k-linux-gnu > CLANG_TARGET_FLAGS_mips :=3D mipsel-linux-gnu > CLANG_TARGET_FLAGS_powerpc :=3D powerpc64le-linux-gnu > -- > 2.40.0 > >