Changeset 0162910 in rtems for make


Ignore:
Timestamp:
Dec 14, 1998, 11:15:38 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
0c291bc
Parents:
1d9f198a
Message:

Patch from Ralf Corsepius <corsepiu@…> to rename all
.s files to .S in conformance with GNU conventions. This is a
minor step along the way to supporting automake.

Location:
make
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • make/Templates/Makefile.leaf

    r1d9f198a r0162910  
    1818H_FILES=
    1919
    20 # Assembly source names, if any, go here -- minus the .s
     20# Assembly source names, if any, go here -- minus the .S
    2121S_PIECES=
    22 S_FILES=$(S_PIECES:%=%.s)
    23 S_O_FILES=$(S_FILES:%.s=${ARCH}/%.o)
     22S_FILES=$(S_PIECES:%=%.S)
     23S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
    2424
    2525SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
  • make/Templates/Makefile.lib

    r1d9f198a r0162910  
    2020H_FILES=
    2121
    22 # Assembly source names, if any, go here -- minus the .s
     22# Assembly source names, if any, go here -- minus the .S
    2323S_PIECES=
    24 S_FILES=$(S_PIECES:%=%.s)
    25 S_O_FILES=$(S_FILES:%.s=${ARCH}/%.o)
     24S_FILES=$(S_PIECES:%=%.S)
     25S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
    2626
    2727SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
  • make/compilers/gcc-target-default.cfg

    r1d9f198a r0162910  
    189189        ${COMPILE.cc} -o $@ $<
    190190
     191# strip out C++ style comments.
    191192${ARCH}/%.o: %.S
    192         ${COMPILE.c} -DASM -o $@ $<
    193 
    194 # strip out C++ style comments.
    195 ${ARCH}/%.o: %.s
    196193        sed -e 's/\/\/.*$$//' < $< | \
    197194            $(CPP) $(ASMFLAGS) -I. -I$(srcdir) -DASM - >$(ARCH)/$*.i
    198195        $(AS) $(ASFLAGS) -o $@ $(ARCH)/$*.i
    199 
    200 #       $(CPP) $(CPPFLAGS) -DASM - < $<  >$(ARCH)/$*.i
    201 #       $(AS) $(ASFLAGS) -o $@ $(ARCH)/$*.i
    202 #       $(RM) $(ARCH)/$*.i
    203196
    204197# Specify our own default rule for this to prevent having CFLAGS and
Note: See TracChangeset for help on using the changeset viewer.