powerpc64/csu: Rename dummy asm file to force use of 'cc'

Implicit make rules build .S asm files with the compiler, rather than the
assembler.  r356889 removed GNU as from the build for powerpc targets,
causing '.s' asm files to fail to build, due to a missing 'as'.  Rename the
one dummy asm file we have to a '.S' to force the implicit rules to build
with the compiler rather than the assembler.

Reported by:	Francis Little
This commit is contained in:
Justin Hibbits 2020-01-29 04:32:06 +00:00
parent 3ea691c261
commit 4ff85ece0e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=357242

View file

@ -18,7 +18,7 @@ FILESDIR= ${LIBDIR}
.undef LIBRARIES_ONLY
CLEANFILES= ${OBJS}
CLEANFILES+= crt1.s crtsavres.s gcrt1.s Scrt1.s
CLEANFILES+= crt1.s crtsavres.S gcrt1.s Scrt1.s
# See the comment in lib/csu/common/crtbrand.c for the reason crt1.c is not
# directly compiled to .o files.
@ -28,7 +28,7 @@ crt1.s: crt1.c
sed ${SED_FIX_NOTE} ${.TARGET}
# On powerpc64 crtsavres is an empty file
crtsavres.s:
crtsavres.S:
touch ${.TARGET}
crt1.o: crt1.s