URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
Compare Revisions
- This comparison shows the changes necessary to convert path
/or1k/trunk/rtems-20020807/make/custom
- from Rev 1028 to Rev 1765
- ↔ Reverse comparison
Rev 1028 → Rev 1765
/Makefile.in
0,0 → 1,288
# Makefile.in generated by automake 1.6.2 from Makefile.am. |
# @configure_input@ |
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 |
# Free Software Foundation, Inc. |
# This Makefile.in is free software; the Free Software Foundation |
# gives unlimited permission to copy and/or distribute it, |
# with or without modifications, as long as this notice is preserved. |
|
# This program is distributed in the hope that it will be useful, |
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
# PARTICULAR PURPOSE. |
|
@SET_MAKE@ |
SHELL = @SHELL@ |
|
srcdir = @srcdir@ |
top_srcdir = @top_srcdir@ |
VPATH = @srcdir@ |
prefix = @prefix@ |
exec_prefix = @exec_prefix@ |
|
bindir = @bindir@ |
sbindir = @sbindir@ |
libexecdir = @libexecdir@ |
datadir = @datadir@ |
sysconfdir = @sysconfdir@ |
sharedstatedir = @sharedstatedir@ |
localstatedir = @localstatedir@ |
libdir = @libdir@ |
infodir = @infodir@ |
mandir = @mandir@ |
includedir = @includedir@ |
oldincludedir = /usr/include |
pkgdatadir = $(datadir)/@PACKAGE@ |
pkglibdir = $(libdir)/@PACKAGE@ |
pkgincludedir = $(includedir)/@PACKAGE@ |
top_builddir = ../.. |
|
ACLOCAL = @ACLOCAL@ |
AUTOCONF = @AUTOCONF@ |
AUTOMAKE = @AUTOMAKE@ |
AUTOHEADER = @AUTOHEADER@ |
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
INSTALL = @INSTALL@ |
INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
INSTALL_DATA = @INSTALL_DATA@ |
install_sh_DATA = $(install_sh) -c -m 644 |
install_sh_PROGRAM = $(install_sh) -c |
install_sh_SCRIPT = $(install_sh) -c |
INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
INSTALL_HEADER = $(INSTALL_DATA) |
transform = @program_transform_name@ |
NORMAL_INSTALL = : |
PRE_INSTALL = : |
POST_INSTALL = : |
NORMAL_UNINSTALL = : |
PRE_UNINSTALL = : |
POST_UNINSTALL = : |
|
EXEEXT = @EXEEXT@ |
OBJEXT = @OBJEXT@ |
PATH_SEPARATOR = @PATH_SEPARATOR@ |
AMTAR = @AMTAR@ |
AWK = @AWK@ |
BARE_CPU_CFLAGS = @BARE_CPU_CFLAGS@ |
BARE_CPU_MODEL = @BARE_CPU_MODEL@ |
BUILD_SUBDIRS = @BUILD_SUBDIRS@ |
DEPDIR = @DEPDIR@ |
ENDIF = @ENDIF@ |
GCC_SPECS = @GCC_SPECS@ |
HAS_NETWORKING = @HAS_NETWORKING@ |
HAS_RDBG = @HAS_RDBG@ |
HOST_SUBDIRS = @HOST_SUBDIRS@ |
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
MAINT = @MAINT@ |
MAKE = @MAKE@ |
PACKAGE = @PACKAGE@ |
PACKHEX = @PACKHEX@ |
PROJECT_INCLUDE = @PROJECT_INCLUDE@ |
PROJECT_RELEASE = @PROJECT_RELEASE@ |
PROJECT_ROOT = @PROJECT_ROOT@ |
PROJECT_TOPdir = @PROJECT_TOPdir@ |
RTEMS_BSP = @RTEMS_BSP@ |
RTEMS_BSP_SPECS = @RTEMS_BSP_SPECS@ |
RTEMS_CPU = @RTEMS_CPU@ |
RTEMS_HAS_ITRON_API = @RTEMS_HAS_ITRON_API@ |
RTEMS_HAS_NETWORKING = @RTEMS_HAS_NETWORKING@ |
RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@ |
RTEMS_HAS_RDBG = @RTEMS_HAS_RDBG@ |
RTEMS_ROOT = @RTEMS_ROOT@ |
RTEMS_TOPdir = @RTEMS_TOPdir@ |
RTEMS_USE_MACROS = @RTEMS_USE_MACROS@ |
STRIP = @STRIP@ |
TARGET_SUBDIRS = @TARGET_SUBDIRS@ |
VERSION = @VERSION@ |
am__include = @am__include@ |
am__quote = @am__quote@ |
bsplibdir = @bsplibdir@ |
build_configdirs = @build_configdirs@ |
buildargs = @buildargs@ |
hostargs = @hostargs@ |
install_sh = @install_sh@ |
targetargs = @targetargs@ |
|
rtems_makedir = $(prefix)/make |
rtems_make_customdir = $(rtems_makedir)/custom |
|
rtems_make_custom_DATA = default.cfg |
|
EXTRA_DIST = Cygwin-posix.cfg FreeBSD-posix.cfg HPUX9-posix.cfg \ |
Linux-posix.cfg Solaris-posix.cfg bare.cfg cvme961.cfg dmv152.cfg \ |
dmv177.cfg efi332.cfg efi68k.cfg erc32.cfg erc32nfp.cfg eth_comm.cfg \ |
gen68302.cfg gen68340.cfg gen68360.cfg gen68360_040.cfg gensh1.cfg \ |
helas403.cfg i386ex.cfg idp.cfg jmr3904.cfg leon1.cfg leon2.cfg \ |
mcp750.cfg mvme136.cfg mvme147.cfg mvme147s.cfg \ |
mvme162.cfg mvme162lx.cfg mvme167.cfg mvme2307.cfg no_bsp.cfg \ |
ods68302.cfg p4000.cfg p4600.cfg p4650.cfg pc386.cfg \ |
portsw.cfg posix.cfg ppcn_60x.cfg psim.cfg score603e.cfg shsim.cfg \ |
simhppa.cfg ts_386ex.cfg |
|
subdir = make/custom |
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
CONFIG_CLEAN_FILES = |
DIST_SOURCES = |
DATA = $(rtems_make_custom_DATA) |
|
DIST_COMMON = Makefile.am Makefile.in |
all: all-am |
|
.SUFFIXES: |
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/automake/host.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) |
cd $(top_srcdir) && \ |
$(AUTOMAKE) --foreign make/custom/Makefile |
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status |
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) |
uninstall-info-am: |
rtems_make_customDATA_INSTALL = $(INSTALL_DATA) |
install-rtems_make_customDATA: $(rtems_make_custom_DATA) |
@$(NORMAL_INSTALL) |
$(mkinstalldirs) $(DESTDIR)$(rtems_make_customdir) |
@list='$(rtems_make_custom_DATA)'; for p in $$list; do \ |
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
f="`echo $$p | sed -e 's|^.*/||'`"; \ |
echo " $(rtems_make_customDATA_INSTALL) $$d$$p $(DESTDIR)$(rtems_make_customdir)/$$f"; \ |
$(rtems_make_customDATA_INSTALL) $$d$$p $(DESTDIR)$(rtems_make_customdir)/$$f; \ |
done |
|
uninstall-rtems_make_customDATA: |
@$(NORMAL_UNINSTALL) |
@list='$(rtems_make_custom_DATA)'; for p in $$list; do \ |
f="`echo $$p | sed -e 's|^.*/||'`"; \ |
echo " rm -f $(DESTDIR)$(rtems_make_customdir)/$$f"; \ |
rm -f $(DESTDIR)$(rtems_make_customdir)/$$f; \ |
done |
tags: TAGS |
TAGS: |
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
|
top_distdir = ../.. |
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) |
|
distdir: $(DISTFILES) |
@list='$(DISTFILES)'; for file in $$list; do \ |
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ |
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ |
dir="/$$dir"; \ |
$(mkinstalldirs) "$(distdir)$$dir"; \ |
else \ |
dir=''; \ |
fi; \ |
if test -d $$d/$$file; then \ |
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ |
fi; \ |
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ |
else \ |
test -f $(distdir)/$$file \ |
|| cp -p $$d/$$file $(distdir)/$$file \ |
|| exit 1; \ |
fi; \ |
done |
check-am: all-am |
check: check-am |
all-am: Makefile $(DATA) |
|
installdirs: |
$(mkinstalldirs) $(DESTDIR)$(rtems_make_customdir) |
|
install: install-am |
install-exec: install-exec-am |
install-data: install-data-am |
uninstall: uninstall-am |
|
install-am: all-am |
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
|
installcheck: installcheck-am |
install-strip: |
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
INSTALL_STRIP_FLAG=-s \ |
`test -z '$(STRIP)' || \ |
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install |
mostlyclean-generic: |
|
clean-generic: |
|
distclean-generic: |
-rm -f Makefile $(CONFIG_CLEAN_FILES) |
|
maintainer-clean-generic: |
@echo "This command is intended for maintainers to use" |
@echo "it deletes files that may require special tools to rebuild." |
clean: clean-am |
|
clean-am: clean-generic mostlyclean-am |
|
distclean: distclean-am |
|
distclean-am: clean-am distclean-generic |
|
dvi: dvi-am |
|
dvi-am: |
|
info: info-am |
|
info-am: |
|
install-data-am: install-rtems_make_customDATA |
|
install-exec-am: |
|
install-info: install-info-am |
|
install-man: |
|
installcheck-am: |
|
maintainer-clean: maintainer-clean-am |
|
maintainer-clean-am: distclean-am maintainer-clean-generic |
|
mostlyclean: mostlyclean-am |
|
mostlyclean-am: mostlyclean-generic |
|
uninstall-am: uninstall-info-am uninstall-rtems_make_customDATA |
|
.PHONY: all all-am check check-am clean clean-generic distclean \ |
distclean-generic distdir dvi dvi-am info info-am install \ |
install-am install-data install-data-am install-exec \ |
install-exec-am install-info install-info-am install-man \ |
install-rtems_make_customDATA install-strip installcheck \ |
installcheck-am installdirs maintainer-clean \ |
maintainer-clean-generic mostlyclean mostlyclean-generic \ |
uninstall uninstall-am uninstall-info-am \ |
uninstall-rtems_make_customDATA |
|
|
debug: |
@echo |
@echo "\"make debug\" is obsolete, instead use:" |
@echo " make VARIANT=DEBUG" |
@echo |
|
.PHONY: debug |
|
profile: |
@echo |
@echo "\"make profile\" is obsolete, instead use:" |
@echo " make VARIANT=PROFILE" |
@echo |
|
preinstall-am: $(PREINSTALL_FILES) |
preinstall: preinstall-am |
.PHONY: preinstall preinstall-am |
|
depend-am: |
depend: depend-am |
.PHONY: depend depend-am |
# Tell versions [3.59,3.63) of GNU make to not export all variables. |
# Otherwise a system limit (for SysV at least) may be exceeded. |
.NOEXPORT: |
/vegaplus.cfg
0,0 → 1,50
# |
# Config file for VEGAPLUS ARM BOARD -- |
# |
# vegaplus.cfg,v 1.6 2002/08/07 06:13:46 ralf Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=arm |
RTEMS_CPU_MODEL=arm7tdmi |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=vegaplus |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
#CPU_CFLAGS = -mcpu=arm7tdmi |
CPU_CFLAGS = |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
# NOTE2: some level of -O may be actually required by inline assembler (at least |
# -O2 so far. |
CFLAGS_OPTIMIZE_V= |
#CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align |
|
# debug flags: typically none, but at least -O1 is required due to this |
# BSP using inlined code |
CFLAGS_DEBUG_V = -O1 |
#CFLAGS_DEBUG_V = -O1 -mmultiple -mstring -mstrict-align |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
-static -Wl,-Map,$(basename $@).map -o $(basename $@).obj \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(OBJCOPY) -O binary \ |
--only-section=.text \ |
--only-section=.data \ |
--only-section=.rodata \ |
--strip-unneeded $(basename $@).obj $(basename $@).exe |
$(NM) -g -n $(basename $@).obj > $(basename $@).num |
$(SIZE) $(basename $@).obj |
# test -d ${PROJECT_RELEASE}/bin || mkdir ${PROJECT_RELEASE}/bin |
# f=`basename $@ .exe`; \ |
# cp $(basename $@).bin $(basename $@).exe |
# cp $(basename $@).bin ${PROJECT_RELEASE}/bin/$${f}$(LIB_VARIANT).exe |
endef |
|
# Miscellaneous additions go here |
/efi332.cfg
0,0 → 1,36
# |
# Config file for the efi332 BSP |
# |
# efi332.cfg,v 1.21 2002/08/06 20:15:43 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=m68k |
RTEMS_CPU_MODEL=m68332 |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=efi332 |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
CPU_CFLAGS = -mcpu32 |
|
# optimize flag: typically -0, could use -O4 or -fast, -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i |
sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ |
$(PACKHEX) > $(basename $@).exe |
$(NM) -g -n $(basename $@).nxe > $(basename $@).num |
$(SIZE) $(basename $@).nxe |
endef |
|
# Miscellaneous additions go here |
/ppcn_60x.cfg
0,0 → 1,36
# |
# Config file for a Radstone Technology Plc. PowerPC 60x based VME board |
# |
# $Id: ppcn_60x.cfg |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=powerpc |
RTEMS_CPU_MODEL=ppc603e |
|
# This is the actual bsp directory used during the build process. |
|
RTEMS_BSP_FAMILY=ppcn_60x |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
CPU_CFLAGS = -mcpu=603e -D_OLD_EXCEPTIONS -Dppc603e |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
# NOTE: some level of -O may be actually required by inline assembler |
CFLAGS_OPTIMIZE_V=-O0 -fno-keep-inline-functions -fvolatile-global -fvolatile |
#CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions -fvolatile-global -fvolatile |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
-o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $(basename $@).exe > $(basename $@).num |
$(SIZE) $(basename $@).exe |
endef |
|
# Miscellaneous additions go here |
|
DRIVER_ARCHITECTURE=vmebus |
/simsh7032.cfg
0,0 → 1,30
# |
# simsh7032.cfg |
# |
# default configuration for gdb-simulation of Hitachi sh7032 processors |
# |
# Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de) |
# |
# simsh7032.cfg,v 1.1 2001/01/22 14:03:44 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/shsim.cfg |
|
RTEMS_CPU=sh |
RTEMS_CPU_MODEL=sh7032 |
|
# |
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
CPU_CFLAGS=-m1 |
|
# debug flags: typically none, but we use -O1 as it produces better code |
# CFLAGS_DEBUG_V = -O1 |
CFLAGS_DEBUG_V = |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V = -O4 |
|
# Miscellaneous additions go here |
/mvme147.cfg
0,0 → 1,36
# |
# Config file for the mvme147 BSP |
# |
# mvme147.cfg,v 1.16 2002/03/28 13:51:54 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=m68k |
RTEMS_CPU_MODEL=m68030 |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=mvme147 |
|
# default flags |
CPU_CFLAGS= |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i |
sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ |
$(PACKHEX) > $(basename $@).exe |
$(NM) -g -n $(basename $@).nxe > $(basename $@).num |
$(SIZE) $(basename $@).nxe |
endef |
# Miscellaneous additions go here |
|
/gen405.cfg
0,0 → 1,56
# |
# Config file for a generic PowerPC 405 based card |
# |
# gen405.cfg,v 1.6 2002/04/18 13:07:35 joel Exp |
# |
# this is derived from: |
# |
# Config file for a PowerPC 403 based helas403 card |
# |
# Id: helas403.cfg,v 1.8 2000/07/13 15:05:38 joel Exp |
# |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=powerpc |
RTEMS_CPU_MODEL=ppc405 |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=gen405 |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
CPU_CFLAGS = -mcpu=403 -D_OLD_EXCEPTIONS -Dppc405 |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
# NOTE: some level of -O may be actually required by inline assembler |
CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions -g |
|
|
# No start file |
START_BASE= |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS) |
$(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec |
$(NM) -g -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# $(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec |
define make-cxx-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_CXXFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS) |
$(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec |
$(NM) -g -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
|
/gen68360_040.cfg
0,0 → 1,15
# |
# Configuration file for a 68040 using the 68360 in companion mode |
# |
# gen68360_040.cfg,v 1.1 1998/01/20 19:30:28 joel Exp |
# |
|
# |
# All gen68360 configurations share the same base file, only the cpu model |
# differs. |
# |
|
RTEMS_GEN68360_COMPANION_MODE=yes |
|
include $(RTEMS_ROOT)/make/custom/gen68360.cfg |
|
/idp.cfg
0,0 → 1,38
# |
# Config file for the IDP BSP |
# |
# idp.cfg,v 1.17 2002/03/28 13:51:54 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=m68k |
RTEMS_CPU_MODEL=m68ec040 |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=idp |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
CPU_CFLAGS = -msoft-float |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i |
sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ |
$(PACKHEX) > $(basename $@).exe |
$(NM) -g -n $(basename $@).nxe > $(basename $@).num |
$(SIZE) $(basename $@).nxe |
endef |
|
# Miscellaneous additions go here |
/erc32.cfg
0,0 → 1,32
# |
# Config file for the European Space Agency ERC32 |
# a V7 SPARC processor derived from the Cypress 601/602 set. |
# |
# erc32.cfg,v 1.27 2002/04/03 14:16:20 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=sparc |
RTEMS_CPU_MODEL=erc32 |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=erc32 |
|
CPU_CFLAGS = -mcpu=cypress |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $(basename $@).exe > $(basename $@).num |
$(SIZE) $(basename $@).exe |
endef |
# Miscellaneous additions go here |
/dmv152.cfg
0,0 → 1,44
# |
# Config file for the dmv152 BSP |
# |
# dmv152.cfg,v 1.18 2002/03/28 13:51:54 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=m68k |
RTEMS_CPU_MODEL=m68020 |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=dmv152 |
|
# |
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
|
CPU_CFLAGS = |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer |
|
# 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 |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i |
sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ |
$(PACKHEX) > $@ |
$(NM) -g -n $(basename $@).nxe > $(basename $@).num |
$(SIZE) $(basename $@).nxe |
endef |
|
# Miscellaneous additions go here |
/mvme2307.cfg
0,0 → 1,51
# |
# Config file for the PowerPC 604 based mvme2307 |
# |
# mvme2307.cfg,v 1.14 2002/04/18 13:07:35 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=powerpc |
RTEMS_CPU_MODEL=mpc604 |
RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=motorola_powerpc |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
CPU_CFLAGS = -mcpu=604 -mmultiple -mstring -mstrict-align -Dmpc604 |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
# NOTE: some level of -O may be actually required by inline assembler |
#CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions |
CFLAGS_OPTIMIZE_V = -O4 |
|
# debug flags: typically none, but at least -O1 is required due to this |
# BSP using inlined code |
CFLAGS_DEBUG_V = -O1 |
|
# profile flags: typically none, but at least -O1 is required due to this |
# BSP using inlined code |
CFLAGS_PROFILE_V = -O1 |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
-o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $(basename $@).nxe > $(basename $@).num |
$(SIZE) $(basename $@).nxe |
$(OBJCOPY) $(basename $@).nxe rtems -O binary -R .comment -S |
gzip -vf9 rtems |
$(LD) -o $@ $(PROJECT_RELEASE)/lib/bootloader.o --just-symbols=$(basename $@).nxe \ |
-b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \ |
-Map $(basename $@).map && chmod 755 $@ |
rm -f rtems.gz |
endef |
|
# Miscellaneous additions go here |
|
# No start file |
START_BASE= |
/mvme147s.cfg
0,0 → 1,16
# |
# Config file for the mvme147s BSP |
# |
# mvme147s.cfg,v 1.2 1998/11/23 17:38:09 joel Exp |
# |
|
# |
# mvme147s and mvme147 use the same toolset |
# |
|
include $(RTEMS_ROOT)/make/custom/mvme147.cfg |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=mvme147s |
|
# Miscellaneous additions go here |
/mrm332.cfg
0,0 → 1,63
# |
# Config file for the mrm332 BSP |
# |
# mrm332.cfg,v 1.5 2002/08/06 20:15:43 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=m68k |
RTEMS_CPU_MODEL=m68332 |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=mrm332 |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
CPU_CFLAGS = -mcpu32 |
|
# optimize flag: typically -0, could use -O4 or -fast, -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
ifeq ($(MRM_IN_ROM),yes) |
# Build a rommable image - move the .data section after the .text section |
# in the image. |
CPU_CFLAGS += -qnolinkcmds -T $(PROJECT_ROOT)/mrm332/lib/linkcmds_ROM |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).pxe \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(OBJCOPY) --adjust-section-vma \ |
.data=`m68k-rtems-objdump --section-headers $(basename $@).pxe | \ |
awk 'function h2d(x) { x=toupper(x); digits=length(x); s=0 ; \ |
for (p=digits; p>0; p--) \ |
s += (16^(p-1)) * ( index("0123456789ABCDEF",\ |
substr(x,1+digits-p,1)) -1 );\ |
return s } ;\ |
/\.text/ { base = $$4 ; size = $$3 };\ |
END { printf("0x%x", h2d(base) + h2d(size)) }'\ |
` $(basename $@).pxe $(basename $@).nxe |
$(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i |
sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ |
$(PACKHEX) > $(basename $@).exe |
$(NM) -g -n $(basename $@).pxe > $(basename $@).pnum |
$(NM) -g -n $(basename $@).nxe > $(basename $@).num |
$(SIZE) $(basename $@).nxe |
endef |
else |
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i |
sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ |
$(PACKHEX) > $(basename $@).exe |
$(NM) -g -n $(basename $@).nxe > $(basename $@).num |
$(SIZE) $(basename $@).nxe |
endef |
endif |
|
# Miscellaneous additions go here |
/helas403.cfg
0,0 → 1,42
# |
# Config file for a PowerPC 403 based helas403 card |
# |
# helas403.cfg,v 1.14 2002/04/18 13:07:35 joel Exp |
# |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=powerpc |
RTEMS_CPU_MODEL=ppc403 |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=helas403 |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
CPU_CFLAGS = -mcpu=403 -D_OLD_EXCEPTIONS -Dppc403 |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
# NOTE: some level of -O may be actually required by inline assembler |
CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions |
|
# No start file |
START_BASE= |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec |
$(NM) -g -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
|
/shsim.cfg
0,0 → 1,38
# |
# Config file for the sh simulator in gdb |
# |
# shsim.cfg,v 1.3 2001/11/14 18:43:32 joel Exp |
# |
|
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=shsim |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
CPU_CFLAGS=-m1 |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
# CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures |
CFLAGS_OPTIMIZE_V=-O2 -g |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
$(LDLIBS) -o $@ \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
|
/ts_386ex.cfg
0,0 → 1,43
# |
# Config file for the ts-386ex BSP |
# |
# ts_386ex.cfg,v 1.14 2002/05/14 15:51:29 joel Exp |
# |
|
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 -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
# -fomit-frame-pointer breaks debugging and C++ exceptions |
CFLAGS_OPTIMIZE_V= -O4 |
|
# Something like this should produce a map file but this does not work. |
|
# -Xlinker "-Map $(basename $@).map" $(LINK_OBJS) |
# |
# This is a good way to get debug information. The rdmp file is large |
# though (1.9 Mb for hello) and greatly slows the build process. |
# $(OBJDUMP) -x -m i386 -d $(basename $@).coff > $(basename $@).rdmp |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).elf \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(OBJCOPY) -O binary $(basename $@).elf $(basename $@).exe |
$(NM) -g -n $(basename $@).elf > $(basename $@).num |
$(SIZE) $(basename $@).elf |
endef |
|
# Miscellaneous additions go here |
|
/mpc8260ads.cfg
0,0 → 1,48
# |
# Config file for MPC8260 based Motorola ADS board |
# |
# mpc8260ads.cfg,v 1.7 2002/08/02 00:08:01 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=powerpc |
RTEMS_CPU_MODEL=mpc8260 |
8XX_CPU_TYPE=8260 |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=mpc8260ads |
|
# PPC_ABI (PowerPC) |
# This defines the calling convention (Application Binary Interface) |
# used in this configuration. EABI is the only one supported. |
# This BSP was initially developed using the PowerOpen ABI. |
# |
# PPC_ASM (PowerPC) |
# This defines the assembly language format used in this configuration. |
# ELF is the only one supported. |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
# 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 |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
# NOTE: some level of -O may be actually required by inline assembler |
CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
/ods68302.cfg
0,0 → 1,53
# |
# Config file for a "ODS 68302" BSP |
# |
# Differs from the gen68302 by providing most of the boot code as C |
# code. This allows separate board definitions to be based on C |
# header files. The file is based on the VARIANT defined. |
# |
# ods68302.cfg,v 1.20 2002/03/28 13:51:54 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=m68k |
RTEMS_CPU_MODEL=m68302 |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=ods68302 |
|
# |
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
# 68000+softfloat results in gcc 2.95.2 giving default libraries. |
# CPU_CFLAGS = -m68302 -msoft-float |
CPU_CFLAGS = -m68302 |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer |
|
# debugging please |
CFLAGS_DEBUG_V = |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
-o $@ \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
|
ifeq ($(RTEMS_DEBUGGER),yes) |
LINKCMDS=$(PROJECT_RELEASE)/lib/debugrom |
else |
LINKCMDS=$(PROJECT_RELEASE)/lib/rom |
endif |
|
/efi68k.cfg
0,0 → 1,40
# |
# Config file for the efi68k BSP |
# |
# efi68k.cfg,v 1.17 2002/03/28 13:51:54 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=m68k |
RTEMS_CPU_MODEL=m68000 |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=efi68k |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
# 68000+softfloat results in gcc 2.95.2 giving default libraries. |
# CPU_CFLAGS = -m68000 -msoft-float |
CPU_CFLAGS = -m68000 |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i |
sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ |
$(PACKHEX) > $@ |
$(NM) -g -n $(basename $@).nxe > $(basename $@).num |
$(SIZE) $(basename $@).nxe |
endef |
|
# Miscellaneous additions go here |
/mbx8xx.cfg
0,0 → 1,71
# |
# Config file for a PowerPC MPC821- or MPC860-based MBX card |
# |
# This file is derived from: |
# |
# Config file for a PowerPC 403 based helas403 card |
# Config file for MPC860 based Ethernet Comm Board |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=powerpc |
RTEMS_CPU_MODEL=mpc$(8XX_CPU_TYPE) |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=mbx8xx |
|
# This section makes the target dependent options file. |
# |
# Note that RTEMS_BSP matches the RTEMS_MBX_MODEL. Its value must be |
# defined in targopts.h, so the few places that require different code |
# for different MBX models can be distinguished. The value of |
# RTEMS_BSP is already defined in targopts.h and is one of: |
# mbx860_001 mbx821_001 |
# mbx860_002 mbx821_002 |
# mbx860_003 mbx821_003 |
# mbx860_004 mbx821_004 |
# mbx860_005 mbx821_005 |
# mbx860_001b mbx821_001b |
# mbx860_002b mbx821_002b |
# mbx860_003b mbx821_003b |
# mbx860_004b mbx821_004b |
# mbx860_005b mbx821_005b |
# mbx860_006b mbx821_006b |
|
# The specific CPU model is defined, so the few places that require |
# different code for the MPC860 and MPC821 can be distinguished. |
# Either mpc860 or mpc821 is defined. |
# |
# MBX8xx-specific options: |
# |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
CPU_CFLAGS = -mcpu=$(8XX_CPU_TYPE) -Dmpc$(8XX_CPU_TYPE) -D$(RTEMS_MBX_MODEL) |
|
CFLAGS_DEBUG_V += -ggdb |
CXXFLAGS_DEBUG_V += -ggdb |
|
# optimize flag: typically -O, could use -O4 or -fast |
# -O4 is ok for RTEMS |
# NOTE: some level of -O may be actually required by inline assembler |
# CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions |
CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions |
CXXFLAGS_OPTIMIZE_V=-O4 |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) $(MBX8xx_LDFLAGS) \ |
-o $(basename $@)_sym.exe $(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $(basename $@)_sym.exe > $(basename $@).nm |
cp $(basename $@)_sym.exe $(basename $@).exe |
$(STRIP) $(basename $@).exe |
$(SIZE) $(basename $@)_sym.exe |
endef |
|
# Miscellaneous additions go here |
|
# Override default start file |
START_BASE= |
|
/Linux-posix.cfg
0,0 → 1,39
# |
# Config file for the Linux 1.x based RTEMS UNIX |
# |
# Linux-posix.cfg,v 1.27 2002/01/04 18:08:57 joel Exp |
# |
|
RTEMS_CPU=unix |
RTEMS_CPU_FAMILY=i386 |
RTEMS_CPU_MODEL=i486dx |
RTEMS_UNIX_FLAVOR=linux |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=posix |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
# RTEMS_LIBC_DIR must already be set (by configuration) DOES NOT MATTER |
LIBC_DEFINES =-D_POSIX_C_SOURCE |
LIBC_DEFINES+=-DRTEMS_UNIXLIB -DRTEMS_UNIX |
|
# The following define the memory reserved in the executable for the |
# RTEMS Workspace and the C Program Heap. |
LIBC_DEFINES += -DWORKSPACE_MB=2 |
LIBC_DEFINES += -DHEAPSPACE_MB=1 |
|
DEFINES += -D_BSD_SOURCE |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V = -O2 |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS) |
$(NM) -ng $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# ***************************************************************** |
# Miscellaneous additions go here |
/i960sim.cfg
0,0 → 1,38
# |
# Config file for the i960 simulator in gdb |
# |
# i960sim.cfg,v 1.7 2002/03/28 13:51:54 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=i960 |
RTEMS_CPU_MODEL=i960ka |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=i960sim |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
CPU_CFLAGS=-mka -g |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
# CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures |
CFLAGS_OPTIMIZE_V=-O0 -g |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
$(LDLIBS) -o $@ \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
|
/Cygwin-posix.cfg
0,0 → 1,39
# |
# Config file for the Cygwin based RTEMS UNIX |
# |
# Cygwin-posix.cfg,v 1.10 2002/01/04 18:08:57 joel Exp |
# |
|
RTEMS_CPU=unix |
RTEMS_CPU_FAMILY=i386 |
RTEMS_CPU_MODEL=i486dx |
RTEMS_UNIX_FLAVOR=cygwin |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=posix |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
# RTEMS_LIBC_DIR must already be set (by configuration) DOES NOT MATTER |
LIBC_DEFINES =-D_POSIX_C_SOURCE |
LIBC_DEFINES+=-DRTEMS_UNIXLIB -DRTEMS_UNIX |
|
# The following define the memory reserved in the executable for the |
# RTEMS Workspace and the C Program Heap. |
LIBC_DEFINES += -DWORKSPACE_MB=2 |
LIBC_DEFINES += -DHEAPSPACE_MB=1 |
|
DEFINES += -D_BSD_SOURCE |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V = -O2 |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS) |
$(NM) -ng $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# ***************************************************************** |
# Miscellaneous additions go here |
/mvme162lx.cfg
0,0 → 1,51
# |
# Configuration file for a MVME162LX |
# |
# This is an MVME162 model with ... |
# |
# mvme162lx.cfg,v 1.2 2001/12/18 14:11:02 joel Exp |
# |
|
# |
# All mvme162 configurations share the same base file, only the cpu model |
# differs. |
# |
|
RTEMS_MVME162_MODEL=mvme162lx |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=m68k |
RTEMS_CPU_MODEL=m68lc040 |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=mvme162 |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
CPU_CFLAGS = -m68040 -msoft-float |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
-o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS) |
#$(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i |
#sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ |
# $(PACKHEX) > $(basename $@).exe |
$(OBJCOPY) -O binary $(basename $@).nxe $(basename $@).exe |
$(NM) -g -n $(basename $@).nxe > $(basename $@).num |
$(SIZE) $(basename $@).nxe |
endef |
|
# Miscellaneous additions go here |
|
# BSP-specific tools |
SLOAD=$(PROJECT_TOOLS)/sload |
/pck6.cfg
0,0 → 1,10
# |
# Configuration file for a PC using an AMD k6 Class CPU |
# |
# pck6.cfg,v 1.1 2000/08/25 17:29:00 joel Exp |
# |
|
RTEMS_CPU_MODEL=pentium |
CPU_CFLAGS = -mcpu=k6 |
|
include $(RTEMS_ROOT)/make/custom/pc386.cfg |
/simsh7045.cfg
0,0 → 1,30
# |
# simsh7045.cfg |
# |
# default configuration for gdb-simulation of Hitachi sh7045 processors |
# |
# Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de) |
# |
# simsh7045.cfg,v 1.1 2001/01/22 14:03:44 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/shsim.cfg |
|
RTEMS_CPU=sh |
RTEMS_CPU_MODEL=sh7045 |
|
# |
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
CPU_CFLAGS=-m2 |
|
# debug flags: typically none, but we use -O1 as it produces better code |
# CFLAGS_DEBUG_V = -O1 |
CFLAGS_DEBUG_V = |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V = -O4 |
|
# Miscellaneous additions go here |
/pc486.cfg
0,0 → 1,14
# |
# Configuration file for a PC using an i486DX Class CPU |
# |
# pc486.cfg,v 1.3 2002/07/24 13:31:21 joel Exp |
# |
|
RTEMS_CPU_MODEL=i486dx |
# gcc 2.95.x and 3.0 |
#CPU_CFLAGS = -m486 |
# gcc 3.1 and newer |
CPU_CFLAGS=-mcpu=i486 |
|
include $(RTEMS_ROOT)/make/custom/pc386.cfg |
|
/simcpu32.cfg
0,0 → 1,35
# |
# Configuration file for a simcpu32 in BSCV |
# |
# simcpu32.cfg,v 1.4 2001/11/14 18:59:05 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=m68k |
RTEMS_CPU_MODEL=mcpu32 |
CPU_CFLAGS = -mcpu32 |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=sim68000 |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer |
|
# debugging please |
CFLAGS_DEBUG_V = |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
-o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS) |
$(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).exe |
$(NM) -g -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
/pc686.cfg
0,0 → 1,14
# |
# Configuration file for a PC using a PentiumPro Class CPU |
# |
# pc686.cfg,v 1.3 2002/07/24 13:31:21 joel Exp |
# |
|
RTEMS_CPU_MODEL=pentiumpro |
# gcc 2.95.x and 3.0 |
#CPU_CFLAGS = -mpentiumpro |
# gcc 3.1 and newer |
CPU_CFLAGS=-mcpu=pentiumpro |
|
include $(RTEMS_ROOT)/make/custom/pc386.cfg |
|
/c3xsim.cfg
0,0 → 1,12
# |
# Configuration file for the GDB C4x simulator as a C3x |
# |
# c3xsim.cfg,v 1.2 2000/02/29 16:35:45 joel Exp |
# |
|
RTEMS_BSP=c3xsim |
RTEMS_CPU_MODEL=c32 |
CPU_CFLAGS = -mcpu=32 |
|
include $(RTEMS_ROOT)/make/custom/c4xsim.cfg |
|
/c4xsim.cfg
0,0 → 1,42
# |
# Configuration file for the GDB C4x simulator |
# |
# c4xsim.cfg,v 1.5 2001/12/07 12:32:09 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
ifeq ($(RTEMS_CPU_MODEL),) |
RTEMS_BSP=c4xsim |
RTEMS_CPU_MODEL=c40 |
CPU_CFLAGS=-mcpu=40 #-msmall |
endif |
|
# XXX add this temporarily until c4x-rtems target defines this. |
CPU_CFLAGS += -D__rtems__ |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=c4xsim |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
# -O4 is broken for the moment on the C4x gcc |
#CFLAGS_OPTIMIZE_V=-O4 |
CFLAGS_OPTIMIZE_V=-O1 |
|
# this target has no start file |
START_BASE= |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
$(LDLIBS) -o $@ \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
/psim.cfg
0,0 → 1,33
# |
# Config file for the PowerPC 60x simulator - psim |
# |
# psim.cfg,v 1.24 2002/05/14 15:51:29 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=powerpc |
RTEMS_CPU_MODEL=ppc603e |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=psim |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
CPU_CFLAGS = -mcpu=603e -D_OLD_EXCEPTIONS -Dppc603e |
#-ffunction-sections |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
# NOTE: some level of -O may be actually required by inline assembler |
CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
/jmr3904.cfg
0,0 → 1,40
# |
# Config file for the jmr3904 board which has a simulator in gdb |
# |
# jmr3904.cfg,v 1.8 2002/06/14 17:31:20 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=mips |
RTEMS_CPU_MODEL=tx3904 |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=jmr3904 |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
# gcc 2.95.x and 3.0 |
#CPU_CFLAGS=-m3900 -G0 |
# gcc 3.1 and newer |
CPU_CFLAGS=-march=r3900 -G0 |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O2 -g |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
$(LDLIBS) -o $@ \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
|
/FreeBSD-posix.cfg
0,0 → 1,34
# |
# Config file for the FreeBSD 2.x based RTEMS UNIX |
|
RTEMS_CPU=unix |
RTEMS_CPU_FAMILY=i386 |
RTEMS_CPU_MODEL=i486dx |
RTEMS_UNIX_FLAVOR=freebsd |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=posix |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
# RTEMS_LIBC_DIR must already be set (by configuration) DOES NOT MATTER |
LIBC_DEFINES =-D_POSIX_C_SOURCE |
LIBC_DEFINES+=-DRTEMS_UNIXLIB -DRTEMS_UNIX |
|
# The following define the memory reserved in the executable for the |
# RTEMS Workspace and the C Program Heap. |
LIBC_DEFINES += -DWORKSPACE_MB=2 |
LIBC_DEFINES += -DHEAPSPACE_MB=1 |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V = -O2 |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS) |
$(NM) -ng $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# ***************************************************************** |
# Miscellaneous additions go here |
/arm_bare_bsp.cfg
0,0 → 1,50
# |
# Config file for ARM BOARD -- |
# |
# arm_bare_bsp.cfg,v 1.6 2001/06/19 14:27:43 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=arm |
RTEMS_CPU_MODEL=arm7tdmi |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=arm_bare_bsp |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
#CPU_CFLAGS = -mcpu=arm7tdmi |
CPU_CFLAGS = |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
# NOTE2: some level of -O may be actually required by inline assembler (at least |
# -O2 so far. |
CFLAGS_OPTIMIZE_V= |
#CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align |
|
# debug flags: typically none, but at least -O1 is required due to this |
# BSP using inlined code |
CFLAGS_DEBUG_V = -O1 |
#CFLAGS_DEBUG_V = -O1 -mmultiple -mstring -mstrict-align |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).obj \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(OBJCOPY) -O binary \ |
--only-section=.text \ |
--only-section=.data \ |
--only-section=.rodata \ |
--strip-unneeded $(basename $@).obj $(basename $@).bin |
$(NM) -g -n $(basename $@).obj > $(basename $@).num |
$(SIZE) $(basename $@).obj |
test -d ${PROJECT_RELEASE}/bin || mkdir ${PROJECT_RELEASE}/bin |
f=`basename $@ .exe`; \ |
cp $(basename $@).bin $(basename $@).exe |
cp $(basename $@).bin ${PROJECT_RELEASE}/bin/$${f}$(LIB_VARIANT).exe |
|
endef |
|
# Miscellaneous additions go here |
/gen68302.cfg
0,0 → 1,37
# |
# Config file for a "generic 68302" BSP |
# |
# gen68302.cfg,v 1.15 2002/03/28 13:51:54 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=m68k |
RTEMS_CPU_MODEL=m68302 |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=gen68302 |
|
# |
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
# 68000+softfloat results in gcc 2.95.2 giving default libraries. |
# CPU_CFLAGS = -m68302 -msoft-float |
CPU_CFLAGS = -m68302 |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
# Miscellaneous additions go here |
/gen68340.cfg
0,0 → 1,47
# |
# Config file for a "generic 68340" BSP |
# |
# gen68340.cfg,v 1.13 2002/08/06 20:15:43 joel Exp |
# |
|
RTEMS_CPU=m68k |
|
RTEMS_CPU_MODEL=m68340 |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=gen68340 |
|
CPU_CFLAGS = -mcpu32 |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
-o $@ $(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
# if you want to make a prom image |
# m68k-rtems-objcopy --adjust-section-vma \ |
# .data=`m68k-rtems-objdump --section-headers $(basename $@).exe | \ |
# awk 'function h2d(x) { x=toupper(x); digits=length(x); s=0 ; \ |
# for (p=digits; p>0; p--) \ |
# s += (16^(p-1)) * ( index("0123456789ABCDEF",\ |
# substr(x,1+digits-p,1)) -1 );\ |
# return s } ;\ |
# /\.text/ { base = $$4 ; size = $$3 };\ |
# END { printf("0x%x", h2d(base) + h2d(size)) }'\ |
# ` $(basename $@).exe |
# if you want to convert it to ieee |
# m68k-rtems-objcopy --output-target=ieee --debugging \ |
# $(basename $@).exe $(basename $@).ieee |
|
# Miscellaneous additions go here |
/rxgen960.cfg
0,0 → 1,40
# |
# Config file for the generix RAMiX boards with i960 |
# |
# rxgen960.cfg,v 1.13 2002/05/14 15:51:29 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=i960 |
RTEMS_CPU_MODEL=i960rp |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=rxgen960 |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
# CPU_CFLAGS = -mrp -D__i960RP__ -D__i960_RP__ |
CPU_CFLAGS = -mrp |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $@ > $(basename $@).num |
$(OBJCOPY) -O binary $@ $(basename $@).bin |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
|
START_BASE= |
START_FILE= |
/erc32nfp.cfg
0,0 → 1,33
# |
# Config file for the European Space Agency ERC32 |
# a V7 SPARC processor derived from the Cypress 601/602 set. |
# |
# erc32nfp.cfg,v 1.4 2002/04/03 14:16:20 joel Exp |
# |
|
# ERC32 without FPU |
|
RTEMS_CPU_MODEL=erc32nfp |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=erc32 |
|
CPU_CFLAGS = -mcpu=cypress -msoft-float |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $(basename $@).exe > $(basename $@).num |
$(SIZE) $(basename $@).exe |
endef |
# Miscellaneous additions go here |
/default.cfg
0,0 → 1,35
# Default target settings |
# |
# Some of these values are redefined in the target specific .cfg files. |
# |
# Created by Jiri Gaisler, 16-03-97 (who is owed a debt of gratitude |
# for converting RTEMS to autoconf. Thanks. --joel) |
# |
# default.cfg,v 1.14 2001/04/11 13:49:47 joel Exp |
# |
|
include $(exec_prefix)/make/target.cfg |
include $(RTEMS_ROOT)/make/host.cfg |
|
include $(RTEMS_ROOT)/make/main.cfg |
include $(exec_prefix)/$(RTEMS_BSP)/make/bsp.cfg |
|
# use the inline functions instead of the macros |
# ref: src/exec/generic/Makefile |
ifeq ($(RTEMS_USE_MACROS),yes) |
INLINE=macros |
INLINE_UPCASE= |
else |
INLINE=inline |
INLINE_UPCASE=INLINE |
endif |
|
## Target compiler config file, if any |
CONFIG.CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg |
|
## GCC specs extension file location |
RTEMS_BSP_SPECS = $(PROJECT_ROOT)/$(RTEMS_BSP)/lib/bsp_specs |
|
# Base name of start file |
START_BASE=start |
|
/gensh1.cfg
0,0 → 1,46
# |
# gensh1.cfg |
# |
# default configuration for Hitachi sh1 processors |
# |
# Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de) |
# |
# gensh1.cfg,v 1.29 2001/11/15 16:55:00 joel Exp |
# |
|
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 |
|
# debug flags: typically none, but we use -O1 as it produces better code |
# CFLAGS_DEBUG_V = -O1 |
CFLAGS_DEBUG_V = |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V = -O4 |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
-Wl,-Map,$(basename $@).map \ |
$(LDLIBS) -o $@ \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
/gensh2.cfg
0,0 → 1,47
# |
# gensh2.cfg |
# |
# default configuration for Hitachi sh1 processors |
# |
# Authors: Ralf Corsepius (corsepiu@faw.uni-ulm.de) |
# |
# gensh2.cfg,v 1.17 2001/11/15 16:55:00 joel Exp |
# |
|
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 |
|
# debug flags: opt. is needed to fit in RAM. '-O1' has shown bad side- |
# effects by failing to set up some hardware I/O registers in |
# c/src/lib/libbsp/sh/gensh2/startup/hw_init.c (and perhaps elsewhere), |
# which prevented proper chip initialization and muted SCI1 output. |
CFLAGS_DEBUG_V = -O4 -g |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V = -O4 |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -Wl,-Map,$(basename $@).map \ |
$(LDLIBS) -o $@ \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
/i386ex.cfg
0,0 → 1,48
# |
# Config file for the i386ex BSP |
# |
# i386ex.cfg,v 1.21 2002/03/28 13:51:54 joel Exp |
# |
|
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 -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
# -fomit-frame-pointer breaks debugging and C++ exceptions |
CFLAGS_OPTIMIZE_V=-O4 |
|
# Something like this should produce a map file but this does not work. |
|
# -Xlinker "-Map $(basename $@).map" $(LINK_OBJS) |
# |
# This is a good way to get debug information. The rdmp file is large |
# though (1.9 Mb for hello) and greatly slows the build process. |
# $(OBJDUMP) -x -m i386 -d $(basename $@).coff > $(basename $@).rdmp |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).coff \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(OBJCOPY) -O srec $(basename $@).coff $(basename $@).i |
sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ |
$(PACKHEX) > $(basename $@).exe |
$(NM) -g -n $(basename $@).coff > $(basename $@).num |
$(SIZE) $(basename $@).coff |
endef |
|
# Miscellaneous additions go here |
|
/gensh4.cfg
0,0 → 1,51
# |
# gensh4.cfg |
# |
# default configuration for Hitachi SH7750 board |
# |
# Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia |
# Author: Victor V. Vengerov <vvv@oktet.ru> |
# |
# gensh4.cfg,v 1.4 2001/12/07 12:32:09 joel Exp |
# |
|
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 |
|
# debug flags: |
CFLAGS_DEBUG_V = -O0 -ggdb |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V = -O4 |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -Wl,-Map,$(basename $@).map \ |
$(LDLIBS) -o $@ \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
/cvme961.cfg
0,0 → 1,37
# |
# Config file for the Cyclone i960ca CVME961 BSP |
# |
# cvme961.cfg,v 1.20 2002/05/14 15:51:29 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=i960 |
RTEMS_CPU_MODEL=i960ca |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=cvme961 |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
CPU_CFLAGS=-mca |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
$(LDLIBS) -o $@ \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
|
/eth_comm.cfg
0,0 → 1,50
# |
# Config file for MPC860 based Ethernet Comm Board |
# |
# eth_comm.cfg,v 1.17 2002/08/02 00:08:01 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=powerpc |
RTEMS_CPU_MODEL=mpc8xx |
8XX_CPU_TYPE=860 |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=eth_comm |
RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new |
|
# PPC_ABI (PowerPC) |
# This defines the calling convention (Application Binary Interface) |
# used in this configuration. EABI is the only one supported. |
# This BSP was initially developed using the PowerOpen ABI. |
# |
# PPC_ASM (PowerPC) |
# This defines the assembly language format used in this configuration. |
# ELF is the only one supported. |
# |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
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 |
# -O4 is ok for RTEMS |
# NOTE: some level of -O may be actually required by inline assembler |
CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
|
/mvme162.cfg
0,0 → 1,45
# |
# Config file for the mvme162 BSP |
# |
# mvme162.cfg,v 1.20 2001/12/18 14:11:02 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=m68k |
|
RTEMS_MVME162_MODEL=mvme162 |
RTEMS_CPU_MODEL=m68040 |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=mvme162 |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
|
CPU_CFLAGS = -m68040 |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
-o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS) |
#$(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i |
#sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ |
# $(PACKHEX) > $(basename $@).exe |
$(OBJCOPY) -O binary $(basename $@).nxe $(basename $@).exe |
$(NM) -g -n $(basename $@).nxe > $(basename $@).num |
$(SIZE) $(basename $@).nxe |
endef |
|
# Miscellaneous additions go here |
|
# BSP-specific tools |
SLOAD=$(PROJECT_TOOLS)/sload |
/pc386dx.cfg
0,0 → 1,11
# |
# Configuration file for a PC using an i386 Class CPU w/o FPU |
# |
# pc386dx.cfg,v 1.1 2001/02/21 14:20:01 joel Exp |
# |
|
RTEMS_CPU_MODEL=i386dx |
CPU_CFLAGS = -msoft-float -mno-fp-ret-in-387 |
|
include $(RTEMS_ROOT)/make/custom/pc386.cfg |
|
/posix.cfg
0,0 → 1,35
# |
# Config file for the posix based RTEMS |
# |
# posix.cfg,v 1.8 2001/04/26 16:41:44 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/host.cfg |
|
# 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) |
# These should be available on all unices |
LIBC_LIBC=-lc |
LIBC_LIBM=-lm |
|
include $(RTEMS_ROOT)/make/custom/$(RTEMS_HOST)-posix.cfg |
|
# Not applicable - let's override 'em |
LINKCMDS= |
START_FILE= |
START_BASE= |
|
# 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 |
# |
# '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. |
# (NODE turns out to be a very common environment variable) |
ifeq (,$(NODE)) |
NODE=0 |
else |
ifeq "$(origin NODE)" "environment" |
NODE=0 |
endif |
endif |
/mvme167.cfg
0,0 → 1,81
# |
# Config file for the mvme167 BSP |
# |
# mvme167.cfg,v 1.17 2002/03/28 13:51:54 joel Exp |
# |
|
# THIS BSP USES ELF IMAGES. IT WILL NOT WORK WITH COFF UNLESS CHANGES |
# ARE MADE TO THE LINKCMDS FILE. |
|
RTEMS_CPU=m68k |
RTEMS_CPU_MODEL=m68040 |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=mvme167 |
|
# |
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. We also specify the BSP during compilation. |
# This should really get its own flag, but it works here. |
# |
|
CPU_CFLAGS = -m68040 |
|
# BSP specific preprocessor flags. |
# These should only be used in BSP dependent directories. |
# |
# CONSOLE_MINOR |
# Port to use for the RTEMS console |
# 0 - /dev/tty0, Serial Port 1/Console on the MVME712M. |
# 1 - /dev/tty1, Serial Port 2/TTY01 on the MVME712M. |
# 2 - /dev/tty2, Serial Port 3 on the MVME712M. |
# 3 - /dev/tty3, Serial Port 4 on the MVME712M. |
# |
# PRINTK_MINOR |
# Port to use for printk debugging output. |
# 0 - /dev/tty0, Serial Port 1/Console on the MVME712M. |
# 1 - /dev/tty1, Serial Port 2/TTY01 on the MVME712M. |
# 2 - /dev/tty2, Serial Port 3 on the MVME712M. |
# 3 - /dev/tty3, Serial Port 4 on the MVME712M. |
|
BSP_CPPFLAGS += -DCONSOLE_MINOR=1 -DPRINTK_MINOR=1 |
|
CFLAGS_DEBUG_V += -ggdb |
|
# optimize flag: typically -O, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 -fno-omit-frame-pointer |
|
# Here is the rule to actually build a $(ARCH)/foo.exe |
# It also builds $(ARCH)/foo.nm |
# Usage ref: src/tests/sptest/sp1/Makefile |
# |
# We use TFTP to transfer files to the MVME167. We generate binary files |
# rather than S-records. We skip the header during downloads. |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
# The MC68040 does not implement all MC68881/MC68882 instructions, so use |
# either the gcc floating-point software support (msoft-float libraries), or |
# use the Motorola FPSP floating-point emulator in |
# rtems/c/src/lib/libcpu/m68k/m68040/fpsp |
# The default is to use the FPSP. |
# To use the msoft-float libraries, uncomment the three lines below. |
# You then should comment the M68KFPSPInstallExceptionHandlers() statement |
# in rtems/c/src/lib/libbsp/m68k/mvme167/startup/bststart.c in bsp_start(). |
# Floating-point support will then be limited. See the mvme167 README file |
# for more details. |
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@)_sym.exe \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $(basename $@)_sym.exe > $(basename $@).nm |
cp $(basename $@)_sym.exe $(basename $@).exe |
$(STRIP) $(basename $@).exe |
$(SIZE) $(basename $@)_sym.exe |
endef |
|
# Miscellaneous additions go here |
/p4000.cfg
0,0 → 1,40
# |
# Config file for the algorithmics p4000 evaluation board |
# |
# p4000.cfg,v 1.18 2002/03/28 13:51:54 joel Exp |
# |
|
# NOTE: This file is shared between the mips and mips64orion |
# "ports". The following defines are needed by the mips64orion |
# but not the mips. |
ifeq ($(RTEMS_CPU),mips64orion) |
CPU_DEFINES+=-DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3 |
endif |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=p4000 |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
CPU_CFLAGS = -mips3 -G0 |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec1 |
$(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec |
$(RM) $(basename $@).srec1 |
$(NM) -n $(basename $@).exe > $(basename $@).num |
$(SIZE) $(basename $@).exe |
endef |
|
# Miscellaneous additions go here |
|
/mcf5206elite.cfg
0,0 → 1,39
# |
# Config file for a MCF5206eLITE board BSP |
# |
# Author: Victor V. Vengerov <vvv@oktet.ru> |
# |
# mcf5206elite.cfg,v 1.3 2002/03/28 13:51:54 joel Exp |
# |
|
RTEMS_CPU=m68k |
RTEMS_CPU_MODEL=mcf5206 |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=mcf5206elite |
|
# |
# You must use versions of gcc and gas that support the -m5200 option. |
# |
CPU_CFLAGS = -m5200 |
CPU_ASFLAGS = -m5200 |
ASFLAGS = -m5200 |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
/armulator.cfg
0,0 → 1,40
# |
# Config file for ARMulator |
# |
# armulator.cfg,v 1.5 2001/12/18 14:11:02 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=arm |
RTEMS_CPU_MODEL=arm7tdmi |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=armulator |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
#CPU_CFLAGS = -mcpu=arm7tdmi |
CPU_CFLAGS = |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
# NOTE2: some level of -O may be actually required by inline assembler (at least |
# -O2 so far. |
CFLAGS_OPTIMIZE_V= |
#CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align |
|
# debug flags: typically none, but at least -O1 is required due to this |
# BSP using inlined code |
CFLAGS_DEBUG_V = -O1 |
#CFLAGS_DEBUG_V = -O1 -mmultiple -mstring -mstrict-align |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $(basename $@).exe > $(basename $@).num |
$(SIZE) $(basename $@).exe |
endef |
|
# Miscellaneous additions go here |
/genmongoosev.cfg
0,0 → 1,37
# |
# Config file for "generic" Mongoose-V board |
# |
# genmongoosev.cfg,v 1.4 2002/03/28 13:51:54 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=mips |
RTEMS_CPU_MODEL=mongoosev |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=genmongoosev |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
CPU_CFLAGS=-mips1 -G0 |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O2 -g |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
$(LDLIBS) -o $@ \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
|
/p4600.cfg
0,0 → 1,47
# |
# Config file for the algorithmics p4000 evaluation board with R4600 cpu |
# |
# p4600.cfg,v 1.21 2002/06/14 17:31:20 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU_MODEL=R4600 |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=p4000 |
|
# gcc 2.95.x and 3.0 |
#CPU_CFLAGS = -m4600 -mips3 -G0 |
# gcc 3.1 and newer |
CPU_CFLAGS = -march=4600 -G0 |
CCMIPS_CFLAGS_CPU=-cpu=r4600 |
|
ifeq ($(RTEMS_CPU),mips64orion) |
CPU_DEFINES+=-DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3 |
endif |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
CPU_CFLAGS = -mips3 -G0 |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
-o $@ $(LINK_OBJS) $(LINK_LIBS) |
$(OBJCOPY) -O srec $@ $(basename $@).srec1 |
$(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec |
$(RM) $(basename $@).srec1 |
$(NM) -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
|
/Solaris-posix.cfg
0,0 → 1,37
# |
# Config file for the Solaris based RTEMS UNIX |
# |
# Solaris-posix.cfg,v 1.26 2002/01/04 18:08:57 joel Exp |
# |
|
RTEMS_CPU=unix |
RTEMS_CPU_FAMILY=sparc |
RTEMS_CPU_MODEL=sparc_v8 |
RTEMS_UNIX_FLAVOR=solaris |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=posix |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
# The following define the memory reserved in the executable for the |
# RTEMS Workspace and the C Program Heap. |
LIBC_DEFINES += -DWORKSPACE_MB=2 |
LIBC_DEFINES += -DHEAPSPACE_MB=1 |
LIBC_DEFINES +=-DRTEMS_UNIXLIB -DRTEMS_UNIX |
|
DEFINES += -D__EXTENSIONS__ -Dsolaris2 |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V = -O2 |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS) |
$(NM) -ng $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# ***************************************************************** |
|
# Miscellaneous additions go here |
/HPUX9-posix.cfg
0,0 → 1,43
# |
# Config file for HPUX running the posix bsp |
# |
# HPUX9-posix.cfg,v 1.23 2002/01/04 18:08:57 joel Exp |
# |
|
# Specify here the host and target "architectures" |
RTEMS_CPU=unix |
RTEMS_CPU_FAMILY=hppa1_1 |
RTEMS_CPU_MODEL=hppa7200 |
RTEMS_UNIX_FLAVOR=hpux |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=posix |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
# use the macros instead of the inline functions |
# The macros work better when mixed with other compilers. |
INLINE=macros |
INLINE_UPCASE=MACRO |
|
# RTEMS_LIBC_DIR must already be set (by configuration) DOES NOT MATTER |
LIBC_DEFINES=-DRTEMS_UNIXLIB -DRTEMS_UNIX |
|
# The following define the memory reserved in the executable for the |
# RTEMS Workspace and the C Program Heap. |
# NOTE: some of the timing tests need > 1M workspace |
LIBC_DEFINES += -DWORKSPACE_MB=2 |
LIBC_DEFINES += -DHEAPSPACE_MB=1 |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V = -O2 |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS) |
$(NM) -ng $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
|
/leon1.cfg
0,0 → 1,12
# |
# Config file for the European Space Agency LEON SPARC processor. |
# |
# leon1.cfg,v 1.1 2000/11/13 22:48:24 joel Exp |
# |
|
# LEON without FPU |
|
RTEMS_CPU_MODEL=leon1 |
|
include $(RTEMS_ROOT)/make/custom/leon2.cfg |
|
/leon2.cfg
0,0 → 1,42
# |
# Config file for the European Space Agency ERC32 SPARC processor. |
# |
# leon2.cfg,v 1.6 2002/04/03 14:16:20 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=sparc |
|
ifeq ($(RTEMS_CPU_MODEL),leon1) |
MSOFT_FLOAT = -msoft-float |
else |
RTEMS_CPU_MODEL=leon2 |
endif |
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=leon |
|
# The -mflat avoids the use of save/restore instructions. It has |
# a negative impact on the performance of RTEMS and should not be used. |
|
# This had been used with gcc-2.7.2 |
# CPU_CFLAGS = -mno-v8 -mcypress $(MSOFT_FLOAT) |
# -mcpu=cypress says to optimize for a Cypress 60x chipset |
CPU_CFLAGS = -mcpu=cypress $(MSOFT_FLOAT) |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $(basename $@).exe > $(basename $@).num |
$(SIZE) $(basename $@).exe |
endef |
# Miscellaneous additions go here |
|
/no_bsp.cfg
0,0 → 1,23
# |
# Configuration file for the "no_bsp" board |
# |
# no_bsp.cfg,v 1.8 1999/08/06 17:55:20 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=no_cpu |
RTEMS_CPU_MODEL=no_cpu_model |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=no_bsp |
|
# Define this to yes if C++ is included in the development environment. |
# This requires that at least the GNU C++ compiler and libg++ be installed. |
# |
# Need "main" in BSP so can't link C++ sample test or you will get |
# duplicate symbol errors for main |
# |
HAS_CPLUSPLUS=no |
|
# Miscellaneous additions go here |
/dmv177.cfg
0,0 → 1,40
# |
# Config file for a PowerPC 603e based DY-4 VMEbus Single Board Computer. |
# This BSP should work with the following models: |
# |
# + SVME-171/DMV-171 |
# + SVME-176/DMV-176 |
# |
# dmv177.cfg,v 1.24 2002/05/14 15:51:29 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=powerpc |
RTEMS_CPU_MODEL=ppc603e |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=dmv177 |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
CPU_CFLAGS = -mcpu=603e -D_OLD_EXCEPTIONS -Dppc603e |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
# NOTE: some level of -O may be actually required by inline assembler |
CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
-o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS) |
$(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i |
sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ |
$(PACKHEX) > $(basename $@).exe |
$(NM) -g -n $(basename $@).nxe > $(basename $@).num |
$(SIZE) $(basename $@).nxe |
$(STRIP) $(basename $@).nxe |
endef |
|
# Miscellaneous additions go here |
/sim68000.cfg
0,0 → 1,34
# |
# Config file for a BSVC m68k simulator |
# |
# sim68000.cfg,v 1.7 2002/03/28 13:51:54 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=m68k |
RTEMS_CPU_MODEL=m68000 |
CPU_CFLAGS = -m68000 |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=sim68000 |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer |
|
# debugging please |
CFLAGS_DEBUG_V = |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
-o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS) |
$(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).exe |
$(NM) -g -n $(basename $@).nxe > $(basename $@).num |
$(SIZE) $@ |
endef |
# Miscellaneous additions go here |
/h8sim.cfg
0,0 → 1,38
# |
# Config file for the i960 simulator in gdb |
# |
# h8sim.cfg,v 1.6 2002/01/06 20:09:43 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=h8300 |
RTEMS_CPU_MODEL=h8300h |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=h8sim |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
CPU_CFLAGS=-mh -mint32 |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
# CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures |
CFLAGS_OPTIMIZE_V=-O0 |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
$(LDLIBS) -o $@ \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
|
/portsw.cfg
0,0 → 1,25
# |
# Custom file for "portsw" -- AMD 29205 based board |
# |
# portsw.cfg,v 1.13 2002/03/28 13:51:54 joel Exp |
# |
|
# Note: This file is broken for sure |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=a29k |
RTEMS_CPU_MODEL=a29205 |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=portsw |
|
define make-exe |
$(LINK.c) -Wl,-Map,$(basename $@).map \ |
$(LDLIBS) -o $@ \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
/mvme136.cfg
0,0 → 1,39
# |
# Config file for the mvme136 BSP |
# |
# mvme136.cfg,v 1.17 2002/08/01 23:51:16 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=m68k |
RTEMS_CPU_MODEL=m68020 |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=mvme136 |
|
# |
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
CPU_CFLAGS = |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i |
sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ |
$(PACKHEX) > $(basename $@).exe |
$(NM) -g -n $(basename $@).nxe > $(basename $@).num |
$(SIZE) $(basename $@).nxe |
endef |
# Miscellaneous additions go here |
|
/orp.cfg
0,0 → 1,22
# |
# Configuration file for the "bender" chip which is simulated |
# by or1ksim. |
# |
# orp.cfg,v 1.2 2002/08/07 16:18:31 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=or32 |
RTEMS_CPU_MODEL=or1k_model |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=orp |
|
# Miscellaneous additions go here |
define make-exe |
$(LINK.c) -W,l$(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \ |
$(LINK_OBJS) $(LINK_LIBS) -W,l -e ___rst |
$(NM) -n $(basename $@).exe > $(basename $@).num |
$(SIZE) $(basename $@).exe |
endef |
/mbx821_001.cfg
0,0 → 1,13
# |
# Config file for a PowerPC MPC860-based MBX821-001 card. |
# |
|
# |
# All MBX8xx configurations share the same base file, only a few |
# parameters differ. |
# |
|
RTEMS_MBX_MODEL=mbx821_001 |
8XX_CPU_TYPE=821 |
|
include $(RTEMS_ROOT)/make/custom/mbx8xx.cfg |
/simhppa.cfg
0,0 → 1,92
# |
# Config file for the 7100 pa-risc simulator |
# |
# simhppa.cfg,v 1.20 2002/03/28 13:51:54 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=hppa1.1 |
RTEMS_CPU_MODEL=hppa7200 |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=simhppa |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
# Possibles: |
# -mpa-risc-1-1 -- HPPA 1.1 instead of 1.0 |
# -mportable-runtime |
# |
CPU_CFLAGS = -mpa-risc-1-1 -mportable-runtime |
|
# Possibles: |
# -Wall -- lots of warnings |
# -pipe -- compiler uses pipes to talk to phases (usually faster) |
# -mgas -- we are using gas as assembler |
# -fno-keep-inline-functions -- do not emit any inlines as static |
CFLAGS_DEFAULT = $(CPU_CFLAGS) -Wall -mgas |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
# NOTE: some level of -O may be actually required by inline assembler |
CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions |
|
# GNU ld options |
# `-Tbss ORG' |
# `-Tdata ORG' |
# `-Ttext ORG' |
# Use ORG as the starting address for--respectively--the `bss', |
# `data', or the `text' segment of the output file. ORG must be a |
# single hexadecimal integer; for compatibility with other linkers, |
# you may omit the leading `0x' usually associated with hexadecimal |
# values. |
|
# '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. |
# (NODE turns out to be a very common environment variable) |
ifeq (,$(NODE)) |
NODE=0 |
else |
ifeq "$(origin NODE)" "environment" |
NODE=0 |
endif |
endif |
|
# XXX some/all of this should move into 'linkcmds' |
# single processor |
DATA_0_BASE=0x40001000 |
TEXT_0_BASE=0x00001000 |
|
# first node (mptests number them from 1) |
DATA_1_BASE=$(DATA_0_BASE) |
TEXT_1_BASE=$(TEXT_0_BASE) |
|
# second node (mptests number them from 1) |
DATA_2_BASE=0x48001000 |
TEXT_2_BASE=0x08001000 |
|
# for hpux ld |
#LD_LOC_OPTIONS=-D $(DATA_$(NODE)_BASE) -R $(TEXT_$(NODE)_BASE) |
# for gnu ld |
LD_LOC_OPTIONS=-Tdata $(DATA_$(NODE)_BASE) -Ttext $(TEXT_$(NODE)_BASE) |
GCC_LD_LOC_OPTIONS=-W,l-T -W,ldata -W,l$(DATA_$(NODE)_BASE) \ |
-W,l-T -W,ltext -W,l$(TEXT_$(NODE)_BASE) |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) $(GCC_LD_LOC_OPTIONS) \ |
-o $@ \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
|
# BSP-specific tools |
PRINTDUMP=$(PROJECT_TOOLS)/print_dump |
/pc386.cfg
0,0 → 1,94
# |
# Config file for the PC 386 BSP |
# |
# pc386.cfg,v 1.32 2002/03/28 13:51:54 joel Exp |
# |
|
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. |
# CPU_CFLAGS = |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
# -fomit-frame-pointer breaks debugging and C++ exceptions |
CFLAGS_OPTIMIZE_V=-O4 |
|
# 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 |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -Wl,-Ttext,$(RELOCADDR) \ |
-o $(basename $@).obj \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(OBJCOPY) -O elf32-i386 \ |
--remove-section=.rodata \ |
--remove-section=.comment \ |
--remove-section=.note \ |
--strip-unneeded $(basename $@).obj $@ |
$(OBJCOPY) -O binary $(basename $@).obj $(basename $@).bin |
$(PROJECT_TOOLS)/bin2boot -v $(basename $@).bt $(HEADERADDR)\ |
$(START16FILE) $(START16ADDR) 0 $(basename $@).bin $(RELOCADDR) 0 |
$(NM) -g -n $(basename $@).obj > $(basename $@).num |
$(SIZE) $(basename $@).obj |
# test -d ${PROJECT_RELEASE}/BootImgs \ |
# || mkdir ${PROJECT_RELEASE}/BootImgs |
# f=`basename $@ .exe`; \ |
# cp $(basename $@).bt \ |
# ${PROJECT_RELEASE}/BootImgs/$${f}$(LIB_VARIANT).bt \ |
# && chmod 755 \ |
# ${PROJECT_RELEASE}/BootImgs/$${f}$(LIB_VARIANT).bt |
# $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -Wl,-Ttext,$(RELOCADDR) \ |
# -o $@ $(LINK_OBJS) $(LINK_LIBS) |
endef |
define make-cxx-exe |
$(LINK.cc) $(AM_CFLAGS) $(AM_CXXFLAGS) $(AM_LDFLAGS) \ |
-Wl,-Ttext,$(RELOCADDR) -o $(basename $@).obj \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(OBJCOPY) -O elf32-i386 \ |
--remove-section=.rodata \ |
--remove-section=.comment \ |
--remove-section=.note \ |
--strip-unneeded $(basename $@).obj $@ |
$(OBJCOPY) -O binary $(basename $@).obj $(basename $@).bin |
$(PROJECT_TOOLS)/bin2boot -v $(basename $@).bt $(HEADERADDR)\ |
$(START16FILE) $(START16ADDR) 0 $(basename $@).bin $(RELOCADDR) 0 |
$(NM) -g -n $(basename $@).obj > $(basename $@).num |
$(SIZE) $(basename $@).obj |
endef |
|
# Miscellaneous additions go here |
|
# BSP-specific tools |
BIN2BOOT=$(PROJECT_TOOLS)/bin2boot |
/pc586.cfg
0,0 → 1,14
# |
# Configuration file for a PC using a Pentium Class CPU |
# |
# pc586.cfg,v 1.3 2002/07/24 13:31:21 joel Exp |
# |
|
RTEMS_CPU_MODEL=pentium |
# gcc 2.95.x and 3.0 |
#CPU_CFLAGS = -mpentium |
# gcc 3.1 and newer |
CPU_CFLAGS=-mcpu=pentium |
|
include $(RTEMS_ROOT)/make/custom/pc386.cfg |
|
/mbx860_002.cfg
0,0 → 1,13
# |
# Config file for a PowerPC MPC860-based MBX860-002 card. |
# |
|
# |
# All MBX8xx configurations share the same base file, only a few |
# parameters differ. |
# |
|
RTEMS_MBX_MODEL=mbx860_002 |
8XX_CPU_TYPE=860 |
|
include $(RTEMS_ROOT)/make/custom/mbx8xx.cfg |
/simsh4.cfg
0,0 → 1,51
# |
# simsh4.cfg |
# |
# default configuration for Hitachi SH4 architecture simulator |
# |
# Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia |
# Author: Victor V. Vengerov <vvv@oktet.ru> |
# |
# simsh4.cfg,v 1.5 2002/03/28 13:51:54 joel Exp |
# |
|
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=simsh4 |
|
# |
# 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 -ml |
# |
# It works with SH4_FPSCR_PR bit set |
CPU_CFLAGS= -m4 -ml |
|
|
# debug flags: |
CFLAGS_DEBUG_V = -O0 -ggdb |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V = -O4 |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -Wl,-Map,$(basename $@).map \ |
$(LDLIBS) -o $@ \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
/bare.cfg
0,0 → 1,41
# |
# Config file for the "bare" BSP |
# |
# bare.cfg,v 1.10 2001/12/07 12:32:09 joel Exp |
# |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=bare |
|
RTEMS_BSP=bare |
|
RTEMS_CPU_MODEL=$(BARE_CPU_MODEL) |
|
CPU_CFLAGS=$(BARE_CPU_CFLAGS) |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer |
|
# this target has no start file |
START_BASE= |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
@echo "*** Cannot do a link with the bare bsp. ***" |
@echo "#!/bin/sh" > $(basename $@).exe |
@echo "echo \"Cannot do a link with the bare bsp.\"" >> $(basename $@).exe |
endef |
|
define make-cxx-exe |
@echo "*** Cannot do a link with the bare bsp. ***" |
@echo "#!/bin/sh" > $(basename $@).exe |
@echo "echo \"Cannot do a link with the bare bsp.\"" >> $(basename $@).exe |
endef |
|
# Miscellaneous additions go here |
/score603e.cfg
0,0 → 1,44
# |
# Config file for a PowerPC 603e based Vista VMEbus Single Board Computer. |
# This BSP should work with the following models: |
# |
# + Vista SCORE 603e |
# |
# score603e.cfg,v 1.15 2002/05/14 15:51:29 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=powerpc |
RTEMS_CPU_MODEL=ppc603e |
|
# This is the actual bsp directory used during the build process. |
|
RTEMS_BSP_FAMILY=score603e |
|
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
CPU_CFLAGS = -mcpu=603e -D_OLD_EXCEPTIONS -Dppc603e |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
# NOTE: some level of -O may be actually required by inline assembler |
CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions |
# CFLAGS_OPTIMIZE_V=-O0 |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
-o $(basename $@).elf $(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $(basename $@).elf > $(basename $@).num |
$(SIZE) $(basename $@).elf |
$(OBJCOPY) -O srec $(basename $@).elf $(basename $@).s1 |
sed -e 's/.$$//' $(basename $@).s1 | \ |
$(PACKHEX) >$(basename $@).exe |
rm -f $(basename $@).s1 |
endef |
|
# Miscellaneous additions go here |
|
DRIVER_ARCHITECTURE=vmebus |
/mbx860_005b.cfg
0,0 → 1,18
# |
# Config file for a PowerPC MPC860-based MBX860-005b card. |
# |
|
# |
# All MBX8xx configurations share the same base file, only a few |
# parameters differ. |
# |
|
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 |
|
RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new |
|
include $(RTEMS_ROOT)/make/custom/mbx8xx.cfg |
/mcp750.cfg
0,0 → 1,52
# |
# Config file for Motorola MCP750 -- a MPC750 CompactPCI board |
# |
# mcp750.cfg,v 1.24 2002/04/18 13:07:35 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU=powerpc |
RTEMS_CPU_MODEL=mpc750 |
RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=motorola_powerpc |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# |
# NOTE : cheking egcc 1.1.1 source code shows that the last know processor |
# is the 604 model and that this is the default generation option. |
# |
CPU_CFLAGS = -mcpu=750 -Dmpc750 |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
# NOTE2: some level of -O may be actually required by inline assembler (at least |
# -O2 so far. |
# NOTE2 Apparently nobody really knows the status or r2 and r13. |
# As far as I know, small data are pointer impose a very specific compliation |
# model => not used. |
# Currently the sdata2 and sbss2 sections are empty => r2 is not used... |
CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align |
#CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions -fvolatile-global -fvolatile -mstrict-align -mcpu=750 |
|
# debug flags: typically none, but at least -O1 is required due to this |
# BSP using inlined code |
CFLAGS_DEBUG_V = -O1 -mmultiple -mstring -mstrict-align |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
-o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $(basename $@).nxe > $(basename $@).num |
$(SIZE) $(basename $@).nxe |
$(OBJCOPY) $(basename $@).nxe rtems -O binary -R .comment -S |
gzip -vf9 rtems |
$(LD) -o $@ $(PROJECT_RELEASE)/lib/bootloader.o --just-symbols=$(basename $@).nxe \ |
-b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \ |
-Map $(basename $@).map && chmod 755 $@ |
rm -f rtems.gz |
endef |
|
# Miscellaneous additions go here |
/Makefile.am
0,0 → 1,23
## |
## Makefile.am,v 1.10 2002/03/28 00:54:29 joel Exp |
## |
|
|
rtems_makedir = $(prefix)/make |
rtems_make_customdir = $(rtems_makedir)/custom |
|
rtems_make_custom_DATA = default.cfg |
|
EXTRA_DIST = Cygwin-posix.cfg FreeBSD-posix.cfg HPUX9-posix.cfg \ |
Linux-posix.cfg Solaris-posix.cfg bare.cfg cvme961.cfg dmv152.cfg \ |
dmv177.cfg efi332.cfg efi68k.cfg erc32.cfg erc32nfp.cfg eth_comm.cfg \ |
gen68302.cfg gen68340.cfg gen68360.cfg gen68360_040.cfg gensh1.cfg \ |
helas403.cfg i386ex.cfg idp.cfg jmr3904.cfg leon1.cfg leon2.cfg \ |
mcp750.cfg mvme136.cfg mvme147.cfg mvme147s.cfg \ |
mvme162.cfg mvme162lx.cfg mvme167.cfg mvme2307.cfg no_bsp.cfg \ |
ods68302.cfg p4000.cfg p4600.cfg p4650.cfg pc386.cfg \ |
portsw.cfg posix.cfg ppcn_60x.cfg psim.cfg score603e.cfg shsim.cfg \ |
simhppa.cfg ts_386ex.cfg |
|
## ------------------------------------------------------- |
include $(top_srcdir)/automake/host.am |
/p4650.cfg
0,0 → 1,45
# |
# Config file for the algorithmics p4000 evaluation board with R4650 cpu |
# |
# p4650.cfg,v 1.22 2002/07/01 22:08:39 joel Exp |
# |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
RTEMS_CPU_MODEL=R4650 |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=p4000 |
|
CCMIPS_CFLAGS_CPU=-cpu=r4650 |
|
ifeq ($(RTEMS_CPU),mips64orion) |
CPU_DEFINES+=-DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3 |
endif |
|
# This contains the compiler options necessary to select the CPU model |
# and (hopefully) optimize for it. |
# gcc 2.95.x and 3.0 |
#CPU_CFLAGS = -m4650 -mips3 -G0 |
# gcc 3.1 and newer |
CPU_CFLAGS = -mcpu=4650 -G0 -mips3 |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \ |
$(LINK_OBJS) $(LINK_LIBS) $(LD_LIBS) |
$(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec1 |
$(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec |
$(RM) $(basename $@).srec1 |
$(NM) -n $(basename $@).exe > $(basename $@).num |
$(SIZE) $(basename $@).exe |
endef |
|
# Miscellaneous additions go here |
/gen68360.cfg
0,0 → 1,44
# |
# Config file for a "generic 68360" BSP |
# |
# gen68360.cfg,v 1.24 2002/08/06 20:15:43 joel Exp |
# |
|
RTEMS_CPU=m68k |
|
ifeq ($(RTEMS_GEN68360_COMPANION_MODE),yes) |
RTEMS_CPU_MODEL=m68040 |
else |
RTEMS_CPU_MODEL=m68360 |
endif |
|
include $(RTEMS_ROOT)/make/custom/default.cfg |
|
# This is the actual bsp directory used during the build process. |
RTEMS_BSP_FAMILY=gen68360 |
|
# |
# You must use versions of gcc and gas that support the -mcpu32 option. |
# |
ifeq ($(RTEMS_GEN68360_COMPANION_MODE),yes) |
CPU_CFLAGS= -m68040 |
else |
CPU_CFLAGS = -mcpu32 |
endif |
|
# optimize flag: typically -0, could use -O4 or -fast |
# -O4 is ok for RTEMS |
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer |
|
# The following are definitions of make-exe which will work using ld as |
# is currently required. It is expected that as of gcc 2.8, the end user |
# will be able to override parts of the compilers specs and link using gcc. |
|
define make-exe |
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \ |
$(LINK_OBJS) $(LINK_LIBS) |
$(NM) -g -n $@ > $(basename $@).num |
$(SIZE) $@ |
endef |
|
# Miscellaneous additions go here |
.
Property changes :
Added: svn:ignore
## -0,0 +1,3 ##
+Makefile
+Makefile.in
+bare-*.cfg