summaryrefslogtreecommitdiffstats
path: root/make/custom/posix.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-27 14:21:55 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-27 14:21:55 +0000
commit0e70f60581869279615293fb6d5abee0b006ded5 (patch)
tree7d0e3da696f9a332c21ff8ddf9cceec072a6973e /make/custom/posix.cfg
parentRemoved forced enable of POSIX API. Now follow configuration flag. (diff)
downloadrtems-0e70f60581869279615293fb6d5abee0b006ded5.tar.bz2
Fixes from Ralf Corsepius:
* Posix BSP configuration: Moved some rules from make/custom/*-posix.cfg files to make/custom/posix.cfg, Removed references to stdc++ from *posix.cfg files (rtems doesn't use/need libstdc++) NOTE: Building Posix-BSPs should now work again for native compilation with gcc, i..e. linux using primary compiler and primary libc. All Posix-BSP configurations that don't use gcc as primary compiler or don't use the primary libc don't work, e.g. solaris, linux w/ egcs as secondary compiler won't be built correctly.
Diffstat (limited to 'make/custom/posix.cfg')
-rw-r--r--make/custom/posix.cfg21
1 files changed, 21 insertions, 0 deletions
diff --git a/make/custom/posix.cfg b/make/custom/posix.cfg
index 05f6a56cdd..b0ca92d9c2 100644
--- a/make/custom/posix.cfg
+++ b/make/custom/posix.cfg
@@ -9,4 +9,25 @@ include $(PROJECT_ROOT)/make/host.cfg
include $(RTEMS_ROOT)/make/custom/$(RTEMS_HOST)-posix.cfg
+# Setting formerly contained in gcc-<TARGET_ARCH>.cfg
+
+# Not applicable - let's override 'em
+LINKCMDS=
+START_FILE=
+START_BASE=
+
+# Here is the rule to actually build a $(ARCH)/foo.exe
+# It also builds $(ARCH)/foo.sr and $(ARCH)/foo.nm
+# Usage ref: src/tests/sptest/sp1/Makefile
+#
+# 'NODE' is set to 1 or 2 for multi cpu tests (ref: mptests/mp01/node1/Makefile)
+# If NODE is set as an environment variable, don't trust it, zero it out.
+# (NODE turns out to be a very common environment variable)
+ifeq (,$(NODE))
+NODE=0
+else
+ifeq "$(origin NODE)" "environment"
+NODE=0
+endif
+endif