From patchwork Tue Dec 26 11:08:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guo Ren X-Patchwork-Id: 852947 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=uclibc-ng.org (client-ip=2a00:1828:2000:679::23; helo=helium.openadk.org; envelope-from=devel-bounces@uclibc-ng.org; receiver=) Received: from helium.openadk.org (helium.openadk.org [IPv6:2a00:1828:2000:679::23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3z5YFr5w3yz9sBW for ; Tue, 26 Dec 2017 22:11:28 +1100 (AEDT) Received: from helium.openadk.org (localhost [IPv6:::1]) by helium.openadk.org (Postfix) with ESMTP id 632B11073C; Tue, 26 Dec 2017 12:11:25 +0100 (CET) X-Original-To: devel@uclibc-ng.org Delivered-To: devel@helium.openadk.org Received: from smtp2200-217.mail.aliyun.com (smtp2200-217.mail.aliyun.com [121.197.200.217]) by helium.openadk.org (Postfix) with ESMTPS id DE0B110737; Tue, 26 Dec 2017 12:11:22 +0100 (CET) X-Alimail-AntiSpam: AC=CONTINUE; BC=0.08025994|-1; CH=green; FP=16469369710937631664|1|1|1|0|-1|-1|-1; HT=e01l01425; MF=ren_guo@c-sky.com; NM=1; PH=DS; RN=3; RT=3; SR=0; TI=SMTPD_---.9uejbYt_1514286665; Received: from localhost.localdomain(mailfrom:ren_guo@c-sky.com fp:223.93.147.148) by smtp.aliyun-inc.com(10.147.42.16); Tue, 26 Dec 2017 19:11:19 +0800 From: Guo Ren To: devel@uclibc-ng.org, wbx@uclibc-ng.org Date: Tue, 26 Dec 2017 19:08:44 +0800 Message-Id: <1514286524-14998-1-git-send-email-ren_guo@c-sky.com> X-Mailer: git-send-email 2.7.4 Cc: Guo Ren Subject: [uclibc-ng-devel] [PATCH] csky: remove -mcpu and -mhard-float from config X-BeenThere: devel@uclibc-ng.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: uClibc-ng Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: devel-bounces@uclibc-ng.org Sender: "devel" Pass the -mcpu and -mhard-float from UCLIBC_EXTRA_CFLAGS instead. Signed-off-by: Guo Ren --- Rules.mak | 6 ------ extra/Configs/Config.csky | 13 ------------- 2 files changed, 19 deletions(-) diff --git a/Rules.mak b/Rules.mak index 9a56415..418a480 100644 --- a/Rules.mak +++ b/Rules.mak @@ -458,12 +458,6 @@ ifeq ($(TARGET_ARCH),csky) # So we couldn't strip them for objdump. STRIP_FLAGS += -K "$$"t -K "$$"d - CPU_CFLAGS-$(CK610) += -mcpu=ck610f - CPU_CFLAGS-$(CK810) += -mcpu=ck810f - CPU_CFLAGS-$(CK807) += -mcpu=ck807f - - CPU_CFLAGS-$(UCLIBC_HAS_FPU) += -mhard-float - CPU_CFLAGS-$(ARCH_LITTLE_ENDIAN) += -mlittle-endian CPU_CFLAGS-$(ARCH_BIG_ENDIAN) += -mbig-endian endif diff --git a/extra/Configs/Config.csky b/extra/Configs/Config.csky index 704f7be..3173ce9 100644 --- a/extra/Configs/Config.csky +++ b/extra/Configs/Config.csky @@ -10,16 +10,3 @@ config FORCE_OPTIONS_FOR_ARCH select ARCH_USE_MMU select ARCH_HAS_MMU -choice - prompt "Target Processor Type" - default CK610 - -config CK610 - bool "ck610" -config CK810 - bool "ck810" -config CK807 - bool "ck807" - -endchoice -