2008-08-12 Joel Sherrill <joel.sherrill@OARcorp.com>

* custom/hurricane.cfg, custom/simsh4.cfg: Now build and link class
	examples.
This commit is contained in:
Joel Sherrill
2008-08-13 13:47:49 +00:00
parent 3c5939074c
commit c657ad5b9f
3 changed files with 9 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
2008-08-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* custom/hurricane.cfg, custom/simsh4.cfg: Now build and link class
examples.
2008-08-11 Joel Sherrill <joel.sherrill@OARcorp.com> 2008-08-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* custom/rbtx4925.cfg, custom/rbtx4938.cfg: Fix so all C++ example code * custom/rbtx4925.cfg, custom/rbtx4938.cfg: Fix so all C++ example code

View File

@@ -22,8 +22,8 @@ CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
# is currently required. # is currently required.
define make-exe define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ $(LINK.c) $(CPU_CFLAGS) $(CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
-o $@ -Xlinker -Map -Xlinker $(basename $@).map $(LINK_OBJS) $(LINK_LIBS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
$(OBJCOPY) -O srec $@ $(basename $@).srec1 $(OBJCOPY) -O srec $@ $(basename $@).srec1
$(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec $(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec
$(RM) $(basename $@).srec1 $(RM) $(basename $@).srec1

View File

@@ -36,9 +36,8 @@ CFLAGS_OPTIMIZE_V = -O2 -g
# is currently required. # is currently required.
define make-exe define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -Wl,-Map,$(basename $@).map \ $(LINK.c) $(CPU_CFLAGS) $(CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
$(LDLIBS) -o $@ \ $(LDLIBS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
$(LINK_OBJS) $(LINK_LIBS)
$(NM) -g -n $@ > $(basename $@).num $(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@ $(SIZE) $@
endef endef