Changeset 226ea52 in rtems for make


Ignore:
Timestamp:
Oct 27, 1999, 7:24:26 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
10eb06e8
Parents:
4b42e20
Message:

Updated to be more like cvme961.cfg.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • make/custom/rxgen960.cfg

    r4b42e20 r226ea52  
    2222# the GCC 2.4.5 shipped with Intel Release 2.4.
    2323
    24 
    25 # we don't suuport libc dir* functions right now.
    26 RTEMS_USE_NEWLIB=yes
    27 
    2824# optimize flag: typically -0, could use -O4 or -fast
    2925# -O4 is ok for RTEMS
    3026CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures
    31 
    32 # Define this to yes if this target supports multiprocessor environments.
    33 HAS_MP=yes
    34 
    35 # This target does NOT support the TCP/IP stack so ignore requests
    36 # to enable it.
    37 HAS_NETWORKING=no
    3827
    3928#  This section makes the target dependent options file.
     
    6756# LD_LIBS += $(PROJECT_RELEASE)/lib/libbsp.a
    6857
     58ifeq ($(RTEMS_USE_GCC272),yes)
    6959define make-exe
    70         cp $(PROJECT_ROOT)/c/src/lib/libbsp/i960/rxgen960/startup/o-rxgen960/*.o .
    71         $(LD) -u _sbrk $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \
    72              $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
     60        @echo "rxgen960 does not support this gcc 2.7.2"
     61        exit 1
     62endef
     63else
     64define make-exe
     65        $(CXX) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).exe \
     66            $(LINK_OBJS) $(LINK_LIBS)
    7367        $(NM) -g -n $(basename $@).exe > $(basename $@).num
    74         $(LD) -u _sbrk $(LDFLAGS) -oformat binary -Map $(basename $@).map -N -T $(LINKCMDS) -o $(basename $@).bin \
    75              $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
     68        $(OBJCOPY) -oformat binary $(basename $@).exe $(basename $@).bin
    7669        $(SIZE) $(basename $@).exe
    77         rm -f *.o
    7870endef
    79 
    80 # else
    81 # define make-exe
    82 #       $(CC) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).exe \
    83 #           $(LINK_OBJS) $(LINK_LIBS)
    84 #       $(NM) -g -n $(basename $@).exe > $(basename $@).num
    85 #       $(SIZE) $(basename $@).exe
    86 # endef
    87 # endif
     71endif
    8872
    8973# Miscellaneous additions go here
Note: See TracChangeset for help on using the changeset viewer.