From patchwork Wed May 8 08:58:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guo Ren X-Patchwork-Id: 1096838 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="sVjQh0OU"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44zVkw6YgWz9s4Y for ; Wed, 8 May 2019 18:58:48 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 22FF322C6B; Wed, 8 May 2019 08:58:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cBwC+-w-LR93; Wed, 8 May 2019 08:58:45 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id C44B822E96; Wed, 8 May 2019 08:58:45 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 6E3F41BF3C4 for ; Wed, 8 May 2019 08:58:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6B74185F75 for ; Wed, 8 May 2019 08:58:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dqTSOMMDAUGc for ; Wed, 8 May 2019 08:58:43 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by fraxinus.osuosl.org (Postfix) with ESMTPS id EFE33842DD for ; Wed, 8 May 2019 08:58:43 +0000 (UTC) Received: from localhost.localdomain (unknown [60.186.222.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A5BBD21479; Wed, 8 May 2019 08:58:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557305923; bh=JO8Ab3CE1KWJ/+CLGhjO8i855IPW92+Ul9+vTZPuqhM=; h=From:To:Cc:Subject:Date:From; b=sVjQh0OUL2D+VywWshjYyJ0ydrWU5zvzbXlEiKqiWcsP+xf7EX72v7drHruMyevws +LkM1tWw4qvd80LNzqHoERKE+qxR8yu7j7ugd5zYD7sK/klG2/hOpu2LoW1G/cyn6P lOKocajHuJvEcq2SimnUkk2vEHYzxRySoQJLJOEI= From: guoren@kernel.org To: buildroot@buildroot.org Date: Wed, 8 May 2019 16:58:27 +0800 Message-Id: <1557305915-11247-1-git-send-email-guoren@kernel.org> X-Mailer: git-send-email 2.7.4 Subject: [Buildroot] [PATCH V2 1/9] arch/csky: Add VDSP and FLOAT_ABI compiler options. X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas De Schampheleire , Guo Ren , Guo Ren , Thomas Petazzoni MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Guo Ren We never use BR2_CSKY_DSP in buildroot and we use VDSP instead. For float compiling, we need -mfloat-abi=xxx. Signed-off-by: Guo Ren --- arch/Config.in.csky | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/Config.in.csky b/arch/Config.in.csky index e88e4e2..4622eb9 100644 --- a/arch/Config.in.csky +++ b/arch/Config.in.csky @@ -23,9 +23,13 @@ config BR2_CSKY_FPU Floating-Point Coprocessor or if you don't need FPU support for your user-space programs. -config BR2_CSKY_DSP - bool "Enable DSP enhanced instructions" - depends on BR2_ck810 || BR2_ck807 +config BR2_CSKY_VDSP + bool "Enable VDSP 3.0 enhanced instructions Co-processor" + depends on BR2_ck860 + +config BR2_GCC_TARGET_FLOAT_ABI + default "soft" if !BR2_CSKY_FPU + default "hard" if BR2_CSKY_FPU config BR2_ARCH default "csky"