diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-04-05 18:24:48 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-04-05 18:24:48 +0000 |
commit | bb734ccaa87d48a19c2819debb6111e88cb7ced8 (patch) | |
tree | d3a88b867f2b5d6c41f52bc289c1453241654523 /make | |
parent | This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'. (diff) | |
download | rtems-bb734ccaa87d48a19c2819debb6111e88cb7ced8.tar.bz2 |
Patch from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
to update the mvme167 BSP and account for the fact that RAM base
does not have to start at 0.
Diffstat (limited to 'make')
-rw-r--r-- | make/custom/mvme167.cfg | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/make/custom/mvme167.cfg b/make/custom/mvme167.cfg index 78853bd3a4..df47822c73 100644 --- a/make/custom/mvme167.cfg +++ b/make/custom/mvme167.cfg @@ -4,6 +4,9 @@ # $Id$ # +# 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 @@ -14,10 +17,12 @@ RTEMS_BSP_FAMILY=mvme167 # # This contains the compiler options necessary to select the CPU model -# and (hopefully) optimize for it. +# 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 +CPU_CFLAGS = -m68040 -DRTEMS_BSP=$(RTEMS_BSP) +CFLAGS_DEBUG_V += -ggdb # optimize flag: typically -O, could use -O4 or -fast # -O4 is ok for RTEMS @@ -33,11 +38,21 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # # RTEMS_DEBUG (RTEMS) # If defined, debug checks in RTEMS and support library code are enabled. +# +# CD2401_INT_LEVEL +# Interrupt level for the CD2401. +# +# CD2401_POLLED_IO +# 0 for interrupt-driven, 1 for polled I/O. define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ @echo "/* #define RTEMS_DEBUG 1 */" >>$@ + @echo "#define CD2401_INT_LEVEL 1" >>$@ + @echo "#define CD2401_POLLED_IO 1" >>$@ + + endef # Here is the rule to actually build a $(ARCH)/foo.exe @@ -79,7 +94,8 @@ define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \ $(LINK_OBJS) $(LINK_LIBS) $(NM) -g -n $@ > $(basename $@).nm - $(SIZE) $@ + $(STRIP) -o $(basename $@) $@ + $(SIZE) $(basename $@).exe endef endif |