forked from Imagelibrary/rtems
2001-11-13 Joel Sherrill <joel@OARcorp.com>
* custom/helas403.cfg, custom/gen405.cfg: Removed dependency on the --srec-len argument to objcopy only supported in binutils 2.11 or newer.
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
|
||||
2001-11-13 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* custom/helas403.cfg, custom/gen405.cfg: Removed dependency on
|
||||
the --srec-len argument to objcopy only supported in binutils 2.11
|
||||
or newer.
|
||||
|
||||
2001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se>
|
||||
|
||||
This modification is part of the submitted modifications necessary to
|
||||
|
||||
@@ -66,17 +66,19 @@ define make-exe
|
||||
$(SIZE) $@
|
||||
endef
|
||||
else
|
||||
# $(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec
|
||||
define make-exe
|
||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
|
||||
$(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec
|
||||
$(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
|
||||
$(NM) -g -n $@ > $(basename $@).num
|
||||
$(SIZE) $@
|
||||
endef
|
||||
endif
|
||||
|
||||
# $(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 --srec-len 120 $(basename $@).exe $(basename $@).srec
|
||||
$(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
|
||||
$(NM) -g -n $@ > $(basename $@).num
|
||||
$(SIZE) $@
|
||||
endef
|
||||
|
||||
@@ -60,15 +60,16 @@ define make-exe
|
||||
--defsym __fini=0 --defsym __init=0 \
|
||||
-o $@ -u atexit -u __vectors -u download_entry \
|
||||
$(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
|
||||
$(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec
|
||||
$(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
|
||||
$(NM) -g -n $@ > $(basename $@).num
|
||||
$(SIZE) $@
|
||||
endef
|
||||
else
|
||||
# $(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec
|
||||
define make-exe
|
||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
|
||||
$(LINK_OBJS) $(LINK_LIBS)
|
||||
$(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec
|
||||
$(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
|
||||
$(NM) -g -n $@ > $(basename $@).num
|
||||
$(SIZE) $@
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user