From deede0eebf24fc261018ee62fe9d6131cbe5a240 Mon Sep 17 00:00:00 2001 From: jjohnstn Date: Mon, 17 Nov 2008 22:08:05 +0000 Subject: [PATCH] 2008-11-17 Joel Sherrill * configure.host: RTEMS now uses posix subdirectory. --- newlib/ChangeLog | 4 ++++ newlib/configure.host | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index cc5535ab80..cb2e7d0a81 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,5 +1,9 @@ 2008-11-17 Joel Sherrill + * configure.host: RTEMS now uses posix subdirectory. + +2008-11-17 Joel Sherrill + * sys/rtems/include/limits.h: Add _POSIX2_RE_DUP_MAX. * sys/rtems/sys/param.h: sys/rtprio.h not needed. diff --git a/newlib/configure.host b/newlib/configure.host index 3f276fd256..201876ef22 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -340,7 +340,7 @@ case "${host}" in ;; *-*-rtems*) # generic RTEMS support sys_dir=rtems - # RTEMS POSIX support is all inside RTEMS + posix_dir=posix ;; a29k-*-*) sys_dir=a29khif @@ -532,7 +532,7 @@ case "${host}" in # NOTE: When newlib malloc uses a semaphore, RTEMS will switch to that. *-*-rtems*) default_newlib_io_long_long="yes" - newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED -DEXIT_PROVIDED -DMISSING_SYSCALL_NAMES -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_OPENDIR -DNO_EXEC -DHAVE_FCNTL" + newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED -DEXIT_PROVIDED -DMISSING_SYSCALL_NAMES -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_FCNTL" ;; # VxWorks supplies its own version of malloc, and the newlib one # doesn't work because VxWorks does not have sbrk. -- 2.11.0