This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now.

Squashed commit of the following:

    libs/libxx:  Fix some confusing in naming.  If the directory is called libxx, then the library must be libxx.a (unless perhaps LIBCXX is selected).
    libs/:  Fix paths in moved library directories.
    libs:  Brute force move of libc, libnx, and libxx to libs.  Cannot yet build it in that configuration.
This commit is contained in:
Gregory Nutt 2018-05-29 13:21:26 -06:00
parent 53a4408428
commit cf99fb40c9
836 changed files with 987 additions and 974 deletions

View File

@ -1662,7 +1662,7 @@ endmenu
menu "Graphics Support"
source graphics/Kconfig
source libnx/Kconfig
source libs/libnx/Kconfig
endmenu
menu "Memory Management"
@ -1682,8 +1682,8 @@ source binfmt/Kconfig
endmenu
menu "Library Routines"
source libc/Kconfig
source libxx/Kconfig
source libs/libc/Kconfig
source libs/libxx/Kconfig
endmenu
menu "Application Configuration"

View File

@ -1,26 +0,0 @@
#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
comment "Standard C Library Options"
source libc/stdio/Kconfig
source libc/math/Kconfig
source libc/machine/Kconfig
source libc/stdlib/Kconfig
source libc/unistd/Kconfig
source libc/string/Kconfig
source libc/dllfcn/Kconfig
source libc/modlib/Kconfig
source libc/wchar/Kconfig
source libc/locale/Kconfig
source libc/lzf/Kconfig
source libc/time/Kconfig
source libc/tls/Kconfig
source libc/net/Kconfig
source libc/netdb/Kconfig
source libc/misc/Kconfig
source libc/wqueue/Kconfig
source libc/hex2bin/Kconfig
source libc/userfs/Kconfig

View File

@ -1,10 +0,0 @@
#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
source libnx/nx/Kconfig
source libnx/nxfonts/Kconfig
source libnx/nxglib/Kconfig
source libnx/nxmu/Kconfig
source libnx/nxtk/Kconfig

View File

@ -1,48 +0,0 @@
############################################################################
# libnx/kbin/Makefile
#
# Copyright (C) 2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
# 3. Neither the name NuttX nor the names of its contributors may be
# used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
###########################################################################
-include $(TOPDIR)/Make.defs
all:
.PHONY: clean distclean
# Clean Targets:
clean:
$(call CLEAN)
# Deep clean -- removes all traces of the configuration
distclean: clean

View File

@ -1,48 +0,0 @@
############################################################################
# libnx/ubin/Makefile
#
# Copyright (C) 2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
# 3. Neither the name NuttX nor the names of its contributors may be
# used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
###########################################################################
-include $(TOPDIR)/Make.defs
all:
.PHONY: clean distclean
# Clean Targets:
clean:
$(call CLEAN)
# Deep clean -- removes all traces of the configuration
distclean: clean

26
libs/libc/Kconfig Normal file
View File

@ -0,0 +1,26 @@
#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
comment "Standard C Library Options"
source libs/libc/stdio/Kconfig
source libs/libc/math/Kconfig
source libs/libc/machine/Kconfig
source libs/libc/stdlib/Kconfig
source libs/libc/unistd/Kconfig
source libs/libc/string/Kconfig
source libs/libc/dllfcn/Kconfig
source libs/libc/modlib/Kconfig
source libs/libc/wchar/Kconfig
source libs/libc/locale/Kconfig
source libs/libc/lzf/Kconfig
source libs/libc/time/Kconfig
source libs/libc/tls/Kconfig
source libs/libc/net/Kconfig
source libs/libc/netdb/Kconfig
source libs/libc/misc/Kconfig
source libs/libc/wqueue/Kconfig
source libs/libc/hex2bin/Kconfig
source libs/libc/userfs/Kconfig

View File

@ -1,5 +1,5 @@
############################################################################
# libc/Makefile
# libs/libc/Makefile
#
# Copyright (C) 2007-2014, 2016-2017 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -24,7 +24,7 @@ with no applications.
Sub-Directories
===============
The files in the libc/ directory are organized (mostly) according which file
The files in the libs/libc/ directory are organized (mostly) according which file
in the include/ directory provides the prototype for library functions. So
we have:

View File

