1# 2# SPDX-License-Identifier: BSD-3-Clause 3# 4# Copyright © 2022 Keith Packard 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: 9# 10# 1. Redistributions of source code must retain the above copyright 11# notice, this list of conditions and the following disclaimer. 12# 13# 2. Redistributions in binary form must reproduce the above 14# copyright notice, this list of conditions and the following 15# disclaimer in the documentation and/or other materials provided 16# with the distribution. 17# 18# 3. Neither the name of the copyright holder nor the names of its 19# contributors may be used to endorse or promote products derived 20# from this software without specific prior written permission. 21# 22# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 23# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 24# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 25# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 26# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 27# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 28# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 29# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 31# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 32# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 33# OF THE POSSIBILITY OF SUCH DAMAGE. 34# 35picolibc_sources( 36 bcmp.c 37 bcopy.c 38 bzero.c 39 explicit_bzero.c 40 ffsl.c 41 ffsll.c 42 fls.c 43 flsl.c 44 flsll.c 45 gnu_basename.c 46 index.c 47 memccpy.c 48 memchr.c 49 memcmp.c 50 memcpy.c 51 memmem.c 52 memmove.c 53 mempcpy.c 54 memrchr.c 55 memset.c 56 rawmemchr.c 57 rindex.c 58 stpcpy.c 59 stpncpy.c 60 strcasecmp.c 61 strcasecmp_l.c 62 strcasestr.c 63 strcat.c 64 strchr.c 65 strchrnul.c 66 strcoll.c 67 strcoll_l.c 68 strcmp.c 69 strcpy.c 70 strcspn.c 71 strdup.c 72 strerror.c 73 strerror_r.c 74 strlcat.c 75 strlcpy.c 76 strlen.c 77 strlwr.c 78 strncasecmp.c 79 strncasecmp_l.c 80 strncat.c 81 strncmp.c 82 strncpy.c 83 strndup.c 84 strnlen.c 85 strnstr.c 86 strpbrk.c 87 strrchr.c 88 strsep.c 89 strsignal.c 90 strspn.c 91 strstr.c 92 strtok.c 93 strtok_r.c 94 strupr.c 95 strverscmp.c 96 strxfrm.c 97 strxfrm_l.c 98 swab.c 99 timingsafe_bcmp.c 100 timingsafe_memcmp.c 101 u_strerr.c 102 wcpcpy.c 103 wcpncpy.c 104 wcscasecmp.c 105 wcscasecmp_l.c 106 wcscat.c 107 wcschr.c 108 wcscmp.c 109 wcscoll.c 110 wcscoll_l.c 111 wcscpy.c 112 wcscspn.c 113 wcsdup.c 114 wcslcat.c 115 wcslcpy.c 116 wcslen.c 117 wcsncasecmp.c 118 wcsncasecmp_l.c 119 wcsncat.c 120 wcsncmp.c 121 wcsncpy.c 122 wcsnlen.c 123 wcspbrk.c 124 wcsrchr.c 125 wcsspn.c 126 wcsstr.c 127 wcstok.c 128 wcswidth.c 129 wcsxfrm.c 130 wcsxfrm_l.c 131 wcwidth.c 132 wmemchr.c 133 wmemcmp.c 134 wmemcpy.c 135 wmemmove.c 136 wmempcpy.c 137 wmemset.c 138 xpg_strerror_r.c 139 ) 140