From aa677662af030f7b87d5c2ec661cd6693fb47215 Mon Sep 17 00:00:00 2001 From: Jeff Johnston 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 cc5535ab8..cb2e7d0a8 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +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. diff --git a/newlib/configure.host b/newlib/configure.host index 3f276fd25..201876ef2 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.