mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-20 20:43:59 +08:00
2002-08-01 Joel Sherrill <joel@OARcorp.com>
* eth_comm.cfg, mbx821_001.cfg, mbx860_002.cfg, mbx860_005b.cfg, mbx8xx.cfg, mpc8260ads.cfg: Per PR260 removed make-target-options.
This commit is contained in:
+6
-1
@@ -1,6 +1,11 @@
|
||||
2002-08-01 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* custom/mvme136.cfg: Per PR260 removed make-target-options.
|
||||
* eth_comm.cfg, mbx821_001.cfg, mbx860_002.cfg, mbx860_005b.cfg,
|
||||
mbx8xx.cfg, mpc8260ads.cfg: Per PR260 removed make-target-options.
|
||||
|
||||
2002-08-01 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* custom/mvme136.cfg: Remove make-target-options.
|
||||
|
||||
2002-07-30 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=powerpc
|
||||
RTEMS_CPU_MODEL=mpc8xx
|
||||
CPU_TYPE=860
|
||||
8XX_CPU_TYPE=860
|
||||
|
||||
# This is the actual bsp directory used during the build process.
|
||||
RTEMS_BSP_FAMILY=eth_comm
|
||||
@@ -27,7 +27,7 @@ RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS = -mcpu=$(CPU_TYPE) -Dmpc$(CPU_TYPE) \
|
||||
CPU_CFLAGS = -mcpu=$(8XX_CPU_TYPE) -Dmpc$(8XX_CPU_TYPE) \
|
||||
-DPPC_ABI=PPC_ABI_EABI -DPPC_ASM=PPC_ASM_ELF
|
||||
|
||||
# optimize flag: typically -0, could use -O4 or -fast
|
||||
|
||||
@@ -8,5 +8,6 @@
|
||||
#
|
||||
|
||||
RTEMS_MBX_MODEL=mbx821_001
|
||||
8XX_CPU_TYPE=821
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/mbx8xx.cfg
|
||||
|
||||
@@ -8,5 +8,6 @@
|
||||
#
|
||||
|
||||
RTEMS_MBX_MODEL=mbx860_002
|
||||
8XX_CPU_TYPE=860
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/mbx8xx.cfg
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#
|
||||
|
||||
RTEMS_MBX_MODEL=mbx860_005b
|
||||
8XX_CPU_TYPE=860
|
||||
|
||||
# The 860_005b has 16M ram : org = 0x0, l = 16M
|
||||
MBX8xx_LDFLAGS=-Wl,--defsym -Wl,HeapSize=0x100000
|
||||
@@ -15,10 +16,3 @@ MBX8xx_LDFLAGS=-Wl,--defsym -Wl,HeapSize=0x100000
|
||||
RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/mbx8xx.cfg
|
||||
define make-target-options
|
||||
@echo "#ifdef mpc$(CPU_TYPE)" >>$@
|
||||
@echo "#undef mpc$(CPU_TYPE)" >>$@
|
||||
@echo "#endif" >>$@
|
||||
@echo "#define mpc$(CPU_TYPE) 1" >>$@
|
||||
@echo >>$@
|
||||
endef
|
||||
|
||||
+2
-27
@@ -10,36 +10,11 @@
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=powerpc
|
||||
RTEMS_CPU_MODEL=mpc8xx
|
||||
RTEMS_CPU_MODEL=mpc$(8XX_CPU_TYPE)
|
||||
|
||||
# This is the actual bsp directory used during the build process.
|
||||
RTEMS_BSP_FAMILY=mbx8xx
|
||||
|
||||
# The value assigned to RTEMS_CPU, RTEMS_CPU_MODEL and RTEMS_BSP get
|
||||
# #defined in targopts.h. Source code can switch on these values with #ifdef
|
||||
# to select what code to compile for a specific CPU family member and specific
|
||||
# board. The RTEMS_CPU_MODEL is also used as the name of the libcpu directory,
|
||||
# while the RTEMS_BSP_FAMILY is used as the name of the libbsp directory.
|
||||
# For the MBX860 and MBX821, the boards and processors are sufficiently
|
||||
# similar that the ports are unified and use RTEMS_CPU_MODEL=mpc8xx and
|
||||
# RTEMS_BSP_FAMILY=mbx8xx. Because there are minor differences in the CPUs
|
||||
# and the boards, it is necessary to specify them fully during the build.
|
||||
# Do a "make RTEMS_BSP=<your_board> <target>" See below for a list of valid
|
||||
# values for <your_board>.
|
||||
|
||||
ifeq ($(findstring mbx821,$(RTEMS_MBX_MODEL)),mbx821)
|
||||
CPU_TYPE=821
|
||||
else
|
||||
ifeq ($(findstring mbx860,$(RTEMS_MBX_MODEL)),mbx860)
|
||||
CPU_TYPE=860
|
||||
else
|
||||
RTEMS_BSP = mbx860_002
|
||||
RTEMS_MBX_MODEL = mbx860_002
|
||||
TARGET_ARCH=o-mbx860_002
|
||||
CPU_TYPE=860
|
||||
endif # mbx860
|
||||
endif # mbx821
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
#
|
||||
# Note that RTEMS_BSP matches the RTEMS_MBX_MODEL. Its value must be
|
||||
@@ -68,7 +43,7 @@ endif # mbx821
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS = -mcpu=$(CPU_TYPE) -Dmpc$(CPU_TYPE) -D$(RTEMS_MBX_MODEL)
|
||||
CPU_CFLAGS = -mcpu=$(8XX_CPU_TYPE) -Dmpc$(8XX_CPU_TYPE) -D$(RTEMS_MBX_MODEL)
|
||||
|
||||
CFLAGS_DEBUG_V += -ggdb
|
||||
CXXFLAGS_DEBUG_V += -ggdb
|
||||
|
||||
@@ -8,7 +8,7 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=powerpc
|
||||
RTEMS_CPU_MODEL=mpc8260
|
||||
CPU_TYPE=8260
|
||||
8XX_CPU_TYPE=8260
|
||||
|
||||
# This is the actual bsp directory used during the build process.
|
||||
RTEMS_BSP_FAMILY=mpc8260ads
|
||||
@@ -25,7 +25,7 @@ RTEMS_BSP_FAMILY=mpc8260ads
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
# CPU_CFLAGS = -mcpu=$(CPU_TYPE) -mstrict-align
|
||||
# CPU_CFLAGS = -mcpu=$(8XX_CPU_TYPE) -mstrict-align
|
||||
CPU_CFLAGS = -mcpu=603e -mstrict-align -Dmpc8260 \
|
||||
-DPPC_ABI=PPC_ABI_EABI -DPPC_ASM=PPC_ASM_ELF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user