mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-28 11:02:35 +08:00
Remove (Abandoned).
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
aclocal.m4
|
||||
autom4te*.cache
|
||||
config.cache
|
||||
config.log
|
||||
config.status
|
||||
configure
|
||||
Makefile
|
||||
Makefile.in
|
||||
@@ -1,219 +0,0 @@
|
||||
2008-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* bsp_specs: Move -e start from *link to *startfile to avoid warning
|
||||
for undefined entry symbol when linking relocatables with binutils
|
||||
2.19.
|
||||
|
||||
2008-10-02 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* Makefile.am, preinstall.am: Use shared tm27.h stub.
|
||||
* include/tm27.h: Removed.
|
||||
|
||||
2008-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* Makefile.am: Cleanup.
|
||||
|
||||
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* include/bsp.h: Remove unnecessary boilerplate comments.
|
||||
|
||||
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* include/bsp.h: Eliminate definitions of BSP_LIBIO_MAX_FDS since this
|
||||
is NOT used anywhere.
|
||||
|
||||
2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* include/bsp.h: Eliminate copies of the Configuration Table. Use the
|
||||
RTEMS provided accessor macros to obtain configuration fields.
|
||||
|
||||
2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* include/bsp.h: Move interrupt_stack_size field from CPU Table to
|
||||
Configuration Table. Eliminate CPU Table from all ports. Delete
|
||||
references to CPU Table in all forms.
|
||||
|
||||
2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* bsp_specs: Remove "*cpp:". Remove qrtems_debug.
|
||||
|
||||
2007-03-10 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
PR 1227/bsps
|
||||
* include/bsp.h: Remove MAX_LONG_TEST_DURATION and
|
||||
MAX_SHORT_TEST_DURATION. They are obsolete and unused.
|
||||
|
||||
2007-01-26 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* Makefile.am: Use MKDIR_P instead of mkdir_p.
|
||||
|
||||
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: New BUG-REPORT address.
|
||||
|
||||
2006-11-15 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
|
||||
|
||||
2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Require autoconf-2.60. Require automake-1.10.
|
||||
|
||||
2005-01-02 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* Makefile.am: Remove build-variant support.
|
||||
|
||||
2004-10-20 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||
|
||||
* include/bsp.h: Remove tm27 stuff.
|
||||
* include/tm27.h: New.
|
||||
* Makefile.am: Add tm27.h
|
||||
|
||||
2004-09-24 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Require automake > 1.9.
|
||||
|
||||
2004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||
|
||||
* include/bsp.h: Include <rtems/clockdrv.h> instead of <clockdrv.h>.
|
||||
* include/bsp.h: Include <rtems/console.h> instead of <console.h>.
|
||||
|
||||
2004-02-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Reflect changes to bsp.am.
|
||||
Preinstall dist_project_lib*.
|
||||
|
||||
2004-02-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Reflect changes to bsp.am.
|
||||
|
||||
2004-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Add PREINSTALL_DIRS.
|
||||
|
||||
2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Require automake >= 1.8, autoconf >= 2.59.
|
||||
|
||||
2003-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Misc cleanups and fixes.
|
||||
|
||||
2003-10-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Remove RTEMS_CANONICAL_HOST.
|
||||
|
||||
2003-10-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Remove RTEMS_CHECK_CUSTOM_BSP.
|
||||
|
||||
2003-09-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Merge-in include/Makefile.am.
|
||||
Reflect changes to bsp.am.
|
||||
* include/Makefile.am: Remove.
|
||||
* configure.ac: Reflect changes above.
|
||||
|
||||
2003-09-04 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* include/bsp.h: URL for license changed.
|
||||
|
||||
2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Reflect having moved aclocal/.
|
||||
|
||||
2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Reflect having moved automake/.
|
||||
* include/Makefile.am: Reflect having moved automake/.
|
||||
|
||||
2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Use rtems-bugs@rtems.com as bug report email address.
|
||||
|
||||
2003-08-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
PR 445/bsps
|
||||
* bsp_specs: Remove -D__embedded__ -Asystem(embedded) from cpp.
|
||||
|
||||
2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Remove AC_CONFIG_AUX_DIR.
|
||||
|
||||
2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
|
||||
|
||||
2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: AC_PREREQ(2.57).
|
||||
|
||||
2002-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Remove RTEMS_CHECK_BSP_CACHE.
|
||||
|
||||
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* .cvsignore: Reformat.
|
||||
Add autom4te*cache.
|
||||
Remove autom4te.cache.
|
||||
|
||||
2002-08-21 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* bsp_specs: Added support for -nostdlibs.
|
||||
|
||||
2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac:
|
||||
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
|
||||
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
|
||||
* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
||||
* Makefile.am: Remove AUTOMAKE_OPTIONS.
|
||||
|
||||
2001-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* bsp_specs: Replace -lrtemsall with -lrtemsbsp -lrtemscpu,
|
||||
replace -lrtemsall_g with -lrtemsbsp_g -lrtemscpu_g.
|
||||
|
||||
2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
|
||||
* configure.in: Remove.
|
||||
* configure.ac: New file, generated from configure.in by autoupdate.
|
||||
|
||||
2001-09-27 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* include/bsp.h: Renamed delay() to rtems_bsp_delay().
|
||||
|
||||
2001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* include/Makefile.am: Use 'CLEANFILES ='.
|
||||
* include/Makefile.am: Use 'TMPINSTALL_FILES ='.
|
||||
* include/Makefile.am: fix path to shared/include/coverhd.h.
|
||||
|
||||
2001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* include/bsp.h: Include bspopts.h.
|
||||
|
||||
2001-05-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.in: Add bspopts.h.
|
||||
* include/.cvsignore: Add bspopts.h*, coverhd.h, stamp-h*.
|
||||
* include/Makefile.am: Use *_HEADERS instead of *H_FILES.
|
||||
|
||||
2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
|
||||
|
||||
2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
|
||||
|
||||
2000-10-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
|
||||
Switch to GNU canonicalization.
|
||||
|
||||
2000-08-10 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* ChangeLog: New file.
|
||||
@@ -1,22 +0,0 @@
|
||||
##
|
||||
## $Id$
|
||||
##
|
||||
|
||||
ACLOCAL_AMFLAGS = -I ../../../aclocal
|
||||
|
||||
include $(top_srcdir)/../bsp.am
|
||||
|
||||
dist_project_lib_DATA = bsp_specs
|
||||
|
||||
include_HEADERS = include/bsp.h
|
||||
include_HEADERS += ../../shared/include/tm27.h
|
||||
|
||||
nodist_include_HEADERS = include/bspopts.h
|
||||
DISTCLEANFILES = include/bspopts.h
|
||||
|
||||
nodist_include_HEADERS += ../shared/include/coverhd.h
|
||||
|
||||
EXTRA_DIST = build-tools do-bare-bsp-build
|
||||
|
||||
include $(srcdir)/preinstall.am
|
||||
include $(top_srcdir)/../../../automake/local.am
|
||||
@@ -1,117 +0,0 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
#
|
||||
# Please send any comments, improvements, or bug reports to:
|
||||
# Chris Johns
|
||||
# Objective Design Systems
|
||||
# 35 Cairo Street
|
||||
# Cammeray
|
||||
# Sydney, NSW 2062
|
||||
# ccj@acm.org
|
||||
#
|
||||
|
||||
#
|
||||
# Overview
|
||||
# ~~~~~~~~
|
||||
# This board support package is not a board support package at all, but
|
||||
# a means to build the RTEMS kernel without using a specific BSP.
|
||||
#
|
||||
# You should be able to build to build this BSP for any cpu type.
|
||||
#
|
||||
# You must provide the standard BSP type functions and support yourself
|
||||
# externally to RTEMS.
|
||||
#
|
||||
# This BSP is intended to be used by people who fit one or more of the
|
||||
# categories below :
|
||||
#
|
||||
# 1) using custom hardware of little use or interest to others. If you
|
||||
# intend to use hardware available to others, please create a BSP
|
||||
# and send to OARCorp.
|
||||
#
|
||||
# 2) production code cannot depend on software which can change. BSP code
|
||||
# can change with-out notice, while RTEMS has very tightly defined
|
||||
# interfaces which do not change.
|
||||
#
|
||||
# 3) the need to extend or change an existing BSP in ways which are not
|
||||
# of interest to others or the BSP maintainer.
|
||||
#
|
||||
# I fit all the above.
|
||||
#
|
||||
# Issues
|
||||
# ~~~~~~
|
||||
# I do not consider the bare BSP as a starting point for RTEMS. The
|
||||
# BSP code integrated into the RTEMS build tree has the advantage of
|
||||
# building all the test and sample code. The sample and test code is
|
||||
# important for validatation of your tools, and getting your BSP
|
||||
# working correctly.
|
||||
#
|
||||
# Once you gain experience with RTEM and your application matures the
|
||||
# need to break the BSP code out from the kernel becomes important. It
|
||||
# is at this point in time that the bare BSP becomes useful.
|
||||
#
|
||||
# Once free you are able to upgrade without the worry of makefile or
|
||||
# build tree changes which can break your BSP.
|
||||
#
|
||||
# How To Configure
|
||||
# ~~~~~~~~~~~~~~~~
|
||||
# RTEMS requires you to select a BSP inorder to build the kernel.
|
||||
# If you take a close look at a BSP which is closest to your
|
||||
# needs you will find somewhere the CPU model and CPU compile
|
||||
# flags are specified. This is the only piece of information
|
||||
# required by the kernel inorder for it to build.
|
||||
#
|
||||
# This highlights the clean design of the kernel and its
|
||||
# independence from the particulars of target hardware.
|
||||
#
|
||||
# The CPU model is the RTEMS model and usually tries to match with
|
||||
# the GCC model. There are variations on some processors. If you are
|
||||
# unsure please ask on the RTEMS list. Someone will know (I hope).
|
||||
#
|
||||
# The CPU flags allow you to select specific operating modes for
|
||||
# GCC. For example the PowerPC has specific flags to control various
|
||||
# cache resouces. Another example is the 68000 family of embedded
|
||||
# processor do not have FPU hardware and require software emulation.
|
||||
#
|
||||
# An example configuration command line is:
|
||||
#
|
||||
# ../rtems-4.0/configure --target=m68k-rtems \
|
||||
# --prefix=/ods/egcs/test \
|
||||
# --enable-cxx \
|
||||
# --enable-gmake-print-directory \
|
||||
# --disable-tests \
|
||||
# --disable-posix \
|
||||
# --enable-networking \
|
||||
# --enable-bare-cpu-cflags=-mcpu32 \
|
||||
# --enable-bare-cpu-model=mcpu32 \
|
||||
# --enable-rtemsbsp=bare
|
||||
#
|
||||
# Building RTEMS
|
||||
# ~~~~~~~~~~~~~~
|
||||
# You are required to do nothing special here. Just follow the documented
|
||||
# steps. The samples are built but no linking occurs. The link command
|
||||
# is stubbed out to produce a Unix shell script.
|
||||
#
|
||||
# After installation you will find a directory called 'bare'. The nature
|
||||
# of the RTEMS build system means the bare BSP will only install into the
|
||||
# the bare directory under the specifed configuration prefix.
|
||||
#
|
||||
# I therefore suggest you move the directory to another name. This allows
|
||||
# you to make and install another bare BSP for a different variant of
|
||||
# CPU without over writing the last installed variant.
|
||||
#
|
||||
# I have provided a script file I use to configure and build RTEMS
|
||||
# from the arcihve. Take a copy and use it if you find it useful.
|
||||
#
|
||||
# Creating an Application.
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
# This is something which is usually specific to your local environment.
|
||||
# The bare BSP does not lock you into any specific makefile or build
|
||||
# system. A couple of suggestions are:
|
||||
#
|
||||
# o Get the sample bare BSP application, or
|
||||
# o Watch RTEMS build a BSP which is closest to yours and copy
|
||||
# the command lines used.
|
||||
#
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
%rename endfile old_endfile
|
||||
%rename startfile old_startfile
|
||||
%rename link old_link
|
||||
|
||||
*startfile:
|
||||
%{!qrtems: %(old_startfile)} \
|
||||
%{!nostdlib: %{qrtems: start.o%s -e start}}
|
||||
|
||||
*link:
|
||||
%(old_link) %{qrtems: -dc -dp -N}
|
||||
|
||||
@@ -1,71 +0,0 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# Tools to help doing build scripts. Adapted from Joel's bit
|
||||
# script.
|
||||
#
|
||||
|
||||
#
|
||||
# USERCHANGE - uncomment this if you want to watch the commands.
|
||||
#
|
||||
# set -x
|
||||
|
||||
start=`date`
|
||||
|
||||
#
|
||||
# Common exit routine for this script so we can print the starting
|
||||
# and ending times.
|
||||
#
|
||||
|
||||
my_exit()
|
||||
{
|
||||
stop=`date`
|
||||
|
||||
echo
|
||||
echo "Started: " $start
|
||||
echo "Finished: " $stop
|
||||
exit $1
|
||||
}
|
||||
|
||||
#
|
||||
# Handle a fatal error.
|
||||
#
|
||||
|
||||
fatal_error()
|
||||
{
|
||||
echo "ERROR: $*" >&2
|
||||
my_exit 1
|
||||
}
|
||||
|
||||
#
|
||||
# Checks the status returned by executables and exits if it is non-zero.
|
||||
#
|
||||
|
||||
check_fatal()
|
||||
{
|
||||
if [ $1 -ne 0 ] ; then
|
||||
shift
|
||||
fatal_error $*
|
||||
fi
|
||||
}
|
||||
|
||||
#
|
||||
# Test for a valid path, exit if not found
|
||||
#
|
||||
|
||||
test_path()
|
||||
{
|
||||
test -d $* || fatal_error "cannot find $*"
|
||||
return 0
|
||||
}
|
||||
|
||||
#
|
||||
# Create a directory and check it was made correctly.
|
||||
#
|
||||
|
||||
checked_mkdir()
|
||||
{
|
||||
mkdir -p $1
|
||||
check_fatal $? "unable to make directory $1"
|
||||
return 0
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
## Process this file with autoconf to produce a configure script.
|
||||
##
|
||||
## $Id$
|
||||
|
||||
AC_PREREQ(2.60)
|
||||
AC_INIT([rtems-c-src-lib-libbsp-bare],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
|
||||
AC_CONFIG_SRCDIR([bsp_specs])
|
||||
RTEMS_TOP(../../../../..)
|
||||
|
||||
RTEMS_CANONICAL_TARGET_CPU
|
||||
AM_INIT_AUTOMAKE([no-define foreign 1.10])
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
RTEMS_ENV_RTEMSBSP
|
||||
|
||||
AC_CONFIG_HEADER(include/bspopts.h)
|
||||
RTEMS_PROJECT_ROOT
|
||||
|
||||
# Explicitly list all Makefiles here
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_OUTPUT
|
||||
@@ -1,177 +0,0 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# RTEMS Bare BSP Build Script.
|
||||
#
|
||||
# This is designed to allow recording of stdout to log. The log
|
||||
# forms part of a clean build trace for validation and verification
|
||||
# reasons.
|
||||
#
|
||||
|
||||
. `echo $0 | sed -e 's/do-rtems-build/build-tools/'`
|
||||
|
||||
#
|
||||
# The current versions we are building.
|
||||
#
|
||||
# Note: Please change to suite.
|
||||
#
|
||||
|
||||
RTEMS=rtems-980618
|
||||
|
||||
#
|
||||
# The list of processors we want the tools built for.
|
||||
#
|
||||
|
||||
CPUS="m68k"
|
||||
|
||||
#
|
||||
# RTEMS CPU target we want to build.
|
||||
#
|
||||
|
||||
RTEMS_M68K_TARGETS="68000 68030 cpu32"
|
||||
|
||||
#
|
||||
# The particular host settings we have.
|
||||
#
|
||||
# Map particulars for different hosts here.
|
||||
#
|
||||
|
||||
HOST=`hostname`
|
||||
|
||||
case "${HOST}" in
|
||||
kiwi*)
|
||||
ARCHIVE="/ods/archive"
|
||||
TOOLS="/ods/egcs"
|
||||
RTEMS_PATH=development/rtems/${RTEMS}
|
||||
;;
|
||||
*)
|
||||
fatal_error "host is not known."
|
||||
;;
|
||||
esac
|
||||
|
||||
#
|
||||
# Where will RTEMS live when installed ?
|
||||
#
|
||||
|
||||
RTEMS_PREFIX=${TOOLS}/test
|
||||
|
||||
echo "Building on ${HOST}, archives in ${ARCHIVE}"
|
||||
|
||||
#
|
||||
# Who is doing the build.
|
||||
#
|
||||
|
||||
echo "User profile : "`id`
|
||||
|
||||
#
|
||||
# Find out where we are
|
||||
#
|
||||
|
||||
TOPDIR=`pwd`
|
||||
|
||||
echo "Top directory is ${TOPDIR}"
|
||||
|
||||
#
|
||||
# Test the paths to the archives exist.
|
||||
#
|
||||
|
||||
test_path ${ARCHIVE}/${RTEMS_PATH}
|
||||
|
||||
#
|
||||
# Get the RTEMS source and patch.
|
||||
#
|
||||
|
||||
echo "Unpacking rtems source ${ARCHIVE}/${RTEMS_PATH}/${RTEMS}.tgz ... "
|
||||
tar zxf ${ARCHIVE}/${RTEMS_PATH}/${RTEMS}.tgz
|
||||
check_fatal $? "failed to unpack ${RTEMS}.tgz."
|
||||
|
||||
#
|
||||
# Build all the processors we support.
|
||||
#
|
||||
|
||||
for cpu in ${CPUS}; do
|
||||
{
|
||||
#
|
||||
# Create the target.
|
||||
#
|
||||
|
||||
TARGET=${cpu}-rtems
|
||||
|
||||
#
|
||||
# On to RTEMS.
|
||||
#
|
||||
|
||||
case ${cpu} in
|
||||
m68k)
|
||||
RTEMS_TARGETS=${RTEMS_M68K_TARGETS}
|
||||
;;
|
||||
*)
|
||||
fatal_error "unknown cpu ${cpu}"
|
||||
;;
|
||||
esac
|
||||
|
||||
for rtems_target in ${RTEMS_TARGETS}; do
|
||||
{
|
||||
#
|
||||
# Remove the target if found.
|
||||
#
|
||||
|
||||
echo "Removing the RTEMS bare bsp directory rtems-bare-${rtems_target} ... "
|
||||
rm -rf rtems-bare-${rtems_target}
|
||||
check_fatal $? "failed to remove rtems-bare-${rtems_target}."
|
||||
|
||||
echo "Creating the RTEM build directory for target ${rtems_target} ... "
|
||||
checked_mkdir rtems-bare-${rtems_target}
|
||||
|
||||
cd rtems-bare-${rtems_target}
|
||||
|
||||
#
|
||||
# Configure RTEMS.
|
||||
#
|
||||
# FIXME: the mapping from the rtems_target to the cpu flags
|
||||
# just happens to work for the m68k targets. This should
|
||||
# be mapped in a way which does not depends on the rtems_target,
|
||||
# or RTEMS should support multilibs.
|
||||
#
|
||||
|
||||
echo "Configuring RTEMS target bare-${rtems_target} ... "
|
||||
../${RTEMS}/configure --target=${TARGET} --prefix=${RTEMS_PREFIX} \
|
||||
--enable-cxx --enable-gmake-print-directory \
|
||||
--disable-tests --disable-posix --enable-networking \
|
||||
--enable-bare-cpu-cflags=-m${rtems_target} \
|
||||
--enable-bare-cpu-model=m${rtems_target} \
|
||||
--enable-rtemsbsp=bare
|
||||
check_fatal $? "failed to configure rtems target."
|
||||
|
||||
#
|
||||
# Do the RTEMS build.
|
||||
#
|
||||
|
||||
echo "Building RTEMS target bare-${rtems_target} ... "
|
||||
make all install
|
||||
check_fatal $? "failed to complete rtems build for target ${rtems_target}."
|
||||
|
||||
#
|
||||
# Remove the target if found.
|
||||
#
|
||||
|
||||
echo "Removing the RTEMS bare bsp directory ${RTEMS_PREFIX}/rtems/bare-${rtems_target} ... "
|
||||
rm -rf ${RTEMS_PREFIX}/rtems/bare-${rtems_target}
|
||||
check_fatal $? "failed to remove ${RTEMS_PREFIX}/rtems/bare-${rtems_target}."
|
||||
|
||||
#
|
||||
# Fix up the fact that RTEMS always installsthe bare bsp to the bare directory
|
||||
#
|
||||
|
||||
echo "Moving the RTEMS bare bsp directory to bare-${rtems_target} ... "
|
||||
mv ${RTEMS_PREFIX}/rtems/bare ${RTEMS_PREFIX}/rtems/bare-${rtems_target}
|
||||
check_fatal $? "failed to move the bare bsp directory to bare-${rtems_target}."
|
||||
|
||||
cd ../
|
||||
}; done
|
||||
}; done
|
||||
|
||||
cd ../
|
||||
|
||||
my_exit 0
|
||||
@@ -1,5 +0,0 @@
|
||||
bspopts.h
|
||||
bspopts.h.in
|
||||
coverhd.h
|
||||
stamp-h
|
||||
stamp-h.in
|
||||
@@ -1,43 +0,0 @@
|
||||
/*
|
||||
* This include file contains all board IO definitions.
|
||||
*
|
||||
* BARE : Allows you to build RTEMS with-out any BSP specific stuff
|
||||
*
|
||||
* COPYRIGHT (c) 1989-1999.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
* found in the file LICENSE in this distribution or at
|
||||
* http://www.rtems.com/license/LICENSE.
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#ifndef __BARE_BSP_h
|
||||
#define __BARE_BSP_h
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <bspopts.h>
|
||||
|
||||
#include <rtems.h>
|
||||
#include <rtems/console.h>
|
||||
#include <rtems/clockdrv.h>
|
||||
|
||||
/*
|
||||
* Simple spin delay in microsecond units for device drivers.
|
||||
* This is very dependent on the clock speed of the target.
|
||||
*/
|
||||
|
||||
#define rtems_bsp_delay( microseconds ) \
|
||||
{ \
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
/* end of include file */
|
||||
@@ -1,45 +0,0 @@
|
||||
## Automatically generated by ampolish3 - Do not edit
|
||||
|
||||
if AMPOLISH3
|
||||
$(srcdir)/preinstall.am: Makefile.am
|
||||
$(AMPOLISH3) $(srcdir)/Makefile.am > $(srcdir)/preinstall.am
|
||||
endif
|
||||
|
||||
PREINSTALL_DIRS =
|
||||
DISTCLEANFILES += $(PREINSTALL_DIRS)
|
||||
|
||||
all-am: $(PREINSTALL_FILES)
|
||||
|
||||
PREINSTALL_FILES =
|
||||
CLEANFILES = $(PREINSTALL_FILES)
|
||||
|
||||
$(PROJECT_LIB)/$(dirstamp):
|
||||
@$(MKDIR_P) $(PROJECT_LIB)
|
||||
@: > $(PROJECT_LIB)/$(dirstamp)
|
||||
PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
|
||||
|
||||
$(PROJECT_INCLUDE)/$(dirstamp):
|
||||
@$(MKDIR_P) $(PROJECT_INCLUDE)
|
||||
@: > $(PROJECT_INCLUDE)/$(dirstamp)
|
||||
PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
|
||||
|
||||
$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
|
||||
PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
|
||||
|
||||
$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
|
||||
|
||||
$(PROJECT_INCLUDE)/tm27.h: ../../shared/include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
|
||||
|
||||
$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
|
||||
|
||||
$(PROJECT_INCLUDE)/coverhd.h: ../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
|
||||
|
||||
Reference in New Issue
Block a user