@ -1,5 +1,5 @@
############################################################################
# libc/aio/Make.defs
# libs/libc/aio/Make.defs
#
# Copyright (C) 2014 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/aio/aio.h
* libs/libc/aio/aio.h
*
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/aio/aio_error.c
* libs/libc/aio/aio_error.c
*
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/aio/aio_return.c
* libs/libc/aio/aio_return.c
*
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/aio/aio_suspend.c
* libs/libc/aio/aio_suspend.c
*
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/aio/lio_listio.c
* libs/libc/aio/lio_listio.c
*
* Copyright (C) 2014-2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
############################################################################
# libc/audio/Make.defs
# libs/libc/audio/Make.defs
#
# Copyright (C) 2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/audio/lib_buffer.c
* libs/libc/audio/lib_buffer.c
*
* Copyright (C) 2013 Ken Pettit. All rights reserved.
* Author: Ken Pettit <pettitkd@gmail.com>

View File

@ -1,5 +1,5 @@
############################################################################
# libnx/bin/Makefile
# libs/libc/bin/Makefile
#
# Copyright (C) 2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
############################################################################
# libc/dirent/Make.defs
# libs/libc/dirent/Make.defs
#
# Copyright (C) 2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/dirent/lib_readdirr.c
* libs/libc/dirent/lib_readdirr.c
*
* Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/dirent/fs_telldir.c
* libs/libc/dirent/fs_telldir.c
*
* Copyright (C) 2007-2008, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
############################################################################
# libc/dllfcn/Make.defs
# libs/libc/dllfcn/Make.defs
#
# Copyright (C) 2017 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/dllfcn/lib_dlclose.c
* libs/libc/dllfcn/lib_dlclose.c
*
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/dllfcn/lib_dlerror.c
* libs/libc/dllfcn/lib_dlerror.c
*
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/dllfcn/lib_dlopen.c
* libs/libc/dllfcn/lib_dlopen.c
*
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/dllfcn/lib_dlsym.c
* libs/libc/dllfcn/lib_dlsym.c
*
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/dllfcn/lib_symtab.c
* libs/libc/dllfcn/lib_symtab.c
*
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
############################################################################
# libc/fixedmath/Make.defs
# libs/libc/fixedmath/Make.defs
#
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/fixedmath/lib_b16atan2.c
* libs/libc/fixedmath/lib_b16atan2.c
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/fixedmath/lib_b16cos.c
* libs/libc/fixedmath/lib_b16cos.c
*
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/fixedmath/lib_b16sin.c
* libs/libc/fixedmath/lib_b16sin.c
*
* Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/math/lib_fixedmath.c
* libs/libc/math/lib_fixedmath.c
*
* Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/fixedmath/lib_ubsqrt.c
* libs/libc/fixedmath/lib_ubsqrt.c
*
* Copyright (C) 2014,2017 Jussi Kivilinna <jussi.kivilinna@haltian.com>
*

View File

@ -1,5 +1,5 @@
############################################################################
# libc/hex2bin/Make.defs
# libs/libc/hex2bin/Make.defs
#
# Copyright (C) 2016 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/hex2bin/fhex2mem.c
* libs/libc/hex2bin/fhex2mem.c
*
* Copyright (C) 2014, 2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/hex2bin/hex2bin.c
* libs/libc/hex2bin/hex2bin.c
*
* Copyright (C) 2014, 2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/hex2bin/hex2mem.c
* libs/libc/hex2bin/hex2mem.c
*
* Copyright (C) 2014, 2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
############################################################################
# libc/inttypes/Make.defs
# libs/libc/inttypes/Make.defs
#
# Copyright (C) 2017 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/inttypes/lib_imaxabs.c
* libs/libc/inttypes/lib_imaxabs.c
*
* Copyright (C) 2010-2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/inttypes/lib_strtoimax.c
* libs/libc/inttypes/lib_strtoimax.c
*
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* /libc/inttypes/lib_strtoumax.c
* /libs/libc/inttypes/lib_strtoumax.c
*
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
############################################################################
# libc/kbin/Makefile
# libs/libc/kbin/Makefile
#
# Copyright (C) 2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

View File

