mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 22:48:23 +00:00
FreeBSD stack compiles for the first time (except libc/strsep.c)
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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=
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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@
|
||||
|
||||
Reference in New Issue
Block a user