#
|
#
|
# Config file for the posix based RTEMS
|
# Config file for the posix based RTEMS
|
#
|
#
|
# $Id: posix.cfg,v 1.2 2001-09-27 12:02:52 chris Exp $
|
# $Id: posix.cfg,v 1.2 2001-09-27 12:02:52 chris Exp $
|
#
|
#
|
|
|
# include $(RTEMS_ROOT)/make/target.cfg
|
# include $(RTEMS_ROOT)/make/target.cfg
|
include $(RTEMS_ROOT)/make/host.cfg
|
include $(RTEMS_ROOT)/make/host.cfg
|
|
|
# Set them here, otherwise gcc-target-default.cfg will set them to values
|
# 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)
|
# not working on some os variants (linux-RH5.0, glibc versions 2.0.0 - 2.0.7)
|
# These should be available on all unices
|
# These should be available on all unices
|
LIBC_LIBC=-lc
|
LIBC_LIBC=-lc
|
LIBC_LIBM=-lm
|
LIBC_LIBM=-lm
|
|
|
include $(RTEMS_ROOT)/make/custom/$(RTEMS_HOST)-posix.cfg
|
include $(RTEMS_ROOT)/make/custom/$(RTEMS_HOST)-posix.cfg
|
|
|
# Not applicable - let's override 'em
|
# Not applicable - let's override 'em
|
LINKCMDS=
|
LINKCMDS=
|
START_FILE=
|
START_FILE=
|
START_BASE=
|
START_BASE=
|
|
|
# Here is the rule to actually build a $(ARCH)/foo.exe
|
# Here is the rule to actually build a $(ARCH)/foo.exe
|
# It also builds $(ARCH)/foo.sr and $(ARCH)/foo.nm
|
# It also builds $(ARCH)/foo.sr and $(ARCH)/foo.nm
|
# Usage ref: src/tests/sptest/sp1/Makefile
|
# Usage ref: src/tests/sptest/sp1/Makefile
|
#
|
#
|
# 'NODE' is set to 1 or 2 for multi cpu tests (ref: mptests/mp01/node1/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.
|
# 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)
|
# (NODE turns out to be a very common environment variable)
|
ifeq (,$(NODE))
|
ifeq (,$(NODE))
|
NODE=0
|
NODE=0
|
else
|
else
|
ifeq "$(origin NODE)" "environment"
|
ifeq "$(origin NODE)" "environment"
|
NODE=0
|
NODE=0
|
endif
|
endif
|
endif
|
endif
|
|
|