forked from Imagelibrary/rtems
Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to rename all
.s files to .S in conformance with GNU conventions. This is a minor step along the way to supporting automake.
This commit is contained in:
@@ -188,19 +188,12 @@ ${ARCH}/%.o: %.c
|
||||
${ARCH}/%.o: %.cc
|
||||
${COMPILE.cc} -o $@ $<
|
||||
|
||||
${ARCH}/%.o: %.S
|
||||
${COMPILE.c} -DASM -o $@ $<
|
||||
|
||||
# strip out C++ style comments.
|
||||
${ARCH}/%.o: %.s
|
||||
${ARCH}/%.o: %.S
|
||||
sed -e 's/\/\/.*$$//' < $< | \
|
||||
$(CPP) $(ASMFLAGS) -I. -I$(srcdir) -DASM - >$(ARCH)/$*.i
|
||||
$(AS) $(ASFLAGS) -o $@ $(ARCH)/$*.i
|
||||
|
||||
# $(CPP) $(CPPFLAGS) -DASM - < $< >$(ARCH)/$*.i
|
||||
# $(AS) $(ASFLAGS) -o $@ $(ARCH)/$*.i
|
||||
# $(RM) $(ARCH)/$*.i
|
||||
|
||||
# Specify our own default rule for this to prevent having CFLAGS and
|
||||
# CPPFLAGS being passed to linker
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user