mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-13 11:25:24 +08:00
Remove (Moved to c/src/lib/libbsp/<cpu>/<bsp>).
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
#
|
||||
# Config file for the AVR ATmega128 on avrtest Simulator
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=avr
|
||||
RTEMS_CPU_MODEL=mega128
|
||||
|
||||
# This is the actual bsp directory used during the build process.
|
||||
RTEMS_BSP_FAMILY=avrtest
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -mmcu=atmega128
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -Os -g
|
||||
@@ -1,26 +0,0 @@
|
||||
#
|
||||
# gensh1.cfg
|
||||
#
|
||||
# default configuration for Hitachi sh1 processors
|
||||
#
|
||||
# Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=sh
|
||||
RTEMS_CPU_MODEL=sh7032
|
||||
|
||||
# This is the actual bsp directory used during the build process.
|
||||
RTEMS_BSP_FAMILY=gensh1
|
||||
|
||||
#
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS = -m1
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
@@ -1,26 +0,0 @@
|
||||
#
|
||||
# gensh2.cfg
|
||||
#
|
||||
# default configuration for Hitachi sh1 processors
|
||||
#
|
||||
# Authors: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=sh
|
||||
RTEMS_CPU_MODEL=sh7045
|
||||
|
||||
# This is the actual bsp directory used during the build process.
|
||||
RTEMS_BSP_FAMILY=gensh2
|
||||
|
||||
#
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS = -m2
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
@@ -1,33 +0,0 @@
|
||||
#
|
||||
# gensh4.cfg
|
||||
#
|
||||
# default configuration for Hitachi SH7750 board
|
||||
#
|
||||
# Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
|
||||
# Author: Victor V. Vengerov <vvv@oktet.ru>
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=sh
|
||||
RTEMS_CPU_MODEL=sh7750
|
||||
|
||||
# This is the actual bsp directory used during the build process.
|
||||
RTEMS_BSP_FAMILY=gensh4
|
||||
|
||||
#
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
# Seems to be good without initialisation FPSCR.
|
||||
# Also works with SH4_FPSCR_DN bit set.
|
||||
#CPU_CFLAGS = -m4-single-only -mfmovd -ml
|
||||
#CPU_CFLAGS = -m4-single -ml
|
||||
#
|
||||
# It works with SH4_FPSCR_PR bit set
|
||||
CPU_CFLAGS = -m4 -ml
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
@@ -1,28 +0,0 @@
|
||||
#
|
||||
# Config file for the i386ex BSP
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=i386
|
||||
RTEMS_CPU_MODEL=i386_nofp
|
||||
|
||||
# This is the actual bsp directory used during the build process.
|
||||
RTEMS_BSP_FAMILY=i386ex
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS = -msoft-float
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
|
||||
define bsp-post-link
|
||||
$(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
|
||||
sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
|
||||
$(PACKHEX) > $(basename $@)$(DOWNEXT)
|
||||
$(default-bsp-post-link)
|
||||
endef
|
||||
@@ -1,62 +0,0 @@
|
||||
#
|
||||
# Config file for the PC 386 BSP
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=i386
|
||||
ifeq ($(RTEMS_CPU_MODEL),)
|
||||
RTEMS_CPU_MODEL=i386_fp
|
||||
endif
|
||||
|
||||
# This is the actual bsp directory used during the build process.
|
||||
RTEMS_BSP_FAMILY=pc386
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
# NOTE: CPU_CFLAGS is set by pc386 variants.
|
||||
ifeq ($(CPU_CFLAGS),)
|
||||
CPU_CFLAGS = -mtune=i386
|
||||
endif
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
|
||||
# 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
|
||||
|
||||
#+--------------------------------------------------------------------------+
|
||||
#| Set the value of RELOCADDR to the address where you want your image to
|
||||
#| load. If you'll be using GRUB to load the images it will have to be >=
|
||||
#| 0x100000 (1024K). If you are using NetBoot to load the images it can be
|
||||
#| >= 0x10000 (64K) AND <= 0x97C00 (607K) OR >= 0x100000 (1024K). The memory
|
||||
#| top is of course another limit. Make sure there is enough space before the
|
||||
#| upper memory limits for the image and the memory allocated by it to fit.
|
||||
#| Make sure the value you choose is aligned to 4 bytes.
|
||||
#+--------------------------------------------------------------------------+
|
||||
RELOCADDR=0x00100000
|
||||
|
||||
START16FILE=$(PROJECT_RELEASE)/lib/start16$(LIB_VARIANT).bin
|
||||
START16ADDR=0x00097C00
|
||||
HEADERADDR=0x00097E00
|
||||
|
||||
LDFLAGS += -Wl,-Ttext,$(RELOCADDR)
|
||||
|
||||
define bsp-post-link
|
||||
$(default-bsp-post-link)
|
||||
$(OBJCOPY) -O elf32-i386 \
|
||||
--remove-section=.comment \
|
||||
--remove-section=.note \
|
||||
--strip-unneeded $(basename $@).exe $(basename $@).nxe
|
||||
$(OBJCOPY) -O binary $(basename $@).nxe $(basename $@).bin
|
||||
$(PROJECT_TOOLS)/bin2boot -v $(basename $@)$(DOWNEXT) $(HEADERADDR)\
|
||||
$(START16FILE) $(START16ADDR) 0 $(basename $@).bin $(RELOCADDR) 0
|
||||
rm -f $(basename $@).nxe
|
||||
endef
|
||||
|
||||
# BSP-specific tools
|
||||
BIN2BOOT=$(PROJECT_TOOLS)/bin2boot
|
||||
@@ -1,14 +0,0 @@
|
||||
#
|
||||
# Configuration file for a PC using an i386 Class CPU w/o FPU
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
RTEMS_CPU_MODEL=i386dx
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -mtune=i386 -msoft-float -mno-fp-ret-in-387
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/pc386.cfg
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
#
|
||||
# Configuration file for a PC using an i486DX Class CPU
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
RTEMS_CPU_MODEL=i486dx
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -mtune=i486
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/pc386.cfg
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
#
|
||||
# Configuration file for a PC using a Pentium Class CPU
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
RTEMS_CPU_MODEL=pentium
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -mtune=pentium
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/pc386.cfg
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
#
|
||||
# Configuration file for a PC using a PentiumPro Class CPU
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
RTEMS_CPU_MODEL=pentiumpro
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -mtune=pentiumpro
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/pc386.cfg
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
#
|
||||
# simsh1.cfg
|
||||
#
|
||||
# default configuration for gdb-simulation of Hitachi sh1 processors
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=sh
|
||||
RTEMS_CPU_MODEL=shgdb
|
||||
RTEMS_BSP_FAMILY=shsim
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -m1
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
@@ -1,20 +0,0 @@
|
||||
#
|
||||
# simsh2.cfg
|
||||
#
|
||||
# default configuration for gdb-simulation of Hitachi sh2 processors
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=sh
|
||||
RTEMS_CPU_MODEL=shgdb
|
||||
RTEMS_BSP_FAMILY=shsim
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -m2
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
@@ -1,18 +0,0 @@
|
||||
#
|
||||
# Config file for the sh simulator in gdb as SH2E
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=sh
|
||||
RTEMS_CPU_MODEL=shgdb
|
||||
RTEMS_BSP_FAMILY=shsim
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -m2e -ml
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
@@ -1,18 +0,0 @@
|
||||
#
|
||||
# Config file for the sh simulator in gdb
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=sh
|
||||
RTEMS_CPU_MODEL=shgdb
|
||||
RTEMS_BSP_FAMILY=shsim
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
CPU_CFLAGS = -m4 -ml
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
@@ -1,27 +0,0 @@
|
||||
#
|
||||
# Config file for the ts-386ex BSP
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=i386
|
||||
RTEMS_CPU_MODEL=i386_nofp
|
||||
|
||||
# This is the actual bsp directory used during the build process.
|
||||
RTEMS_BSP_FAMILY=ts_386ex
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it. Enables software floating-point
|
||||
# emulation since we don't have a i387 co-processor.
|
||||
#
|
||||
CPU_CFLAGS =-msoft-float -mno-fp-ret-in-387
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
|
||||
define bsp-post-link
|
||||
$(default-bsp-post-link)
|
||||
$(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT)
|
||||
endef
|
||||
Reference in New Issue
Block a user