1570af302Sopenharmony_ci# Copyright (c) 2022-2022 Huawei Device Co., Ltd. All rights reserved. 2570af302Sopenharmony_ci# 3570af302Sopenharmony_ci# Redistribution and use in source and binary forms, with or without modification, 4570af302Sopenharmony_ci# are permitted provided that the following conditions are met: 5570af302Sopenharmony_ci# 6570af302Sopenharmony_ci# 1. Redistributions of source code must retain the above copyright notice, this list of 7570af302Sopenharmony_ci# conditions and the following disclaimer. 8570af302Sopenharmony_ci# 9570af302Sopenharmony_ci# 2. Redistributions in binary form must reproduce the above copyright notice, this list 10570af302Sopenharmony_ci# of conditions and the following disclaimer in the documentation and/or other materials 11570af302Sopenharmony_ci# provided with the distribution. 12570af302Sopenharmony_ci# 13570af302Sopenharmony_ci# 3. Neither the name of the copyright holder nor the names of its contributors may be used 14570af302Sopenharmony_ci# to endorse or promote products derived from this software without specific prior written 15570af302Sopenharmony_ci# permission. 16570af302Sopenharmony_ci# 17570af302Sopenharmony_ci# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18570af302Sopenharmony_ci# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 19570af302Sopenharmony_ci# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 20570af302Sopenharmony_ci# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 21570af302Sopenharmony_ci# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 22570af302Sopenharmony_ci# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 23570af302Sopenharmony_ci# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 24570af302Sopenharmony_ci# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 25570af302Sopenharmony_ci# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 26570af302Sopenharmony_ci# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 27570af302Sopenharmony_ci# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28570af302Sopenharmony_ci 29570af302Sopenharmony_ciMUSLPORTINGDIR = get_path_info(".", "abspath") 30570af302Sopenharmony_ci 31570af302Sopenharmony_ciMUSL_INCLUDE_DIRS = [ "$MUSLPORTINGDIR/include" ] 32570af302Sopenharmony_ci 33570af302Sopenharmony_ciMUSL_LIBC_OPT_SRC_FOR_ARM = 34570af302Sopenharmony_ci [ "$MUSLPORTINGDIR/src/string/arch/arm/memcpy_le.S" ] 35570af302Sopenharmony_ci 36570af302Sopenharmony_ciMUSL_LIBC_SRC = [ 37570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/ctype/__ctype_get_mb_cur_max.c", 38570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/ctype/isalnum.c", 39570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/ctype/isascii.c", 40570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/ctype/isdigit.c", 41570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/ctype/islower.c", 42570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/ctype/isprint.c", 43570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/ctype/isspace.c", 44570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/ctype/isupper.c", 45570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/ctype/isxdigit.c", 46570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/ctype/tolower.c", 47570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/ctype/toupper.c", 48570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/env/__stack_chk_fail.c", 49570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/errno/strerror.c", 50570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/errno/__errno_location.c", 51570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/exit/abort.c", 52570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/exit/assert.c", 53570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/exit/atexit.c", 54570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/internal/floatscan.c", 55570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/internal/intscan.c", 56570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/internal/shgetc.c", 57570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/locale/__lctrans.c", 58570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/locale/c_locale.c", 59570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/locale/iconv.c", 60570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/locale/langinfo.c", 61570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/misc/dirname.c", 62570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/misc/realpath.c", 63570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/multibyte/internal.c", 64570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/multibyte/mbrtowc.c", 65570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/multibyte/mbsinit.c", 66570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/multibyte/mbtowc.c", 67570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/multibyte/wcrtomb.c", 68570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/multibyte/wctomb.c", 69570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/network/h_errno.c", 70570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/network/htonl.c", 71570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/network/htons.c", 72570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/network/ntohl.c", 73570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/network/ntohs.c", 74570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/prng/rand.c", 75570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/prng/random.c", 76570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/regex/regcomp.c", 77570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/regex/regexec.c", 78570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/regex/tre-mem.c", 79570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/__fdopen.c", 80570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/__fmodeflags.c", 81570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/__lockfile.c", 82570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/__overflow.c", 83570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/__stdio_close.c", 84570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/__stdio_read.c", 85570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/__stdio_seek.c", 86570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/__stdio_write.c", 87570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/__stdout_write.c", 88570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/__string_read.c", 89570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/__toread.c", 90570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/__towrite.c", 91570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/__uflow.c", 92570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/clearerr.c", 93570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/fclose.c", 94570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/feof.c", 95570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/fflush.c", 96570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/fgetc.c", 97570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/fgets.c", 98570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/fileno.c", 99570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/fopen.c", 100570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/fputc.c", 101570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/fputs.c", 102570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/fread.c", 103570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/fseek.c", 104570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/ftell.c", 105570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/fwrite.c", 106570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/ofl.c", 107570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/ofl_add.c", 108570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/perror.c", 109570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/remove.c", 110570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/rewind.c", 111570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/snprintf.c", 112570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/sscanf.c", 113570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/stderr.c", 114570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/stdin.c", 115570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/stdout.c", 116570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/ungetc.c", 117570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/vfprintf.c", 118570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/vfscanf.c", 119570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/vsnprintf.c", 120570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/vsprintf.c", 121570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdio/vsscanf.c", 122570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdlib/abs.c", 123570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdlib/atof.c", 124570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdlib/atoi.c", 125570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdlib/atol.c", 126570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdlib/atoll.c", 127570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdlib/bsearch.c", 128570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdlib/llabs.c", 129570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdlib/strtod.c", 130570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/stdlib/strtol.c", 131570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/memchr.c", 132570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/memcmp.c", 133570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/memcpy.c", 134570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/memmove.c", 135570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/memrchr.c", 136570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/memset.c", 137570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/stpcpy.c", 138570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/stpncpy.c", 139570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/strcasecmp.c", 140570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/strcat.c", 141570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/strchr.c", 142570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/strchrnul.c", 143570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/strcmp.c", 144570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/strcpy.c", 145570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/strcspn.c", 146570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/strdup.c", 147570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/strlen.c", 148570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/strncasecmp.c", 149570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/strncat.c", 150570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/strncmp.c", 151570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/strncpy.c", 152570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/strnlen.c", 153570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/strrchr.c", 154570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/strspn.c", 155570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/strstr.c", 156570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/strtok.c", 157570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/strtok_r.c", 158570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/wcschr.c", 159570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/string/wcslen.c", 160570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/time/__month_to_secs.c", 161570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/time/__secs_to_tm.c", 162570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/time/__tm_to_secs.c", 163570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/time/__tz.c", 164570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/time/__year_to_secs.c", 165570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/time/asctime.c", 166570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/time/asctime_r.c", 167570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/time/ctime.c", 168570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/time/strftime.c", 169570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/time/strptime.c", 170570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/malloc/malloc.c", 171570af302Sopenharmony_ci] 172570af302Sopenharmony_ci 173570af302Sopenharmony_ciMUSL_LIBM_SRC = [ 174570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/__fpclassify.c", 175570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/__fpclassifyl.c", 176570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/__math_divzero.c", 177570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/__math_divzerof.c", 178570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/__math_invalid.c", 179570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/__math_invalidf.c", 180570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/__math_oflow.c", 181570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/__math_oflowf.c", 182570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/__math_uflow.c", 183570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/__math_uflowf.c", 184570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/__math_xflow.c", 185570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/__math_xflowf.c", 186570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/__signbit.c", 187570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/__signbitl.c", 188570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/arm/fabs.c", 189570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/copysign.c", 190570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/copysignl.c", 191570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/exp_data.c", 192570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/fabsl.c", 193570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/floor.c", 194570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/fmod.c", 195570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/fmodl.c", 196570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/frexp.c", 197570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/frexpl.c", 198570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/log.c", 199570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/log_data.c", 200570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/pow.c", 201570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/pow_data.c", 202570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/round.c", 203570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/scalbn.c", 204570af302Sopenharmony_ci "$MUSLPORTINGDIR/src/math/scalbnl.c", 205570af302Sopenharmony_ci] 206