Change RTEMS support files to reflect changes in the way RTEMS board-support
packages are now installed. Remove use of RTEMS_MAKEFILE_PATH environment variable. Path to RTEMS directories is now provided explicitly in configure/os/CONFIG.Common.RTEMS.
This commit is contained in:
@@ -27,10 +27,10 @@ VALID_BUILDS = Ioc
|
||||
# Pick up the RTEMS tool/path definitions from the RTEMS BSP directory.
|
||||
#
|
||||
ifneq "$(T_A)" ""
|
||||
RTEMS_MAKEFILE_PATH := $(dir $(RTEMS_MAKEFILE_PATH))/$(subst RTEMS-,,$(T_A))
|
||||
-include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
|
||||
-include $(RTEMS_CUSTOM)
|
||||
-include $(CONFIG.CC)
|
||||
RTEMS_BASE=/usr/local/RTEMS
|
||||
include $(RTEMS_BASE)/$(RTEMS_TARGET_CPU)/$(subst RTEMS-,,$(T_A))/Makefile.inc
|
||||
include $(RTEMS_CUSTOM)
|
||||
include $(CONFIG.CC)
|
||||
endif
|
||||
|
||||
#
|
||||
@@ -74,7 +74,7 @@ CPPSNCFLAGS += -x c
|
||||
|
||||
#--------------------------------------------------
|
||||
# c++ exceptions, YES or NO
|
||||
CXX_EXCEPTIONS = NO
|
||||
CXX_EXCEPTIONS = YES
|
||||
|
||||
#--------------------------------------------------
|
||||
# osithead use default stack, YES or NO
|
||||
|
||||
@@ -6,4 +6,5 @@
|
||||
#
|
||||
# All RTEMS targets use the same Makefile fragment
|
||||
#
|
||||
RTEMS_TARGET_CPU=m68k
|
||||
include $(CONFIG)/os/CONFIG.Common.RTEMS
|
||||
|
||||
@@ -6,4 +6,5 @@
|
||||
#
|
||||
# All RTEMS targets use the same Makefile fragment
|
||||
#
|
||||
RTEMS_TARGET_CPU=m68k
|
||||
include $(CONFIG)/os/CONFIG.Common.RTEMS
|
||||
|
||||
10
configure/os/CONFIG.Common.RTEMS-pc386
Normal file
10
configure/os/CONFIG.Common.RTEMS-pc386
Normal file
@@ -0,0 +1,10 @@
|
||||
#
|
||||
# $Id$
|
||||
# Author: W. Eric Norum
|
||||
# Canadian Light Source
|
||||
# eric@cls.usask.ca
|
||||
#
|
||||
# All RTEMS targets use the same Makefile fragment
|
||||
#
|
||||
RTEMS_TARGET_CPU=i386
|
||||
include $(CONFIG)/os/CONFIG.Common.RTEMS
|
||||
Reference in New Issue
Block a user