From a7c1897395cec89292cdbd349088d41f1f7d13b4 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 26 Jun 2002 12:52:38 +0000 Subject: 2002-06-26 Ralf Corsepius * configure.ac: Remove references to RTEMS_BSP. * src/Makefile.am: Add libposix.a. --- c/src/exec/posix/ChangeLog | 5 +++++ c/src/exec/posix/configure.ac | 6 +++--- c/src/exec/posix/src/Makefile.am | 6 +++++- cpukit/posix/ChangeLog | 5 +++++ cpukit/posix/configure.ac | 6 +++--- cpukit/posix/src/Makefile.am | 6 +++++- 6 files changed, 26 insertions(+), 8 deletions(-) diff --git a/c/src/exec/posix/ChangeLog b/c/src/exec/posix/ChangeLog index a28553ad2c..4eeb065d2f 100644 --- a/c/src/exec/posix/ChangeLog +++ b/c/src/exec/posix/ChangeLog @@ -1,3 +1,8 @@ +2002-06-26 Ralf Corsepius + + * configure.ac: Remove references to RTEMS_BSP. + * src/Makefile.am: Add libposix.a. + 2002-06-17 Ralf Corsepius * include/Makefile.am: Include $(top_srcdir)/../automake/*.am. diff --git a/c/src/exec/posix/configure.ac b/c/src/exec/posix/configure.ac index a7c3a806c4..726bed45f7 100644 --- a/c/src/exec/posix/configure.ac +++ b/c/src/exec/posix/configure.ac @@ -26,8 +26,8 @@ RTEMS_PROJECT_ROOT RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]) RTEMS_CANONICALIZE_TOOLS -RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP) -RTEMS_CHECK_POSIX_API(RTEMS_BSP) +RTEMS_CHECK_MULTIPROCESSING +RTEMS_CHECK_POSIX_API # If RTEMS macros are enabled, then use them. Otherwise, use inlines. if test "$RTEMS_USE_MACROS" = "yes"; then @@ -44,7 +44,7 @@ RTEMS_CHECK_NEWLIB ## Refuse to build if bsp does not support libposix if test "$HAS_POSIX_API" != "yes"; then -AC_MSG_ERROR([BSP $RTEMS_BSP does not support libposix]) +AC_MSG_ERROR([libposix is not supported by this configuration]) fi AM_CONFIG_HEADER(src/config.h) diff --git a/c/src/exec/posix/src/Makefile.am b/c/src/exec/posix/src/Makefile.am index 2bf552dc76..5acf82d323 100644 --- a/c/src/exec/posix/src/Makefile.am +++ b/c/src/exec/posix/src/Makefile.am @@ -2,6 +2,7 @@ ## $Id$ ## +LIB=$(ARCH)/libposix.a INCLUDES = -I. @@ -96,7 +97,10 @@ include $(top_srcdir)/../automake/lib.am AM_CPPFLAGS += -D__RTEMS_INSIDE__ -all-local: ${ARCH} ${OBJS} +all-local: ${ARCH} $(LIB) + +$(LIB): ${OBJS} + $(make-library) # temporary so we can see how many things are left to implement not: diff --git a/cpukit/posix/ChangeLog b/cpukit/posix/ChangeLog index a28553ad2c..4eeb065d2f 100644 --- a/cpukit/posix/ChangeLog +++ b/cpukit/posix/ChangeLog @@ -1,3 +1,8 @@ +2002-06-26 Ralf Corsepius + + * configure.ac: Remove references to RTEMS_BSP. + * src/Makefile.am: Add libposix.a. + 2002-06-17 Ralf Corsepius * include/Makefile.am: Include $(top_srcdir)/../automake/*.am. diff --git a/cpukit/posix/configure.ac b/cpukit/posix/configure.ac index a7c3a806c4..726bed45f7 100644 --- a/cpukit/posix/configure.ac +++ b/cpukit/posix/configure.ac @@ -26,8 +26,8 @@ RTEMS_PROJECT_ROOT RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]) RTEMS_CANONICALIZE_TOOLS -RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP) -RTEMS_CHECK_POSIX_API(RTEMS_BSP) +RTEMS_CHECK_MULTIPROCESSING +RTEMS_CHECK_POSIX_API # If RTEMS macros are enabled, then use them. Otherwise, use inlines. if test "$RTEMS_USE_MACROS" = "yes"; then @@ -44,7 +44,7 @@ RTEMS_CHECK_NEWLIB ## Refuse to build if bsp does not support libposix if test "$HAS_POSIX_API" != "yes"; then -AC_MSG_ERROR([BSP $RTEMS_BSP does not support libposix]) +AC_MSG_ERROR([libposix is not supported by this configuration]) fi AM_CONFIG_HEADER(src/config.h) diff --git a/cpukit/posix/src/Makefile.am b/cpukit/posix/src/Makefile.am index 2bf552dc76..5acf82d323 100644 --- a/cpukit/posix/src/Makefile.am +++ b/cpukit/posix/src/Makefile.am @@ -2,6 +2,7 @@ ## $Id$ ## +LIB=$(ARCH)/libposix.a INCLUDES = -I. @@ -96,7 +97,10 @@ include $(top_srcdir)/../automake/lib.am AM_CPPFLAGS += -D__RTEMS_INSIDE__ -all-local: ${ARCH} ${OBJS} +all-local: ${ARCH} $(LIB) + +$(LIB): ${OBJS} + $(make-library) # temporary so we can see how many things are left to implement not: -- cgit v1.2.3