diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-05-18 16:40:13 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-05-18 16:40:13 +0000 |
commit | ca0bafa734f0e00b507dd6e0dae515662768fffa (patch) | |
tree | 039bde26554a7b6eeef3e5269a6be6912e837790 /make/custom/posix.cfg | |
parent | Added conditional around TARGET_ARCH to prevent accidental overrides. (diff) | |
download | rtems-ca0bafa734f0e00b507dd6e0dae515662768fffa.tar.bz2 |
Added much stuff formerly in multiple compiler files.
Diffstat (limited to 'make/custom/posix.cfg')
-rw-r--r-- | make/custom/posix.cfg | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/make/custom/posix.cfg b/make/custom/posix.cfg index b0ca92d9c2..c88a66d0cc 100644 --- a/make/custom/posix.cfg +++ b/make/custom/posix.cfg @@ -7,6 +7,12 @@ include $(PROJECT_ROOT)/make/target.cfg include $(PROJECT_ROOT)/make/host.cfg +# Set them here, otherwise gcc-target-default.cfg will set them to values +# not working on some os variants (linux-RH5.0, glibc versions 2.0.0 - 2.0.7) +# These should be available on all unices +LIBC_LIBC=-lc +LIBC_LIBM=-lm + include $(RTEMS_ROOT)/make/custom/$(RTEMS_HOST)-posix.cfg # Setting formerly contained in gcc-<TARGET_ARCH>.cfg @@ -30,4 +36,25 @@ ifeq "$(origin NODE)" "environment" NODE=0 endif endif +# 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 |