diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-11-14 18:43:32 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-11-14 18:43:32 +0000 |
commit | 7409426d8792168f7d7a8645cae8b0bb22ba7b01 (patch) | |
tree | ab6c196906fc54effe756caf6f3a0d73237ccdcf /make/custom/mvme2307.cfg | |
parent | 2001-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-7409426d8792168f7d7a8645cae8b0bb22ba7b01.tar.bz2 |
2001-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* custom/shsim.cfg: Remove HZ, BSP_CPPFLAGS, make-target-options.
* custom/mvme2307.cfg: Fix PPC_USE_SPRG in make-target-options,
re-adopt mcp750.cfg's make-exe.
Diffstat (limited to '')
-rw-r--r-- | make/custom/mvme2307.cfg | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/make/custom/mvme2307.cfg b/make/custom/mvme2307.cfg index 62716fd521..2b54aed370 100644 --- a/make/custom/mvme2307.cfg +++ b/make/custom/mvme2307.cfg @@ -31,7 +31,7 @@ define make-target-options @echo "#define PPCN_60X_USE_NONE 1" >>$@ @echo "#define PPC_USE_DATA_CACHE 1" >>$@ @echo "#define PPC_VECTOR_FILE_BASE 0x0100" >>$@ - @echo "#define PPC_USE_SPRG 1" + @echo "#define PPC_USE_SPRG 1" >>$@ endef # This contains the compiler options necessary to select the CPU model @@ -66,20 +66,16 @@ CFLAGS_PROFILE_V = -O1 # $(LD_LIBS) \ # -Wl,-\( -Wl,-lc -Wl,-lrtemsall -Wl,-lgcc -Wl,-\) define make-exe - $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS) - $(NM) -g -n $@ > $(basename $@).num - $(SIZE) $@ -# The following commands make a bootable image but will not work outside -# the build tree. -# test -d ${PROJECT_RELEASE}/bin || mkdir ${PROJECT_RELEASE}/bin -# cp $@ $(PROJECT_ROOT)/powerpc-rtems/c/mvme2307/lib/libbsp/powerpc/$(RTEMS_BSP_FAMILY)/bootloader/$(ARCH); \ -# ( cd $(PROJECT_ROOT)/powerpc-rtems/c/mvme2307/lib/libbsp/powerpc/$(RTEMS_BSP_FAMILY)/bootloader; \ -# $(MAKE) bootloader BINARY_LOADED=$@; ) -# f=`basename $@ .exe`; \ -# cp $(PROJECT_ROOT)/powerpc-rtems/c/mvme2307/lib/libbsp/powerpc/$(RTEMS_BSP_FAMILY)/bootloader/bootloader \ -# ${PROJECT_RELEASE}/bin/$${f}$(LIB_VARIANT).exe \ -# && chmod 755 \ -# ${PROJECT_RELEASE}/bin/$${f}$(LIB_VARIANT).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 |