summaryrefslogtreecommitdiffstats
path: root/make/custom/portsw.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-08-06 17:55:25 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-08-06 17:55:25 +0000
commit3a8915e6ee7974d832994d218c6a90b83cd86323 (patch)
tree3dde98ccb6120fb27412044b6b951c2af13a2781 /make/custom/portsw.cfg
parent22544db9d8349d709505cf75616746e5635dc6f4 (diff)
downloadrtems-3a8915e6ee7974d832994d218c6a90b83cd86323.tar.bz2
Patch rtems-rc-19990709-6-diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
applied. This modified many Makefiles and custom files and makes many more settings (network, multiprocessing, etc) gnerated by autoconf.
Diffstat (limited to 'make/custom/portsw.cfg')
-rw-r--r--make/custom/portsw.cfg75
1 files changed, 38 insertions, 37 deletions
diff --git a/make/custom/portsw.cfg b/make/custom/portsw.cfg
index e65ead7118..8d499f56df 100644
--- a/make/custom/portsw.cfg
+++ b/make/custom/portsw.cfg
@@ -4,9 +4,9 @@
# $Id$
#
-# Specify here the host and target "architectures"
-HOST_ARCH=o-$(RTEMS_HOST)
-TARGET_ARCH=o-$(RTEMS_BSP)
+# Note: This file is broken for sure
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
RTEMS_CPU=a29k
RTEMS_CPU_MODEL=a29205
@@ -14,42 +14,43 @@ RTEMS_CPU_MODEL=a29205
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=portsw
-# use the inline functions instead of the macros
-# ref: src/exec/generic/Makefile
-# Need INLINE_UPCASE set to uppercase value of INLINE variable
-# ref: make/compilers/gcc-force386.cfg
-INLINE=macros
-INLINE_UPCASE=
-
-# The makefiles all use PROJECT_xxx for variables.
-# Ie: $(PROJECT_RELEASE) is the install point.
-# Externally, we think of these as "RTEMS" variables.
-# Here is where we convert from RTEMS forms to PROJECT forms
-# See also make/main.cfg, which derives some more.
-PROJECT_ROOT=$(RTEMS_ROOT)/c
-
-# HOST Compiler config file
-# You may also want to specify where the compiler resides here.
-CC_$(HOST_ARCH)_DIR=$(RTEMS_GNUTOOLS_HOST)
-CONFIG.$(HOST_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc.cfg
-
-## Target compiler config file, if any
-CC_$(TARGET_ARCH)_DIR=$(RTEMS_GNUTOOLS)
-CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-$(RTEMS_BSP).cfg
-
-# 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 section makes the target dependent options file.
+
+# NDEBUG (C library)
+# if defined asserts do not generate code. This is commonly used
+# as a command line option.
#
-# Need "main" in BSP so can't link C++ sample test or you will get
-# duplicate symbol errors for main
+# RTEMS_TEST_NO_PAUSE (RTEMS tests)
+# do not pause between screens of output in the rtems tests
+#
+# RTEMS_DEBUG (RTEMS)
+# If defined, debug checks in RTEMS and support library code are enabled.
#
-HAS_CPLUSPLUS=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
+define make-target-options
+ @echo "/* #define NDEBUG 1 */ " >>$@
+ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
+ @echo "/* #define RTEMS_DEBUG 1 */" >>$@
+endef
+
+
+ifeq ($(RTEMS_USE_GCC272),yes)
+define make-exe
+ $(LD) $(LDFLAGS) -N -e _start \
+ -T$(PROJECT_RELEASE)/lib/linkcmds\
+ -o $(basename $@).exe \
+ $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
+ $(NM) -n $(basename $@).exe > $(basename $@).num
+ $(SIZE) $(basename $@).exe
+endef
+else
+define make-exe
+ $(CC) $(CPPFLAGS) -Wl,-Map,$(basename $@).map \
+ $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).exe \
+ $(LINK_OBJS) $(LINK_LIBS)
+ $(NM) -n $(basename $@).exe > $(basename $@).num
+ $(SIZE) $(basename $@).exe
+endef
+endif
# Miscellaneous additions go here