2001-01-03 Emmanuel Raguet <raguet@crf.canon.fr>

* custom/mcp750.cfg (make-exe): Rewrite to avoid writing to
	install point or assuming BSP build tree is available.
This commit is contained in:
Joel Sherrill
2001-01-03 18:46:31 +00:00
parent c2bbfb5255
commit fdfa5b9f5c
2 changed files with 15 additions and 13 deletions

View File

@@ -1,4 +1,9 @@
2001-01-03 Emmanuel Raguet <raguet@crf.canon.fr>
* custom/mcp750.cfg (make-exe): Rewrite to avoid writing to
install point or assuming BSP build tree is available.
2001-01-03 Joel Sherrill <joel@OARcorp.com> 2001-01-03 Joel Sherrill <joel@OARcorp.com>
* custom/psim.cfg: Removed unused variables. * custom/psim.cfg: Removed unused variables.

View File

@@ -76,18 +76,15 @@ CFLAGS_DEBUG_V = -O1 -mmultiple -mstring -mstrict-align
# -Wl,-\( -Wl,-lc -Wl,-lrtemsall -Wl,-lgcc -Wl,-\) # -Wl,-\( -Wl,-lc -Wl,-lrtemsall -Wl,-lgcc -Wl,-\)
define make-exe define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
-o $@ $(LINK_OBJS) $(LINK_LIBS) -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
$(NM) -g -n $@ > $(basename $@).num $(NM) -g -n $(basename $@).nxe > $(basename $@).num
$(SIZE) $@ $(SIZE) $(basename $@).nxe
test -d ${PROJECT_RELEASE}/bin || mkdir ${PROJECT_RELEASE}/bin $(OBJCOPY) $(basename $@).nxe rtems -O binary -R .comment -S
cp $@ $(PROJECT_ROOT)/c/mcp750/lib/libbsp/powerpc/$(RTEMS_BSP_FAMILY)/bootloader/$(ARCH); \ gzip -vf9 rtems
( cd $(PROJECT_ROOT)/c/mcp750/lib/libbsp/powerpc/$(RTEMS_BSP_FAMILY)/bootloader; \ $(LD) -o $@ $(PROJECT_RELEASE)/lib/bootloader.o --just-symbols=$(basename $@).nxe \
$(MAKE) bootloader BINARY_LOADED=$@; ) -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
f=`basename $@ .exe`; \ -Map $(basename $@).map && chmod 755 $@
cp $(PROJECT_ROOT)/c/mcp750/lib/libbsp/powerpc/$(RTEMS_BSP_FAMILY)/bootloader/bootloader \ rm -f rtems.gz
${PROJECT_RELEASE}/bin/$${f}$(LIB_VARIANT).exe \
&& chmod 755 \
${PROJECT_RELEASE}/bin/$${f}$(LIB_VARIANT).exe
endef endef
# Miscellaneous additions go here # Miscellaneous additions go here