FreeBSD stack compiles for the first time (except libc/strsep.c)

This commit is contained in:
Joel Sherrill
1998-08-20 14:39:09 +00:00
parent 3f098aed45
commit 0280cb66f5
42 changed files with 832 additions and 558 deletions

View File

@@ -22,6 +22,10 @@ CPLUS_CPPFLAGS=$(CFLAGS) $(XCPPFLAGS)
INCLUDE_KA9Q_yes_V = -I$(PROJECT_INCLUDE)/ka9q
INCLUDE_KA9Q = $(INCLUDE_KA9Q_$(HAS_KA9Q)_V)
# We only include the header files for networking if it is enabled.
INCLUDE_NETWORKING_yes_V = -I$(PROJECT_INCLUDE)/networking
INCLUDE_NETWORKING = $(INCLUDE_NETWORKING_$(HAS_NETWORKING)_V)
ifeq ($(RTEMS_USE_GCC272),yes)
ifeq ($(RTEMS_CROSS_TARGET),no)
@@ -33,6 +37,7 @@ endif
CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \
-I$(PROJECT_INCLUDE) \
$(INCLUDE_KA9Q) \
$(INCLUDE_NETWORKING) \
$(RTEMS_LIBC_INCLUDES) $(DEFINES)
ASMFLAGS=$(CPU_DEFINES) $(CPU_CFLAGS) -g \
@@ -46,6 +51,7 @@ GCC_INCLUDE=$(shell $(CC) $(CPU_CFLAGS) -print-file-name=include $(GCCSED))
CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \
-nostdinc -I$(PROJECT_INCLUDE) \
$(INCLUDE_KA9Q) \
$(INCLUDE_NETWORKING) \
-I$(RTEMS_LIBC_DIR)/include -I$(GCC_INCLUDE) $(DEFINES)
ASMFLAGS=$(CPU_DEFINES) $(CPU_CFLAGS) -g \
@@ -65,7 +71,7 @@ endif
else
CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \
-B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems \
$(INCLUDE_KA9Q) $(DEFINES)
$(INCLUDE_KA9Q) $(INCLUDE_NETWORKING) $(DEFINES)
ASMFLAGS=$(CPU_DEFINES) $(CPU_CFLAGS) -g -I$(srcdir) \
-B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems $(DEFINES)

View File

@@ -44,6 +44,10 @@ HAS_MP=yes
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# This target does NOT support the POSIX API.
HAS_POSIX_API=no

View File

@@ -43,6 +43,10 @@ HAS_MP=yes
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# This target does NOT support the POSIX API.
HAS_POSIX_API=no

View File

@@ -45,6 +45,10 @@ HAS_MP=yes
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# This target does NOT support the POSIX API.
HAS_POSIX_API=no

View File

@@ -44,6 +44,10 @@ HAS_MP=yes
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# This target does NOT support the POSIX API.
HAS_POSIX_API=no

View File

@@ -32,6 +32,10 @@ HAS_MP=yes
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# This section makes the target dependent options file.
# NDEBUG (C library)

View File

@@ -63,6 +63,15 @@ HAS_MP=no
# Define this to yes if this target wants the KA9Q TCP/IP stack
ifeq ($(RTEMS_HAS_KA9Q),yes)
HAS_KA9Q=yes
else
HAS_KA9Q=no
endif
# Define this to yes if this target wants the TCP/IP stack
ifeq ($(RTEMS_HAS_NETWORKING),yes)
HAS_NETWORKING=yes
else
HAS_NETWORKING=no
endif
# Define this to yes if this target wants the posix api

View File

@@ -27,6 +27,10 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# This section makes the target dependent options file.
# NDEBUG (C library)
# if defined asserts do not generate code. This is commonly used

View File

@@ -26,6 +26,10 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# Override default start file
START_BASE=start332

View File

@@ -25,6 +25,10 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# Override default start file
START_BASE=start68k

View File

@@ -32,6 +32,10 @@ CFLAGS_OPTIMIZE_V=-O4
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# Override default start file
START_BASE=startsis

View File

@@ -28,6 +28,10 @@ HAS_MP=yes
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# This section makes the target dependent options file.
# NDEBUG (C library)

View File

@@ -26,6 +26,10 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# This section makes the target dependent options file.
# NDEBUG (C library)

View File

@@ -35,6 +35,10 @@ HAS_MP=no
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# debug flags: typically none, but we use -O1 as it produces better code
CFLAGS_DEBUG_V = -O1

View File

@@ -57,6 +57,10 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# Base name of start file
# go32 does not use the rtems start file
START_BASE=

View File

@@ -25,6 +25,10 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# This section makes the target dependent options file.
# NDEBUG (C library)

View File

@@ -16,6 +16,10 @@ RTEMS_BSP_FAMILY=idp
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# This section makes the target dependent options file.
# NDEBUG (C library)

View File

@@ -29,6 +29,10 @@ HAS_MP=yes
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# This section makes the target dependent options file.
# NDEBUG (C library)

View File

@@ -23,6 +23,10 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# This section makes the target dependent options file.
# NDEBUG (C library)

View File

@@ -50,6 +50,10 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# This section makes the target dependent options file.
# NDEBUG (C library)

View File

@@ -31,4 +31,8 @@ HAS_MP=yes
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# Miscellaneous additions go here

View File

@@ -36,6 +36,10 @@ CFLAGS_DEBUG_V+=-g
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# Define this to yes if C++ is included in the development environment.
# This requires that at least the GNU C++ compiler and libg++ be installed.
ifeq ($(RTEMS_HAS_CPLUSPLUS),yes)

View File

@@ -16,6 +16,10 @@ RTEMS_BSP_FAMILY=p4000
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# This section makes the target dependent options file.
# NDEBUG (C library)

View File

@@ -29,6 +29,10 @@ RTEMS_BSP=p4000
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# This section makes the target dependent options file.
# NDEBUG (C library)

View File

@@ -28,6 +28,10 @@ RTEMS_BSP=p4000
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# This section makes the target dependent options file.
# NDEBUG (C library)

View File

@@ -19,6 +19,10 @@ RTEMS_BSP_FAMILY=papyrus
# This target does NOT support the KA9Q TCP/IP stack so ignore requests
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# This section makes the target dependent options file.

View File

@@ -56,6 +56,10 @@ HAS_MP=no
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# Define this to yes if this target wants the posix api
HAS_POSIX_API=no

View File

@@ -16,6 +16,10 @@ RTEMS_BSP_FAMILY=psim
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# This section makes the target dependent options file.
# NDEBUG (C library)

View File

@@ -42,6 +42,10 @@ HAS_MP=yes
# to enable it.
HAS_KA9Q=no
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
HAS_NETWORKING=no
# This makes the target dependent options file.
# NDEBUG (C library)

View File

@@ -40,6 +40,7 @@ RTEMS_HOST = @RTEMS_HOST@
RTEMS_USE_OWN_PDIR = @RTEMS_USE_OWN_PDIR@
RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@
RTEMS_HAS_KA9Q = @RTEMS_HAS_KA9Q@
RTEMS_HAS_NETWORKING = @RTEMS_HAS_NETWORKING@
RTEMS_HAS_CPLUSPLUS = @RTEMS_HAS_CPLUSPLUS@
RTEMS_USE_MACROS = @RTEMS_USE_MACROS@
RTEMS_USE_GCC272 = @RTEMS_USE_GCC272@