Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp14108138rwd; Sat, 24 Jun 2023 12:12:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Y6iIKUNeYp+VKyvStN4UweQGtdIpqchXUZYHoh0Fh7QK1EXiYacsEBRcukMmZlK5n+PtW X-Received: by 2002:a05:6a20:7f99:b0:10e:d4fb:b031 with SMTP id d25-20020a056a207f9900b0010ed4fbb031mr18741946pzj.61.1687633939943; Sat, 24 Jun 2023 12:12:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687633939; cv=none; d=google.com; s=arc-20160816; b=PJ6GaN3eB2tJN0z8ijOw0bj+j5ydeqCFhUFpTO63q5NgP26mtmqknMQ1GQtzhyDJe/ lb3Fwaf5vgslxN/OLbEflouSDtcbFMQFTwLoolKDxz94k+EpwRvHFmEKw8ftxFFjOEcc DFkAed/Czj0t4OkVFYqcrEsFsaI9XlSEm9yM+Lfacma/GdaoK9ocsaWy+8TdsjVSkRJH 4yxQga49rmajCN9ky6WPcptNgqQhgwc7xuA5r/7spwG5iVEoAtD9TzmNyKn60QoESyBm 52Hf7ug3pIncS+6kPFWKYC6grGXzRZvoqqnAqHFKj9XKYskvth8LbkmlM72KjT56yT9/ dj2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8K7/+lvZLMd6h0CCvRUtyWWUN098oZxwqAQ6Pv4emAY=; fh=cOkhPHs+QQbxcIFG9XL5O7NpzAYOWU9SlXvAO44hRCk=; b=FzeEdc5AM/WPuULenEuWWdprQxM8W5DUKj4H49ICpVHjmkfocO2Iyapj2JvCU/LnZf mahKkec3ed10bHoE2O5Yb27H30SKLIHkv9mWdcIVljG+biKFfHuP5RP2w1lm9+oHZ1xq ly6/gVC2fuAbi3UBNrk+Z+YwZPRvtv5aP56Etkvx2MqFYMCAAA86yu7NeHr6zlJqusKO nhTbtGpJh6XqTGTjlnXaKBCk25ugPAXN4coMVZz3tA43zdQnFHDYvZcp7DWGalUcN5E6 dPfjWrMhFqQIniJNY2W4/Ty5rtvGspEkutdJl4Uibe+Lu9Oi2wIV9McBwHgjndRIaL4H VlfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xen0n.name header.s=mail header.b=LgMY6Ylu; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ja22-20020a170902efd600b001b5585f945asi1697830plb.352.2023.06.24.12.12.07; Sat, 24 Jun 2023 12:12:19 -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=@xen0n.name header.s=mail header.b=LgMY6Ylu; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233282AbjFXSnC (ORCPT + 99 others); Sat, 24 Jun 2023 14:43:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233279AbjFXSm4 (ORCPT ); Sat, 24 Jun 2023 14:42:56 -0400 Received: from mailbox.box.xen0n.name (mail.xen0n.name [115.28.160.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC22826B9; Sat, 24 Jun 2023 11:42:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xen0n.name; s=mail; t=1687632157; bh=kdNQ2yRcFr3QXcyAJBTxhivt3gO0Oi9ZzFCGa8V1v6A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LgMY6Ylu1pRlcNNel0Jy0i1lUMQFOXsGwwyT0jGdFr2ySeO3O5tTBG57kruUb4ZTQ RwvaMqXkAJtGy3vrMfV1zV3gC8gLpEo/AX38NrpT5/5C4EqkxBDPUpTyyks6bw8yYu aSh76a9q4XcsHeMpbYDabNEWwK29h4CZ6PFFHniU= Received: from ld50.lan (unknown [101.88.25.181]) (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 mailbox.box.xen0n.name (Postfix) with ESMTPSA id 5D5D9600B5; Sun, 25 Jun 2023 02:42:37 +0800 (CST) From: WANG Xuerui To: Huacai Chen 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 , Nick Desaulniers Subject: [PATCH v2 9/9] Makefile: Add loongarch target flag for Clang compilation Date: Sun, 25 Jun 2023 02:40:55 +0800 Message-Id: <20230624184055.3000636-10-kernel@xen0n.name> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230624184055.3000636-1-kernel@xen0n.name> References: <20230624184055.3000636-1-kernel@xen0n.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 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 Reviewed-by: Nick Desaulniers --- 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 := arm-linux-gnueabi CLANG_TARGET_FLAGS_arm64 := aarch64-linux-gnu CLANG_TARGET_FLAGS_hexagon := hexagon-linux-musl +CLANG_TARGET_FLAGS_loongarch := loongarch64-linux-gnusf CLANG_TARGET_FLAGS_m68k := m68k-linux-gnu CLANG_TARGET_FLAGS_mips := mipsel-linux-gnu CLANG_TARGET_FLAGS_powerpc := powerpc64le-linux-gnu -- 2.40.0