mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-20 03:05:47 +08:00
FreeBSD stack compiles for the first time (except libc/strsep.c)
This commit is contained in:
@@ -29,6 +29,14 @@ SUB_DIRS=build-tools src
|
|||||||
LIBKA9Q_yes_V = lib/include/ka9q
|
LIBKA9Q_yes_V = lib/include/ka9q
|
||||||
LIBKA9Q = $(LIBKA9Q_$(HAS_KA9Q)_V)
|
LIBKA9Q = $(LIBKA9Q_$(HAS_KA9Q)_V)
|
||||||
|
|
||||||
|
# We only make the install point for the KA9Q header files if it is enabled.
|
||||||
|
LIBNETWORKING_yes_V = lib/include/networking lib/include/networking/sys \
|
||||||
|
lib/include/networking/machine lib/include/networking/rtems \
|
||||||
|
lib/include/networking/vm lib/include/networking/net \
|
||||||
|
lib/include/networking/netinet lib/include/networking/arpa \
|
||||||
|
lib/include/networking/nfs
|
||||||
|
LIBNETWORKING = $(LIBNETWORKING_$(HAS_NETWORKING)_V)
|
||||||
|
|
||||||
# We only make the rtems++ install point if it is enabled.
|
# We only make the rtems++ install point if it is enabled.
|
||||||
LIBRTEMSCPLUSPLUS_yes_V = lib/include/rtems++
|
LIBRTEMSCPLUSPLUS_yes_V = lib/include/rtems++
|
||||||
LIBRTEMSCPLUSPLUS = $(LIBRTEMSCPLUSPLUS_$(HAS_CPLUSPLUS)_V)
|
LIBRTEMSCPLUSPLUS = $(LIBRTEMSCPLUSPLUS_$(HAS_CPLUSPLUS)_V)
|
||||||
@@ -40,6 +48,7 @@ CREATE_DIRS = \
|
|||||||
lib/include/netinet lib/include/libc lib/include/libc/sys \
|
lib/include/netinet lib/include/libc lib/include/libc/sys \
|
||||||
lib/include/motorola lib/include/zilog \
|
lib/include/motorola lib/include/zilog \
|
||||||
$(LIBKA9Q) \
|
$(LIBKA9Q) \
|
||||||
|
$(LIBNETWORKING) \
|
||||||
$(LIBRTEMSCPLUSPLUS) \
|
$(LIBRTEMSCPLUSPLUS) \
|
||||||
bin samples \
|
bin samples \
|
||||||
tests tests/screens tests/screens/sptests \
|
tests tests/screens tests/screens/sptests \
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ extern "C" {
|
|||||||
#define CPU_IDLE_TASK_IS_FP FALSE
|
#define CPU_IDLE_TASK_IS_FP FALSE
|
||||||
#define CPU_USE_DEFERRED_FP_SWITCH TRUE
|
#define CPU_USE_DEFERRED_FP_SWITCH TRUE
|
||||||
|
|
||||||
#define CPU_PROVIDES_IDLE_THREAD_BODY YES
|
#define CPU_PROVIDES_IDLE_THREAD_BODY TRUE
|
||||||
#define CPU_STACK_GROWS_UP FALSE
|
#define CPU_STACK_GROWS_UP FALSE
|
||||||
#define CPU_STRUCTURE_ALIGNMENT
|
#define CPU_STRUCTURE_ALIGNMENT
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,12 @@ include $(RTEMS_ROOT)/make/directory.cfg
|
|||||||
LIBKA9Q_yes_V = libka9q
|
LIBKA9Q_yes_V = libka9q
|
||||||
LIBKA9Q = $(LIBKA9Q_$(HAS_KA9Q)_V)
|
LIBKA9Q = $(LIBKA9Q_$(HAS_KA9Q)_V)
|
||||||
|
|
||||||
|
# We only build the networking library if HAS_NETWORKING was defined
|
||||||
|
LIBNETWORKING_yes_V = libnetworking
|
||||||
|
LIBNETWORKING = $(LIBNETWORKING_$(HAS_NETWORKING)_V)
|
||||||
|
NETWORKING_INCLUDE_yes_V = libnetworking/include
|
||||||
|
NETWORKING_INCLUDE = $(NETWORKING_INCLUDE_$(HAS_NETWORKING)_V)
|
||||||
|
|
||||||
# We only build the rtems++ library if HAS_CPLUSPLUS was defined
|
# We only build the rtems++ library if HAS_CPLUSPLUS was defined
|
||||||
LIBRTEMSCPLUSPLUS_yes_V = librtems++
|
LIBRTEMSCPLUSPLUS_yes_V = librtems++
|
||||||
LIBRTEMSCPLUSPLUS = $(LIBRTEMSCPLUSPLUS_$(HAS_CPLUSPLUS)_V)
|
LIBRTEMSCPLUSPLUS = $(LIBRTEMSCPLUSPLUS_$(HAS_CPLUSPLUS)_V)
|
||||||
@@ -22,5 +28,5 @@ LIBRTEMSCPLUSPLUS = $(LIBRTEMSCPLUSPLUS_$(HAS_CPLUSPLUS)_V)
|
|||||||
# General Hardware API library
|
# General Hardware API library
|
||||||
LIBHWAPI=$(wildcard libhwapi)
|
LIBHWAPI=$(wildcard libhwapi)
|
||||||
|
|
||||||
SUB_DIRS=start include libmisc libc libcpu libbsp \
|
SUB_DIRS=start include $(NETWORKING_INCLUDE) libmisc libc libcpu libbsp \
|
||||||
$(LIBKA9Q) $(LIBHWAPI) $(LIBRTEMSCPLUSPLUS) wrapup
|
$(LIBKA9Q) $(LIBNETWORKING) $(LIBHWAPI) $(LIBRTEMSCPLUSPLUS) wrapup
|
||||||
|
|||||||
@@ -14,11 +14,16 @@ include $(RTEMS_ROOT)/make/directory.cfg
|
|||||||
SRCS=README
|
SRCS=README
|
||||||
|
|
||||||
# We only build the ka9q device driver if HAS_KA9Q was defined
|
# We only build the ka9q device driver if HAS_KA9Q was defined
|
||||||
KA9Q_DRIVER_yes_V = network
|
KA9Q_DRIVER_yes_V = ka9q_network
|
||||||
KA9Q_DRIVER = $(KA9Q_DRIVER_$(HAS_KA9Q)_V)
|
KA9Q_DRIVER = $(KA9Q_DRIVER_$(HAS_KA9Q)_V)
|
||||||
|
|
||||||
|
# We only build the networking device driver if HAS_NETWORKING was defined
|
||||||
|
NETWORKING_DRIVER_yes_V = network
|
||||||
|
NETWORKING_DRIVER = $(NETWORKING_DRIVER_$(HAS_NETWORKING)_V)
|
||||||
|
|
||||||
all: $(SRCS)
|
all: $(SRCS)
|
||||||
|
|
||||||
# wrapup is the one that actually builds and installs the library
|
# wrapup is the one that actually builds and installs the library
|
||||||
# from the individual .rel files built in other directories
|
# from the individual .rel files built in other directories
|
||||||
SUB_DIRS=include start360 startup clock console timer $(KA9Q_DRIVER) wrapup
|
SUB_DIRS=include start360 startup clock console timer \
|
||||||
|
$(KA9Q_DRIVER) $(NETWORKING_DRIVER) wrapup
|
||||||
|
|||||||
@@ -27,7 +27,8 @@ include $(RTEMS_ROOT)/make/leaf.cfg
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
DEFINES +=
|
DEFINES += -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS \
|
||||||
|
-DDIAGNOSTIC -DBOOTP_COMPAT
|
||||||
CPPFLAGS +=
|
CPPFLAGS +=
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -9,10 +9,14 @@ RTEMS_ROOT = @top_srcdir@
|
|||||||
PROJECT_ROOT = @PROJECT_ROOT@
|
PROJECT_ROOT = @PROJECT_ROOT@
|
||||||
|
|
||||||
# We only build the ka9q device driver if HAS_KA9Q was defined
|
# We only build the ka9q device driver if HAS_KA9Q was defined
|
||||||
KA9Q_DRIVER_yes_V = network
|
KA9Q_DRIVER_yes_V = ka9q_network
|
||||||
KA9Q_DRIVER = $(KA9Q_DRIVER_$(HAS_KA9Q)_V)
|
KA9Q_DRIVER = $(KA9Q_DRIVER_$(HAS_KA9Q)_V)
|
||||||
|
|
||||||
BSP_PIECES=startup clock console timer $(KA9Q_DRIVER)
|
# We only build the networking device driver if HAS_NETWORKING was defined
|
||||||
|
NETWORKING_DRIVER_yes_V = network
|
||||||
|
NETWORKING_DRIVER = $(NETWORKING_DRIVER_$(HAS_NETWORKING)_V)
|
||||||
|
|
||||||
|
BSP_PIECES=startup clock console timer $(KA9Q_DRIVER) $(NETWORKING_DRIVER)
|
||||||
CPU_PIECES=
|
CPU_PIECES=
|
||||||
GENERIC_PIECES=
|
GENERIC_PIECES=
|
||||||
|
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ SRCS=$(wildcard $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a) \
|
|||||||
$(PROJECT_RELEASE)/lib/librtems$(LIB_VARIANT).a \
|
$(PROJECT_RELEASE)/lib/librtems$(LIB_VARIANT).a \
|
||||||
$(wildcard $(PROJECT_RELEASE)/lib/libposix$(LIB_VARIANT).a) \
|
$(wildcard $(PROJECT_RELEASE)/lib/libposix$(LIB_VARIANT).a) \
|
||||||
$(wildcard $(PROJECT_RELEASE)/lib/libka9q$(LIB_VARIANT).a) \
|
$(wildcard $(PROJECT_RELEASE)/lib/libka9q$(LIB_VARIANT).a) \
|
||||||
|
$(wildcard $(PROJECT_RELEASE)/lib/libnetworking$(LIB_VARIANT).a) \
|
||||||
$(wildcard $(PROJECT_RELEASE)/lib/libcpu$(LIB_VARIANT).a) \
|
$(wildcard $(PROJECT_RELEASE)/lib/libcpu$(LIB_VARIANT).a) \
|
||||||
$(PROJECT_RELEASE)/lib/libcsupport$(LIB_VARIANT).a \
|
$(PROJECT_RELEASE)/lib/libcsupport$(LIB_VARIANT).a \
|
||||||
$(PROJECT_RELEASE)/lib/libmisc$(LIB_VARIANT).a \
|
$(PROJECT_RELEASE)/lib/libmisc$(LIB_VARIANT).a \
|
||||||
|
|||||||
@@ -22,6 +22,10 @@ CPLUS_CPPFLAGS=$(CFLAGS) $(XCPPFLAGS)
|
|||||||
INCLUDE_KA9Q_yes_V = -I$(PROJECT_INCLUDE)/ka9q
|
INCLUDE_KA9Q_yes_V = -I$(PROJECT_INCLUDE)/ka9q
|
||||||
INCLUDE_KA9Q = $(INCLUDE_KA9Q_$(HAS_KA9Q)_V)
|
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_USE_GCC272),yes)
|
||||||
ifeq ($(RTEMS_CROSS_TARGET),no)
|
ifeq ($(RTEMS_CROSS_TARGET),no)
|
||||||
|
|
||||||
@@ -33,6 +37,7 @@ endif
|
|||||||
CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \
|
CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \
|
||||||
-I$(PROJECT_INCLUDE) \
|
-I$(PROJECT_INCLUDE) \
|
||||||
$(INCLUDE_KA9Q) \
|
$(INCLUDE_KA9Q) \
|
||||||
|
$(INCLUDE_NETWORKING) \
|
||||||
$(RTEMS_LIBC_INCLUDES) $(DEFINES)
|
$(RTEMS_LIBC_INCLUDES) $(DEFINES)
|
||||||
|
|
||||||
ASMFLAGS=$(CPU_DEFINES) $(CPU_CFLAGS) -g \
|
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 \
|
CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \
|
||||||
-nostdinc -I$(PROJECT_INCLUDE) \
|
-nostdinc -I$(PROJECT_INCLUDE) \
|
||||||
$(INCLUDE_KA9Q) \
|
$(INCLUDE_KA9Q) \
|
||||||
|
$(INCLUDE_NETWORKING) \
|
||||||
-I$(RTEMS_LIBC_DIR)/include -I$(GCC_INCLUDE) $(DEFINES)
|
-I$(RTEMS_LIBC_DIR)/include -I$(GCC_INCLUDE) $(DEFINES)
|
||||||
|
|
||||||
ASMFLAGS=$(CPU_DEFINES) $(CPU_CFLAGS) -g \
|
ASMFLAGS=$(CPU_DEFINES) $(CPU_CFLAGS) -g \
|
||||||
@@ -65,7 +71,7 @@ endif
|
|||||||
else
|
else
|
||||||
CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \
|
CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \
|
||||||
-B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems \
|
-B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems \
|
||||||
$(INCLUDE_KA9Q) $(DEFINES)
|
$(INCLUDE_KA9Q) $(INCLUDE_NETWORKING) $(DEFINES)
|
||||||
|
|
||||||
ASMFLAGS=$(CPU_DEFINES) $(CPU_CFLAGS) -g -I$(srcdir) \
|
ASMFLAGS=$(CPU_DEFINES) $(CPU_CFLAGS) -g -I$(srcdir) \
|
||||||
-B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems $(DEFINES)
|
-B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems $(DEFINES)
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ SRCS=$(wildcard $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a) \
|
|||||||
$(PROJECT_RELEASE)/lib/librtems$(LIB_VARIANT).a \
|
$(PROJECT_RELEASE)/lib/librtems$(LIB_VARIANT).a \
|
||||||
$(wildcard $(PROJECT_RELEASE)/lib/libposix$(LIB_VARIANT).a) \
|
$(wildcard $(PROJECT_RELEASE)/lib/libposix$(LIB_VARIANT).a) \
|
||||||
$(wildcard $(PROJECT_RELEASE)/lib/libka9q$(LIB_VARIANT).a) \
|
$(wildcard $(PROJECT_RELEASE)/lib/libka9q$(LIB_VARIANT).a) \
|
||||||
|
$(wildcard $(PROJECT_RELEASE)/lib/libnetworking$(LIB_VARIANT).a) \
|
||||||
$(wildcard $(PROJECT_RELEASE)/lib/libcpu$(LIB_VARIANT).a) \
|
$(wildcard $(PROJECT_RELEASE)/lib/libcpu$(LIB_VARIANT).a) \
|
||||||
$(PROJECT_RELEASE)/lib/libcsupport$(LIB_VARIANT).a \
|
$(PROJECT_RELEASE)/lib/libcsupport$(LIB_VARIANT).a \
|
||||||
$(PROJECT_RELEASE)/lib/libmisc$(LIB_VARIANT).a \
|
$(PROJECT_RELEASE)/lib/libmisc$(LIB_VARIANT).a \
|
||||||
|
|||||||
20
configure.in
20
configure.in
@@ -33,7 +33,15 @@ AC_ARG_ENABLE(ka9q, \
|
|||||||
yes) RTEMS_HAS_KA9Q=yes ;;
|
yes) RTEMS_HAS_KA9Q=yes ;;
|
||||||
no) RTEMS_HAS_KA9Q=no ;;
|
no) RTEMS_HAS_KA9Q=no ;;
|
||||||
*) AC_MSG_ERROR(bad value ${enableval} for enable-ka9q option) ;;
|
*) AC_MSG_ERROR(bad value ${enableval} for enable-ka9q option) ;;
|
||||||
esac],[RTEMS_HAS_KA9Q=yes])
|
esac],[RTEMS_HAS_KA9Q=no])
|
||||||
|
|
||||||
|
AC_ARG_ENABLE(networking, \
|
||||||
|
[ --enable-networking enable TCP/IP stack], \
|
||||||
|
[case "${enableval}" in
|
||||||
|
yes) RTEMS_HAS_NETWORKING=yes ;;
|
||||||
|
no) RTEMS_HAS_NETWORKING=no ;;
|
||||||
|
*) AC_MSG_ERROR(bad value ${enableval} for enable-networking option) ;;
|
||||||
|
esac],[RTEMS_HAS_NETWORKING=yes])
|
||||||
|
|
||||||
AC_ARG_ENABLE(rtems-inlines, \
|
AC_ARG_ENABLE(rtems-inlines, \
|
||||||
[ --enable-rtems-inlines enable RTEMS inline functions (use macros)], \
|
[ --enable-rtems-inlines enable RTEMS inline functions (use macros)], \
|
||||||
@@ -372,10 +380,19 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# If the KA9Q TCP/IP stack is enabled, then find all KA9Q Makefiles
|
# If the KA9Q TCP/IP stack is enabled, then find all KA9Q Makefiles
|
||||||
|
AC_MSG_CHECKING([if KA9Q networking is enabled? ])
|
||||||
|
AC_MSG_RESULT($RTEMS_HAS_KA9Q)
|
||||||
if test "$RTEMS_HAS_KA9Q" = "yes"; then
|
if test "$RTEMS_HAS_KA9Q" = "yes"; then
|
||||||
makefiles="$makefiles c/src/lib/libka9q/Makefile"
|
makefiles="$makefiles c/src/lib/libka9q/Makefile"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# If the TCP/IP stack is enabled, then find all TCP/IP Makefiles
|
||||||
|
AC_MSG_CHECKING([if networking is enabled? ])
|
||||||
|
AC_MSG_RESULT($RTEMS_HAS_NETWORKING)
|
||||||
|
if test "$RTEMS_HAS_NETWORKING" = "yes"; then
|
||||||
|
RTEMS_CHECK_MAKEFILE(c/src/lib/libnetworking)
|
||||||
|
fi
|
||||||
|
|
||||||
# If the C++ support is enabled, then include the Makefiles
|
# If the C++ support is enabled, then include the Makefiles
|
||||||
if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
|
if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
|
||||||
makefiles="$makefiles c/src/lib/librtems++/Makefile"
|
makefiles="$makefiles c/src/lib/librtems++/Makefile"
|
||||||
@@ -438,6 +455,7 @@ AC_SUBST(RTEMS_LIBC_DIR)
|
|||||||
AC_SUBST(RTEMS_USE_OWN_PDIR)
|
AC_SUBST(RTEMS_USE_OWN_PDIR)
|
||||||
AC_SUBST(RTEMS_HAS_POSIX_API)
|
AC_SUBST(RTEMS_HAS_POSIX_API)
|
||||||
AC_SUBST(RTEMS_HAS_KA9Q)
|
AC_SUBST(RTEMS_HAS_KA9Q)
|
||||||
|
AC_SUBST(RTEMS_HAS_NETWORKING)
|
||||||
AC_SUBST(RTEMS_USE_MACROS)
|
AC_SUBST(RTEMS_USE_MACROS)
|
||||||
AC_SUBST(RTEMS_HAS_CPLUSPLUS)
|
AC_SUBST(RTEMS_HAS_CPLUSPLUS)
|
||||||
AC_SUBST(RTEMS_USE_GCC272)
|
AC_SUBST(RTEMS_USE_GCC272)
|
||||||
|
|||||||
@@ -22,6 +22,10 @@ CPLUS_CPPFLAGS=$(CFLAGS) $(XCPPFLAGS)
|
|||||||
INCLUDE_KA9Q_yes_V = -I$(PROJECT_INCLUDE)/ka9q
|
INCLUDE_KA9Q_yes_V = -I$(PROJECT_INCLUDE)/ka9q
|
||||||
INCLUDE_KA9Q = $(INCLUDE_KA9Q_$(HAS_KA9Q)_V)
|
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_USE_GCC272),yes)
|
||||||
ifeq ($(RTEMS_CROSS_TARGET),no)
|
ifeq ($(RTEMS_CROSS_TARGET),no)
|
||||||
|
|
||||||
@@ -33,6 +37,7 @@ endif
|
|||||||
CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \
|
CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \
|
||||||
-I$(PROJECT_INCLUDE) \
|
-I$(PROJECT_INCLUDE) \
|
||||||
$(INCLUDE_KA9Q) \
|
$(INCLUDE_KA9Q) \
|
||||||
|
$(INCLUDE_NETWORKING) \
|
||||||
$(RTEMS_LIBC_INCLUDES) $(DEFINES)
|
$(RTEMS_LIBC_INCLUDES) $(DEFINES)
|
||||||
|
|
||||||
ASMFLAGS=$(CPU_DEFINES) $(CPU_CFLAGS) -g \
|
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 \
|
CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \
|
||||||
-nostdinc -I$(PROJECT_INCLUDE) \
|
-nostdinc -I$(PROJECT_INCLUDE) \
|
||||||
$(INCLUDE_KA9Q) \
|
$(INCLUDE_KA9Q) \
|
||||||
|
$(INCLUDE_NETWORKING) \
|
||||||
-I$(RTEMS_LIBC_DIR)/include -I$(GCC_INCLUDE) $(DEFINES)
|
-I$(RTEMS_LIBC_DIR)/include -I$(GCC_INCLUDE) $(DEFINES)
|
||||||
|
|
||||||
ASMFLAGS=$(CPU_DEFINES) $(CPU_CFLAGS) -g \
|
ASMFLAGS=$(CPU_DEFINES) $(CPU_CFLAGS) -g \
|
||||||
@@ -65,7 +71,7 @@ endif
|
|||||||
else
|
else
|
||||||
CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \
|
CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \
|
||||||
-B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems \
|
-B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems \
|
||||||
$(INCLUDE_KA9Q) $(DEFINES)
|
$(INCLUDE_KA9Q) $(INCLUDE_NETWORKING) $(DEFINES)
|
||||||
|
|
||||||
ASMFLAGS=$(CPU_DEFINES) $(CPU_CFLAGS) -g -I$(srcdir) \
|
ASMFLAGS=$(CPU_DEFINES) $(CPU_CFLAGS) -g -I$(srcdir) \
|
||||||
-B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems $(DEFINES)
|
-B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems $(DEFINES)
|
||||||
|
|||||||
@@ -44,6 +44,10 @@ HAS_MP=yes
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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.
|
# This target does NOT support the POSIX API.
|
||||||
HAS_POSIX_API=no
|
HAS_POSIX_API=no
|
||||||
|
|
||||||
|
|||||||
@@ -43,6 +43,10 @@ HAS_MP=yes
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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.
|
# This target does NOT support the POSIX API.
|
||||||
HAS_POSIX_API=no
|
HAS_POSIX_API=no
|
||||||
|
|
||||||
|
|||||||
@@ -45,6 +45,10 @@ HAS_MP=yes
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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.
|
# This target does NOT support the POSIX API.
|
||||||
HAS_POSIX_API=no
|
HAS_POSIX_API=no
|
||||||
|
|
||||||
|
|||||||
@@ -44,6 +44,10 @@ HAS_MP=yes
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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.
|
# This target does NOT support the POSIX API.
|
||||||
HAS_POSIX_API=no
|
HAS_POSIX_API=no
|
||||||
|
|
||||||
|
|||||||
@@ -32,6 +32,10 @@ HAS_MP=yes
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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.
|
# This section makes the target dependent options file.
|
||||||
|
|
||||||
# NDEBUG (C library)
|
# NDEBUG (C library)
|
||||||
|
|||||||
@@ -63,6 +63,15 @@ HAS_MP=no
|
|||||||
# Define this to yes if this target wants the KA9Q TCP/IP stack
|
# Define this to yes if this target wants the KA9Q TCP/IP stack
|
||||||
ifeq ($(RTEMS_HAS_KA9Q),yes)
|
ifeq ($(RTEMS_HAS_KA9Q),yes)
|
||||||
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
|
endif
|
||||||
|
|
||||||
# Define this to yes if this target wants the posix api
|
# 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.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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.
|
# This section makes the target dependent options file.
|
||||||
# NDEBUG (C library)
|
# NDEBUG (C library)
|
||||||
# if defined asserts do not generate code. This is commonly used
|
# 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.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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
|
# Override default start file
|
||||||
START_BASE=start332
|
START_BASE=start332
|
||||||
|
|
||||||
|
|||||||
@@ -25,6 +25,10 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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
|
# Override default start file
|
||||||
START_BASE=start68k
|
START_BASE=start68k
|
||||||
|
|
||||||
|
|||||||
@@ -32,6 +32,10 @@ CFLAGS_OPTIMIZE_V=-O4
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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
|
# Override default start file
|
||||||
START_BASE=startsis
|
START_BASE=startsis
|
||||||
|
|
||||||
|
|||||||
@@ -28,6 +28,10 @@ HAS_MP=yes
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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.
|
# This section makes the target dependent options file.
|
||||||
|
|
||||||
# NDEBUG (C library)
|
# NDEBUG (C library)
|
||||||
|
|||||||
@@ -26,6 +26,10 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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.
|
# This section makes the target dependent options file.
|
||||||
|
|
||||||
# NDEBUG (C library)
|
# NDEBUG (C library)
|
||||||
|
|||||||
@@ -35,6 +35,10 @@ HAS_MP=no
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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
|
# debug flags: typically none, but we use -O1 as it produces better code
|
||||||
CFLAGS_DEBUG_V = -O1
|
CFLAGS_DEBUG_V = -O1
|
||||||
|
|
||||||
|
|||||||
@@ -57,6 +57,10 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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
|
# Base name of start file
|
||||||
# go32 does not use the rtems start file
|
# go32 does not use the rtems start file
|
||||||
START_BASE=
|
START_BASE=
|
||||||
|
|||||||
@@ -25,6 +25,10 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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.
|
# This section makes the target dependent options file.
|
||||||
|
|
||||||
# NDEBUG (C library)
|
# NDEBUG (C library)
|
||||||
|
|||||||
@@ -16,6 +16,10 @@ RTEMS_BSP_FAMILY=idp
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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.
|
# This section makes the target dependent options file.
|
||||||
|
|
||||||
# NDEBUG (C library)
|
# NDEBUG (C library)
|
||||||
|
|||||||
@@ -29,6 +29,10 @@ HAS_MP=yes
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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.
|
# This section makes the target dependent options file.
|
||||||
|
|
||||||
# NDEBUG (C library)
|
# NDEBUG (C library)
|
||||||
|
|||||||
@@ -23,6 +23,10 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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.
|
# This section makes the target dependent options file.
|
||||||
|
|
||||||
# NDEBUG (C library)
|
# NDEBUG (C library)
|
||||||
|
|||||||
@@ -50,6 +50,10 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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.
|
# This section makes the target dependent options file.
|
||||||
|
|
||||||
# NDEBUG (C library)
|
# NDEBUG (C library)
|
||||||
|
|||||||
@@ -31,4 +31,8 @@ HAS_MP=yes
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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
|
# Miscellaneous additions go here
|
||||||
|
|||||||
@@ -36,6 +36,10 @@ CFLAGS_DEBUG_V+=-g
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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.
|
# 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.
|
# This requires that at least the GNU C++ compiler and libg++ be installed.
|
||||||
ifeq ($(RTEMS_HAS_CPLUSPLUS),yes)
|
ifeq ($(RTEMS_HAS_CPLUSPLUS),yes)
|
||||||
|
|||||||
@@ -16,6 +16,10 @@ RTEMS_BSP_FAMILY=p4000
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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.
|
# This section makes the target dependent options file.
|
||||||
|
|
||||||
# NDEBUG (C library)
|
# NDEBUG (C library)
|
||||||
|
|||||||
@@ -29,6 +29,10 @@ RTEMS_BSP=p4000
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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.
|
# This section makes the target dependent options file.
|
||||||
|
|
||||||
# NDEBUG (C library)
|
# NDEBUG (C library)
|
||||||
|
|||||||
@@ -28,6 +28,10 @@ RTEMS_BSP=p4000
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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.
|
# This section makes the target dependent options file.
|
||||||
|
|
||||||
# NDEBUG (C library)
|
# NDEBUG (C library)
|
||||||
|
|||||||
@@ -20,6 +20,10 @@ RTEMS_BSP_FAMILY=papyrus
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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.
|
# This section makes the target dependent options file.
|
||||||
|
|
||||||
# NDEBUG (C library)
|
# NDEBUG (C library)
|
||||||
|
|||||||
@@ -56,6 +56,10 @@ HAS_MP=no
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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
|
# Define this to yes if this target wants the posix api
|
||||||
HAS_POSIX_API=no
|
HAS_POSIX_API=no
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,10 @@ RTEMS_BSP_FAMILY=psim
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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.
|
# This section makes the target dependent options file.
|
||||||
|
|
||||||
# NDEBUG (C library)
|
# NDEBUG (C library)
|
||||||
|
|||||||
@@ -42,6 +42,10 @@ HAS_MP=yes
|
|||||||
# to enable it.
|
# to enable it.
|
||||||
HAS_KA9Q=no
|
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.
|
# This makes the target dependent options file.
|
||||||
|
|
||||||
# NDEBUG (C library)
|
# NDEBUG (C library)
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ RTEMS_HOST = @RTEMS_HOST@
|
|||||||
RTEMS_USE_OWN_PDIR = @RTEMS_USE_OWN_PDIR@
|
RTEMS_USE_OWN_PDIR = @RTEMS_USE_OWN_PDIR@
|
||||||
RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@
|
RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@
|
||||||
RTEMS_HAS_KA9Q = @RTEMS_HAS_KA9Q@
|
RTEMS_HAS_KA9Q = @RTEMS_HAS_KA9Q@
|
||||||
|
RTEMS_HAS_NETWORKING = @RTEMS_HAS_NETWORKING@
|
||||||
RTEMS_HAS_CPLUSPLUS = @RTEMS_HAS_CPLUSPLUS@
|
RTEMS_HAS_CPLUSPLUS = @RTEMS_HAS_CPLUSPLUS@
|
||||||
RTEMS_USE_MACROS = @RTEMS_USE_MACROS@
|
RTEMS_USE_MACROS = @RTEMS_USE_MACROS@
|
||||||
RTEMS_USE_GCC272 = @RTEMS_USE_GCC272@
|
RTEMS_USE_GCC272 = @RTEMS_USE_GCC272@
|
||||||
|
|||||||
Reference in New Issue
Block a user