Can't render this file because it has a wrong number of fields in line 2.

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/libc.h
* libs/libc/libc.h
*
* Copyright (C) 2007-2014, 2016-2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
############################################################################
# libc/libgen/Make.defs
# libs/libc/libgen/Make.defs
#
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/libgen/lib_basename.c
* libs/libc/libgen/lib_basename.c
*
* Copyright (C) 2007, 2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/libgen/lib_dirname.c
* libs/libc/libgen/lib_dirname.c
*
* Copyright (C) 2007, 2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
############################################################################
# libc/locale/Make.defs
# libs/libc/locale/Make.defs
#
# Copyright (C) 2016 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/locale/lib_localeconv.c
* libs/libc/locale/lib_localeconv.c
*
* Copyright (C) 2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/locale/lib_setlocale.c
* libs/libc/locale/lib_setlocale.c
*
* Copyright (C) 2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
############################################################################
# libc/lzf/Make.defs
# libs/libc/lzf/Make.defs
#
# Copyright (C) 2018 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/lzf/lzf.h
* libs/libc/lzf/lzf.h
*
* Copyright (c) 2000-2007 Marc Alexander Lehmann <schmorp@schmorp.de>
*

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/lzf/lzf_c.c
* libs/libc/lzf/lzf_c.c
*
* Copyright (c) 2000-2010 Marc Alexander Lehmann <schmorp@schmorp.de>
*

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/lzf/lzf_c.c
* libs/libc/lzf/lzf_c.c
*
* Copyright (c) 2000-2010 Marc Alexander Lehmann <schmorp@schmorp.de>
*

View File

@ -151,13 +151,13 @@ config LIBM_ARCH_TRUNCF
# One or more the of above may be selected by architecture specific logic
if ARCH_ARM
source libc/machine/arm/Kconfig
source libs/libc/machine/arm/Kconfig
endif
if ARCH_SIM
source libc/machine/sim/Kconfig
source libs/libc/machine/sim/Kconfig
endif
if ARCH_X86
source libc/machine/x86/Kconfig
source libs/libc/machine/x86/Kconfig
endif
endmenu # Architecture-Specific Spport

View File

@ -1,5 +1,5 @@
############################################################################
# libc/machine/Make.defs
# libs/libc/machine/Make.defs
#
# Copyright (C) 2017 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
@ -34,11 +34,11 @@
############################################################################
ifeq ($(CONFIG_ARCH_ARM),y)
include ${TOPDIR}/libc/machine/arm/Make.defs
include ${TOPDIR}/libs/libc/machine/arm/Make.defs
endif
ifeq ($(CONFIG_ARCH_SIM),y)
include ${TOPDIR}/libc/machine/sim/Make.defs
include ${TOPDIR}/libs/libc/machine/sim/Make.defs
endif
ifeq ($(CONFIG_ARCH_X86),y)
include ${TOPDIR}/libc/machine/x86/Make.defs
include ${TOPDIR}/libs/libc/machine/x86/Make.defs
endif

View File

@ -4,25 +4,25 @@
#
if ARCH_ARM7TDMI || ARCH_ARM920T || ARCH_ARM926EJS
source libc/machine/arm/arm/Kconfig
source libs/libc/machine/arm/arm/Kconfig
endif
if ARCH_CORTEXA5 || ARCH_CORTEXA8 || ARCH_CORTEXA9
source libc/machine/arm/armv7-a/Kconfig
source libs/libc/machine/arm/armv7-a/Kconfig
endif
if ARCH_CORTEXR4 || ARCH_CORTEXR4F || ARCH_CORTEXR5 || ARCH_CORTEXR5F || ARCH_CORTEXR7 || ARCH_CORTEXR7F
source libc/machine/arm/armv7-r/Kconfig
source libs/libc/machine/arm/armv7-r/Kconfig
endif
if ARCH_CORTEXM0
source libc/machine/arm/armv6-m/Kconfig
source libs/libc/machine/arm/armv6-m/Kconfig
endif
if ARCH_CORTEXM3 || ARCH_CORTEXM4 || ARCH_CORTEXM7
source libc/machine/arm/armv7-m/Kconfig
source libs/libc/machine/arm/armv7-m/Kconfig
endif
if ARCH_CORTEXM33
source libc/machine/arm/armv8/Kconfig
source libs/libc/machine/arm/armv8/Kconfig
endif

View File

