You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/02/20 03:15:40 UTC

[incubator-nuttx] branch master updated: arm/rtl8720c: Remove the unused Toolchain.defs

This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new d29f3bd  arm/rtl8720c: Remove the unused Toolchain.defs
d29f3bd is described below

commit d29f3bd21c04ed357de6d3cbd2b8453f1f8f8c86
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Sat Feb 19 20:56:38 2022 +0800

    arm/rtl8720c: Remove the unused Toolchain.defs
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 arch/arm/src/rtl8720c/Toolchain.defs | 97 ------------------------------------
 1 file changed, 97 deletions(-)

diff --git a/arch/arm/src/rtl8720c/Toolchain.defs b/arch/arm/src/rtl8720c/Toolchain.defs
deleted file mode 100644
index d251683..0000000
--- a/arch/arm/src/rtl8720c/Toolchain.defs
+++ /dev/null
@@ -1,97 +0,0 @@
-############################################################################
-# arch/arm/src/rtl8720c/Toolchain.defs
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.  The
-# ASF licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the
-# License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
-# License for the specific language governing permissions and limitations
-# under the License.
-#
-############################################################################
-
-ARCHSCRIPT = $(LDSCRIPT)
-
-include ${TOPDIR}/arch/arm/src/armv8-m/Toolchain.defs
-
-LD = $(CROSSDEV)gcc
-
-ARCHOPTIMIZATION =
-ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
-  ARCHOPTIMIZATION = -g
-endif
-
-# enable precise stack overflow tracking
-ifeq ($(CONFIG_ARMV8M_STACKCHECK),y)
-  INSTRUMENTATIONDEFINES += -finstrument-functions -ffixed-r10
-endif
-
-ifeq ($(CONFIG_STACK_CANARIES),y)
-  ARCHOPTIMIZATION += -fstack-protector-all
-endif
-
-ifneq ($(CONFIG_DEBUG_NOOPT),y)
-  ARCHOPTIMIZATION += $(MAXOPTIMIZATION) -fno-strict-aliasing
-  ARCHOPTIMIZATION += -ffunction-sections -fdata-sections
-ifneq ($(CONFIG_ARMV8M_STACKCHECK),y)
-  #ARCHOPTIMIZATION += -flto -fuse-linker-plugin
-endif
-endif
-
-ARCHCFLAGS = -fno-common -fno-builtin -march=armv8-m.main+dsp -mthumb -mfloat-abi=soft -D__thumb2__ -g -gdwarf-3 -Os  -fno-tree-scev-cprop
-ARCHCXXFLAGS = -fno-common -fno-builtin -nostdinc++ -std=c++11
-ifneq ($(CONFIG_CXX_EXCEPTION),y)
-  ARCHCXXFLAGS += -fno-exceptions -fcheck-new -fno-rtti
-endif
-ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow -Wundef
-ARCHWARNINGSXX = -Wall -Wshadow -Wundef
-
-CFLAGS := $(ARCHCFLAGS) $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRAFLAGS) -pipe
-CFLAGS += -I$(TOPDIR)/arch/$(CONFIG_ARCH)/src/rtl8720c
-CXXFLAGS := $(ARCHCXXFLAGS) $(ARCHWARNINGSXX) $(ARCHOPTIMIZATION) $(ARCHCPUFLAGS) $(ARCHXXINCLUDES) $(ARCHDEFINES) $(EXTRAFLAGS) -pipe
-CPPFLAGS := $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRAFLAGS)
-AFLAGS := $(CFLAGS) -D__ASSEMBLY__
-
-# ELF module definitions
-
-CELFFLAGS = $(CFLAGS) -mlong-calls
-CXXELFFLAGS = $(CXXFLAGS) -mlong-calls
-AELFFLAGS = $(AFLAGS)
-LDELFFLAGS = -r -e main -Bstatic $(LDFLAGS)
-LDELFFLAGS += -T $(TOPDIR)/binfmt/libelf/gnu-elf.ld
-
-# Loadable module definitions
-
-CMODULEFLAGS = $(CFLAGS) -mlong-calls
-
-LDMODULEFLAGS = -r -e module_initialize $(LDFLAGS)
-ifeq ($(WINTOOL),y)
-  LDMODULEFLAGS += -T "${shell cygpath -w $(TOPDIR)/libs/libc/modlib/gnu-elf.ld}"
-else
-  LDMODULEFLAGS += -T $(TOPDIR)/libs/libc/modlib/gnu-elf.ld
-endif
-
-LDSTARTGROUP = -Wl,--start-group
-LDENDGROUP   = -Wl,--end-group
-
-ifeq ($(filter -nuttx-, $(CROSSDEV)),)
-  LDFLAGS += -nostartfiles -nodefaultlibs
-endif
-ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
-  LDFLAGS += -g
-endif
-
-ifneq ($(CONFIG_DEBUG_NOOPT),y)
-  LDFLAGS += -Wl,--gc-sections
-endif
-
-EXTRA_LIBS += -l_soc_is
-EXTRA_LIBS += -l_wlan