Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp12494090rwd; Fri, 23 Jun 2023 06:59:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7lhRUYn4jbYU1G/+bA+/JTXY+l+ToCArwLrEBdPbxSnI9pfqWzZ02+chpsDTYcWflHxSeP X-Received: by 2002:aca:120d:0:b0:39a:a19a:3207 with SMTP id 13-20020aca120d000000b0039aa19a3207mr18255355ois.18.1687528751335; Fri, 23 Jun 2023 06:59:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687528751; cv=none; d=google.com; s=arc-20160816; b=T7TKK+SIozlFdI23ZvNNEC5Ey+nMVt9vdI/pBWlKmfA3t2DpS4UgXwoEj8TJ3kBKCZ cQl6O7U6wdiI0TbReReAHHbPrXWblTz5Nx8VZrG/ADD89yE8wSEi6znBa74YT0e7gMJf 4HXydpfv3R4hzeZ0ErZt6GCb6T92QX7VfTfqF2VoAVLQK2SR89MF6+vIY137WXH4ONGt klGDPe/AjDZwyLvqTWiX6JiYJ8KncQjZ7oSohK/QxGN4YtbQiFBdP0o9+RtzdtG/RL11 +2Izcze6h57bZlpyqnIT8ymCudoBVpdAntCKUp2rbPIvWR0nNPrTBacYBoi17SXSQ3Qr g+3g== 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=sUFRf/jjOI0eBhLzFYxgRt1DvDgLdSZsx+s/tslpGb0=; fh=dOptu1ihZdKkZ8ajFex7p+VOwkwvZgrA6cQy2X6s+EM=; b=VFlHKY6yrQQis2U230B4rhqaX9ukEqolBvI07dxFAbrsv2vOV8pXP/hQPrHNLZifeQ VLa9nUg0L/mp2HcJySyYxN0F1HQctREeuqfe7Wm2fB1nnS/8OGL7PckD7vyC8kC8H1di sgCfgAoUPIMVcNj+T71XAmdIXGt3mfCfbXKdan2Q3qzvgRYZIRzL4X93Zmg5oQquVKtI kT0CjZLwGteYcv27KLl0F34hBqCnEIuGtSpLaH+d11oJ7Oed6r1moqD3tWGHRmqMPPCO QvU4mrQ2LQSycaDjqUXXNHiZSuWZ1x0uUbMRbY9BuWMsn79vuVJXwSXp77acqvUEQEsC /PMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xen0n.name header.s=mail header.b=rVJ1+TEL; 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 j12-20020a17090a94cc00b0025c22847f75si1977423pjw.81.2023.06.23.06.58.59; Fri, 23 Jun 2023 06:59:11 -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=rVJ1+TEL; 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 S231947AbjFWNom (ORCPT + 99 others); Fri, 23 Jun 2023 09:44:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231767AbjFWNoT (ORCPT ); Fri, 23 Jun 2023 09:44:19 -0400 Received: from mailbox.box.xen0n.name (mail.xen0n.name [115.28.160.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEBAB26A0; Fri, 23 Jun 2023 06:44:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xen0n.name; s=mail; t=1687527856; bh=R+wSgT+F3wMRO69fjSeRvENEk0FsnlxB4dse3vdqbGM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rVJ1+TEL1Mzfomk4I8r6tvyT6fAVTvtqs+kZGN0mHc6VIoSy32rUJ4EEHFG0Id0SP lwsCEmzJzrEs8ZKSuOW2PzmGtVzSc6m0sAjP+8b0eM9Q68OcKb+3izIKkQo+4OMMJk lqg0CXemv+itFmqQdYx+iEQWaD1c3Cnnv6oMtSNg= 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 922ED605F6; Fri, 23 Jun 2023 21:44:16 +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 Subject: [PATCH 8/9] Makefile: Add loongarch target flag for Clang compilation Date: Fri, 23 Jun 2023 21:43:50 +0800 Message-Id: <20230623134351.1898379-9-kernel@xen0n.name> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230623134351.1898379-1-kernel@xen0n.name> References: <20230623134351.1898379-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 --- 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