@ -1,5 +1,5 @@
############################################################################
# libc/machine/arm/Make.defs
# libs/libc/machine/arm/Make.defs
#
# Copyright (C) 2017 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
@ -34,37 +34,37 @@
############################################################################
ifeq ($(CONFIG_ARCH_ARM7TDMI),y) # ARM7TDMI is ARMv4T
include ${TOPDIR}/libc/machine/arm/arm/Make.defs
include ${TOPDIR}/libs/libc/machine/arm/arm/Make.defs
else ifeq ($(CONFIG_ARCH_ARM920T),y) # ARM920T is ARMv4T
include ${TOPDIR}/libc/machine/arm/arm/Make.defs
include ${TOPDIR}/libs/libc/machine/arm/arm/Make.defs
else ifeq ($(CONFIG_ARCH_ARM926EJS),y) # ARM926EJS is ARMv5TE
include ${TOPDIR}/libc/machine/arm/arm/Make.defs
include ${TOPDIR}/libs/libc/machine/arm/arm/Make.defs
else ifeq ($(CONFIG_ARCH_CORTEXA5),y) # Cortex-A5 is ARMv7-A
include ${TOPDIR}/libc/machine/arm/armv7-a/Make.defs
include ${TOPDIR}/libs/libc/machine/arm/armv7-a/Make.defs
else ifeq ($(CONFIG_ARCH_CORTEXA8),y) # Cortex-A8 is ARMv7-A
include ${TOPDIR}/libc/machine/arm/armv7-a/Make.defs
include ${TOPDIR}/libs/libc/machine/arm/armv7-a/Make.defs
else ifeq ($(CONFIG_ARCH_CORTEXA9),y) # Cortex-A9 is ARMv7-A
include ${TOPDIR}/libc/machine/arm/armv7-a/Make.defs
include ${TOPDIR}/libs/libc/machine/arm/armv7-a/Make.defs
else ifeq ($(CONFIG_ARCH_CORTEXR4),y) # Cortex-R4 is ARMv7-R
include ${TOPDIR}/libc/machine/arm/armv7-r/Make.defs
include ${TOPDIR}/libs/libc/machine/arm/armv7-r/Make.defs
else ifeq ($(CONFIG_ARCH_CORTEXR4F),y) # Cortex-R4F is ARMv7-R
include ${TOPDIR}/libc/machine/arm/armv7-r/Make.defs
include ${TOPDIR}/libs/libc/machine/arm/armv7-r/Make.defs
else ifeq ($(CONFIG_ARCH_CORTEXR5),y) # Cortex-R5 is ARMv7-R
include ${TOPDIR}/libc/machine/arm/armv7-r/Make.defs
include ${TOPDIR}/libs/libc/machine/arm/armv7-r/Make.defs
else ifeq ($(CONFIG_ARCH_CORTEXR5F),y) # Cortex-R5F is ARMv7-R
include ${TOPDIR}/libc/machine/arm/armv7-r/Make.defs
include ${TOPDIR}/libs/libc/machine/arm/armv7-r/Make.defs
else ifeq ($(CONFIG_ARCH_CORTEXR7),y) # Cortex-R7 is ARMv7-R
include ${TOPDIR}/libc/machine/arm/armv7-r/Make.defs
include ${TOPDIR}/libs/libc/machine/arm/armv7-r/Make.defs
else ifeq ($(CONFIG_ARCH_CORTEXR7F),y) # Cortex-R7F is ARMv7-R
include ${TOPDIR}/libc/machine/arm/armv7-r/Make.defs
include ${TOPDIR}/libs/libc/machine/arm/armv7-r/Make.defs
else ifeq ($(CONFIG_ARCH_CORTEXM0),y) # Cortex-M0 is ARMv6-M
include ${TOPDIR}/libc/machine/arm/armv6-m/Make.defs
include ${TOPDIR}/libs/libc/machine/arm/armv6-m/Make.defs
else ifeq ($(CONFIG_ARCH_CORTEXM3),y) # Cortex-M3 is ARMv7-M
include ${TOPDIR}/libc/machine/arm/armv7-m/Make.defs
include ${TOPDIR}/libs/libc/machine/arm/armv7-m/Make.defs
else ifeq ($(CONFIG_ARCH_CORTEXM33),y) # Cortex-M33 is ARMv8-M
include ${TOPDIR}/libc/machine/arm/armv8/Make.defs
include ${TOPDIR}/libs/libc/machine/arm/armv8/Make.defs
else ifeq ($(CONFIG_ARCH_CORTEXM4),y) # Cortex-M4 is ARMv7E-M
include ${TOPDIR}/libc/machine/arm/armv7-m/Make.defs
include ${TOPDIR}/libs/libc/machine/arm/armv7-m/Make.defs
else ifeq ($(CONFIG_ARCH_CORTEXM7),y) # Cortex-M4 is ARMv7E-M
include ${TOPDIR}/libc/machine/arm/armv7-m/Make.defs
include ${TOPDIR}/libs/libc/machine/arm/armv7-m/Make.defs
endif

View File

