Changeset 6087a692 in rtems for make/custom/gensh4.cfg


Ignore:
Timestamp:
Mar 6, 2008, 9:51:01 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, 5, master
Children:
97a40898
Parents:
44cc441
Message:

Make all BSPs use the same rules for invoking gcc and g++ to link an application. Share as much logic as possible for .num file and size information. Let BSPs provide custom rules to tranform executable from linked .exe to downloadable RTEMS Application Loadable File (RALF) .ralf file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • make/custom/gensh4.cfg

    r44cc441 r6087a692  
    3232# optimize flag: typically -O2
    3333CFLAGS_OPTIMIZE_V = -O2 -g
    34 
    35 # The following are definitions of make-exe which will work using ld as
    36 # is currently required.
    37 
    38 define make-exe
    39         $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -Wl,-Map,$(basename $@).map \
    40             $(LDLIBS) -o $@ \
    41             $(LINK_OBJS) $(LINK_LIBS)
    42         $(NM) -g -n $@ > $(basename $@).num
    43         $(SIZE) $@
    44 endef
    45 
    46 # Miscellaneous additions go here
Note: See TracChangeset for help on using the changeset viewer.