Changeset e59d23ad in rtems


Ignore:
Timestamp:
Sep 9, 2008, 4:30:35 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
cb4a77e
Parents:
fb2205a
Message:

2008-09-09 Joel Sherrill <joel.sherrill@…>

  • leaf.cfg, compilers/gcc-target-default.cfg: Remove use of AM_LDFLAGS. Ensure LDFLAGS works all the time. Clean up BSPs which defined their own make-exe rules inappropriately.
Location:
c/src/make
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/make/ChangeLog

    rfb2205a re59d23ad  
     12008-09-09      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * leaf.cfg, compilers/gcc-target-default.cfg: Remove use of AM_LDFLAGS.
     4        Ensure LDFLAGS works all the time. Clean up BSPs which defined their
     5        own make-exe rules inappropriately.
     6
    172008-05-20      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • c/src/make/compilers/gcc-target-default.cfg

    rfb2205a re59d23ad  
    7171LD_PATHS= $(PROJECT_RELEASE)/lib
    7272
    73 # libraries you want EVERYONE to link with
    74 #LD_LIBS=
    75 
    76 # ld flag to ensure pure-text
    77 #LDFLAGS_MUST_BE_PURE_V =
    78 
    79 # ld flag for [un]shared objects
    80 #LDFLAGS_STATIC_LIBRARIES_V =
    81 #LDFLAGS_SHARED_LIBRARIES_V =
    82 
    8373# ld flag for incomplete link
    8474LDFLAGS_INCOMPLETE = -r
    8575
    86 # Special linker options when building lib.so
    87 LDFLAGS_DYNAMIC_V = ??
    88 
    89 # Some dynamic linking systems want the preferred name recorded in the binary
    90 LDFLAGS_DYNAMIC_LIBNAME_V = -h $(DYNAMIC_VERSION_LIBNAME)
    91 
    9276# LDFLAGS=$(LDFLAGS_DEBUG) $(LD_PATHS:%=-L%)
    93 LDFLAGS=$(LDFLAGS_DEBUG)
     77LDFLAGS += $(LDFLAGS_DEBUG)
    9478
    9579#
  • c/src/make/leaf.cfg

    rfb2205a re59d23ad  
    6767
    6868define bsp-link-c
    69         $(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
     69        $(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
    7070            -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
    7171endef
    7272
    7373define bsp-link-cxx
    74         $(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
     74        $(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
    7575            -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
    7676endef
Note: See TracChangeset for help on using the changeset viewer.