@ -1,5 +1,5 @@
############################################################################
# libc/machine/arm/arm/Make.defs
# libs/libc/machine/arm/arm/Make.defs
#
# Copyright (C) 2017 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/machine/arm/arm/arch_elf.c
* libs/libc/machine/arm/arm/arch_elf.c
*
* Copyright (C) 2012, 2014, 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
############################################################################
# libc/machine/arm/armv6-m/Make.defs
# libs/libc/machine/arm/armv6-m/Make.defs
#
# Copyright (C) 2017 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/machine/arm/armv6-m/arch_elf.c
* libs/libc/machine/arm/armv6-m/arch_elf.c
*
* Copyright (C) 2013-2014, 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
############################################################################
# libc/machine/arm/armv7-a/Make.defs
# libs/libc/machine/arm/armv7-a/Make.defs
#
# Copyright (C) 2017 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/machine/arm/armv-7a/arm_elf.c
* libs/libc/machine/arm/armv-7a/arm_elf.c
*
* Copyright (C) 2013-2014, 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/************************************************************************************
* libc/machine/arm/armv7-a/arm_memcpy.S
* libs/libc/machine/arm/armv7-a/arm_memcpy.S
* ARMv7-A optimized memcpy.
*
* Adapted for use with ARMv7-A and NuttX by:

View File

@ -1,5 +1,5 @@
############################################################################
# libc/machine/arm/armv7-m/Make.defs
# libs/libc/machine/arm/armv7-m/Make.defs
#
# Copyright (C) 2017 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/machine/arm/armv7-m/arch_elf.c
* libs/libc/machine/arm/armv7-m/arch_elf.c
*
* Copyright (C) 2012, 2014, 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/************************************************************************************
* libc/machine/arm/armv7-m/gnu/up_memcpy.S
* libs/libc/machine/arm/armv7-m/gnu/up_memcpy.S
*
* armv7m-optimized memcpy, contributed by Mike Smith. Apparently in the public
* domain and is re-released here under the modified BSD license:

View File

@ -1,5 +1,5 @@
############################################################################
# libc/machine/arm/armv7-r/Make.defs
# libs/libc/machine/arm/armv7-r/Make.defs
#
# Copyright (C) 2017 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/machine/arm/armv7-r/arm_elf.c
* libs/libc/machine/arm/armv7-r/arm_elf.c
*
* Copyright (C) 2015, 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/************************************************************************************
* libc/marchine/arm/armv7-r/arm_memcpy.S
* libs/libc/marchine/arm/armv7-r/arm_memcpy.S
* ARMv7-R optimized memcpy.
*
* Adapted for use with ARMv7-R and NuttX by:

View File

@ -1,5 +1,5 @@
############################################################################
# libc/machine/arm/armv8/Make.defs
# libs/libc/machine/arm/armv8/Make.defs
#
# Copyright (C) 2017 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/machine/arm/armv8/arch_ceil.c
* libs/libc/machine/arm/armv8/arch_ceil.c
*
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
*

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/machine/arm/armv8/arch_ceilf.c
* libs/libc/machine/arm/armv8/arch_ceilf.c
*
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
*

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/machine/arm/armv8/arch_floor.c
* libs/libc/machine/arm/armv8/arch_floor.c
*
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
*

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/machine/arm/armv8/arch_floorf.c
* libs/libc/machine/arm/armv8/arch_floorf.c
*
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
*

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/machine/arm/armv8/arch_nearbyint.c
* libs/libc/machine/arm/armv8/arch_nearbyint.c
*
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
*

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/machine/arm/armv8/arch_nearbyintf.c
* libs/libc/machine/arm/armv8/arch_nearbyintf.c
*
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
*

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/machine/arm/armv8/arch_rint.c
* libs/libc/machine/arm/armv8/arch_rint.c
*
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
*

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/machine/arm/armv8/arch_rintf.c
* libs/libc/machine/arm/armv8/arch_rintf.c
*
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
*

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/machine/arm/armv8/arch_round.c
* libs/libc/machine/arm/armv8/arch_round.c
*
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
*

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/machine/arm/armv8/arch_roundf.c
* libs/libc/machine/arm/armv8/arch_roundf.c
*
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
*

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/machine/arm/armv8/arch_trunc.c
* libs/libc/machine/arm/armv8/arch_trunc.c
*
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
*

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libc/machine/arm/armv8/arch_truncf.c
* libs/libc/machine/arm/armv8/arch_truncf.c
*
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
*

View File

@ -1,5 +1,5 @@
############################################################################
# libc/machine/sim/Make.defs
# libs/libc/machine/sim/Make.defs
#
# Copyright (C) 2017 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

Some files were not shown because too many files have changed in this diff Show More