summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-20 14:39:09 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-20 14:39:09 +0000
commit0280cb66f5c53883c635562ce1b406de8edea988 (patch)
tree4000825007f96fdd3a8f37856cc5446e94de7423 /make
parent3f098aed4500da38db8afdff111f02198158203a (diff)
downloadrtems-0280cb66f5c53883c635562ce1b406de8edea988.tar.bz2
FreeBSD stack compiles for the first time (except libc/strsep.c)
Diffstat (limited to '')
-rw-r--r--make/compilers/gcc-target-default.cfg8
-rw-r--r--make/custom/FreeBSD-posix.cfg4
-rw-r--r--make/custom/HPUX9-posix.cfg4
-rw-r--r--make/custom/Linux-posix.cfg4
-rw-r--r--make/custom/Solaris-posix.cfg4
-rw-r--r--make/custom/cvme961.cfg4
-rw-r--r--make/custom/default.cfg9
-rw-r--r--make/custom/dmv152.cfg4
-rw-r--r--make/custom/efi332.cfg4
-rw-r--r--make/custom/efi68k.cfg4
-rw-r--r--make/custom/erc32.cfg4
-rw-r--r--make/custom/force386.cfg4
-rw-r--r--make/custom/gen68302.cfg4
-rw-r--r--make/custom/gensh1.cfg4
-rw-r--r--make/custom/go32.cfg4
-rw-r--r--make/custom/i386ex.cfg4
-rw-r--r--make/custom/idp.cfg4
-rw-r--r--make/custom/mvme136.cfg4
-rw-r--r--make/custom/mvme147.cfg4
-rw-r--r--make/custom/mvme162.cfg4
-rw-r--r--make/custom/no_bsp.cfg4
-rw-r--r--make/custom/ods68302.cfg4
-rw-r--r--make/custom/p4000.cfg4
-rw-r--r--make/custom/p4600.cfg4
-rw-r--r--make/custom/p4650.cfg4
-rw-r--r--make/custom/papyrus.cfg4
-rw-r--r--make/custom/portsw.cfg4
-rw-r--r--make/custom/psim.cfg4
-rw-r--r--make/custom/simhppa.cfg4
-rw-r--r--make/target.cfg.in1
30 files changed, 125 insertions, 1 deletions
diff --git a/make/compilers/gcc-target-default.cfg b/make/compilers/gcc-target-default.cfg
index 359ae1a295..ee533743e8 100644
--- a/make/compilers/gcc-target-default.cfg
+++ b/make/compilers/gcc-target-default.cfg
@@ -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)
diff --git a/make/custom/FreeBSD-posix.cfg b/make/custom/FreeBSD-posix.cfg
index 326c0078f2..3dd9b6499e 100644
--- a/make/custom/FreeBSD-posix.cfg
+++ b/make/custom/FreeBSD-posix.cfg
@@ -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
diff --git a/make/custom/HPUX9-posix.cfg b/make/custom/HPUX9-posix.cfg
index c0383ea164..d054bc370a 100644
--- a/make/custom/HPUX9-posix.cfg
+++ b/make/custom/HPUX9-posix.cfg
@@ -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
diff --git a/make/custom/Linux-posix.cfg b/make/custom/Linux-posix.cfg
index 2972d6388a..c50daf9006 100644
--- a/make/custom/Linux-posix.cfg
+++ b/make/custom/Linux-posix.cfg
@@ -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
diff --git a/make/custom/Solaris-posix.cfg b/make/custom/Solaris-posix.cfg
index f2bf14997c..34eb6264d8 100644
--- a/make/custom/Solaris-posix.cfg
+++ b/make/custom/Solaris-posix.cfg
@@ -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
diff --git a/make/custom/cvme961.cfg b/make/custom/cvme961.cfg
index fbc8eb660a..6513ed1441 100644
--- a/make/custom/cvme961.cfg
+++ b/make/custom/cvme961.cfg
@@ -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)
diff --git a/make/custom/default.cfg b/make/custom/default.cfg
index f09b2f89e3..980b73cf5b 100644
--- a/make/custom/default.cfg
+++ b/make/custom/default.cfg
@@ -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
diff --git a/make/custom/dmv152.cfg b/make/custom/dmv152.cfg
index 078f23c636..c8337e15a3 100644
--- a/make/custom/dmv152.cfg
+++ b/make/custom/dmv152.cfg
@@ -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
diff --git a/make/custom/efi332.cfg b/make/custom/efi332.cfg
index ec3a4d8cde..cc4c1b50f4 100644
--- a/make/custom/efi332.cfg
+++ b/make/custom/efi332.cfg
@@ -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
diff --git a/make/custom/efi68k.cfg b/make/custom/efi68k.cfg
index 34f91c2357..09c15910d6 100644
--- a/make/custom/efi68k.cfg
+++ b/make/custom/efi68k.cfg
@@ -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
diff --git a/make/custom/erc32.cfg b/make/custom/erc32.cfg
index 3267d52474..2e0a27595c 100644
--- a/make/custom/erc32.cfg
+++ b/make/custom/erc32.cfg
@@ -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
diff --git a/make/custom/force386.cfg b/make/custom/force386.cfg
index 7828e3576d..6fce969131 100644
--- a/make/custom/force386.cfg
+++ b/make/custom/force386.cfg
@@ -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)
diff --git a/make/custom/gen68302.cfg b/make/custom/gen68302.cfg
index 7fce2148d2..ef4293e053 100644
--- a/make/custom/gen68302.cfg
+++ b/make/custom/gen68302.cfg
@@ -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)
diff --git a/make/custom/gensh1.cfg b/make/custom/gensh1.cfg
index 526c775d82..38eb59db15 100644
--- a/make/custom/gensh1.cfg
+++ b/make/custom/gensh1.cfg
@@ -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
diff --git a/make/custom/go32.cfg b/make/custom/go32.cfg
index ff67d0b0fd..e8708d6a03 100644
--- a/make/custom/go32.cfg
+++ b/make/custom/go32.cfg
@@ -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=
diff --git a/make/custom/i386ex.cfg b/make/custom/i386ex.cfg
index 12fcec58fb..bedf6bd107 100644
--- a/make/custom/i386ex.cfg
+++ b/make/custom/i386ex.cfg
@@ -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)
diff --git a/make/custom/idp.cfg b/make/custom/idp.cfg
index 89541a7522..1ffac2e85d 100644
--- a/make/custom/idp.cfg
+++ b/make/custom/idp.cfg
@@ -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)
diff --git a/make/custom/mvme136.cfg b/make/custom/mvme136.cfg
index ada4a834f4..17ecd7bf24 100644
--- a/make/custom/mvme136.cfg
+++ b/make/custom/mvme136.cfg
@@ -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)
diff --git a/make/custom/mvme147.cfg b/make/custom/mvme147.cfg
index 89aab49929..092b4890ee 100644
--- a/make/custom/mvme147.cfg
+++ b/make/custom/mvme147.cfg
@@ -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)
diff --git a/make/custom/mvme162.cfg b/make/custom/mvme162.cfg
index 21a2fe7782..d3c55c2a75 100644
--- a/make/custom/mvme162.cfg
+++ b/make/custom/mvme162.cfg
@@ -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)
diff --git a/make/custom/no_bsp.cfg b/make/custom/no_bsp.cfg
index a0f29170de..83937a06f4 100644
--- a/make/custom/no_bsp.cfg
+++ b/make/custom/no_bsp.cfg
@@ -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
diff --git a/make/custom/ods68302.cfg b/make/custom/ods68302.cfg
index ac4ffa9d0d..0988c53a04 100644
--- a/make/custom/ods68302.cfg
+++ b/make/custom/ods68302.cfg
@@ -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)
diff --git a/make/custom/p4000.cfg b/make/custom/p4000.cfg
index 9f468adfc0..298c443249 100644
--- a/make/custom/p4000.cfg
+++ b/make/custom/p4000.cfg
@@ -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)
diff --git a/make/custom/p4600.cfg b/make/custom/p4600.cfg
index 2d8e5b3f9b..527e6cada9 100644
--- a/make/custom/p4600.cfg
+++ b/make/custom/p4600.cfg
@@ -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)
diff --git a/make/custom/p4650.cfg b/make/custom/p4650.cfg
index 3b01b116fd..e249fb2870 100644
--- a/make/custom/p4650.cfg
+++ b/make/custom/p4650.cfg
@@ -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)
diff --git a/make/custom/papyrus.cfg b/make/custom/papyrus.cfg
index 830238bb1b..10f4cf0368 100644
--- a/make/custom/papyrus.cfg
+++ b/make/custom/papyrus.cfg
@@ -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.
diff --git a/make/custom/portsw.cfg b/make/custom/portsw.cfg
index eee46e86e3..6669819dd2 100644
--- a/make/custom/portsw.cfg
+++ b/make/custom/portsw.cfg
@@ -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
diff --git a/make/custom/psim.cfg b/make/custom/psim.cfg
index a67ad5f6dc..7a7f2fef17 100644
--- a/make/custom/psim.cfg
+++ b/make/custom/psim.cfg
@@ -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)
diff --git a/make/custom/simhppa.cfg b/make/custom/simhppa.cfg
index e1d87622f3..43674ea40d 100644
--- a/make/custom/simhppa.cfg
+++ b/make/custom/simhppa.cfg
@@ -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)
diff --git a/make/target.cfg.in b/make/target.cfg.in
index 50033d933f..01f3ae1a72 100644
--- a/make/target.cfg.in
+++ b/make/target.cfg.in
@@ -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@