aboutsummaryrefslogtreecommitdiff
path: root/newlib/configure.host
diff options
context:
space:
mode:
authorAlexey Lapshin <alexey.lapshin@espressif.com>2024-08-30 09:37:36 +0000
committerCorinna Vinschen <corinna@vinschen.de>2024-09-02 22:16:59 +0200
commitcc0d1bf2f16f090a5aec8a6746cf4d372338705b (patch)
tree8ccb5ddae5873a9d63f29d677fe8d8f87ae00439 /newlib/configure.host
parent48f1655c955c154b3165692e02aa66699212453c (diff)
downloadnewlib-cc0d1bf2f16f090a5aec8a6746cf4d372338705b.zip
newlib-cc0d1bf2f16f090a5aec8a6746cf4d372338705b.tar.gz
newlib-cc0d1bf2f16f090a5aec8a6746cf4d372338705b.tar.bz2
newlib: esp: add dirent.h header file
Support dirent in *-esp-* toolchains
Diffstat (limited to 'newlib/configure.host')
-rw-r--r--newlib/configure.host12
1 files changed, 9 insertions, 3 deletions
diff --git a/newlib/configure.host b/newlib/configure.host
index a8a73f9..ff2e512 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -446,6 +446,15 @@ case "${host}" in
sys_dir=tirtos
have_crt0="no"
;;
+ *-esp-*)
+ sys_dir=esp
+ have_crt0="no"
+ posix_dir=posix
+ newlib_cflags="${newlib_cflags} -D_NO_GLOB -D_NO_EXECVE -D_NO_GETLOGIN -D_NO_GETPWENT -D_NO_GETUT"
+ newlib_cflags="${newlib_cflags} -D_NO_GETPASS -D_NO_SIGSET -D_NO_WORDEXP -D_NO_POPEN -D_NO_POSIX_SPAWN"
+ newlib_cflags="${newlib_cflags} -DHAVE_FCNTL -DHAVE_BLKSIZE -DHAVE_OPENDIR -DHAVE_RENAME"
+ newlib_cflags="${newlib_cflags} -DGETREENT_PROVIDED -DSIGNAL_PROVIDED"
+ ;;
a29k-*-*)
sys_dir=a29khif
signal_dir=
@@ -579,9 +588,6 @@ case "${host}" in
w65-*-*)
sys_dir=w65
;;
- xtensa*-*-*)
- sys_dir=xtensa
- ;;
z8k-*-coff)
sys_dir=z8ksim
;;