Make override of nm consistent across all platforms and sort the overrides.

Reminded by:	obrien
This commit is contained in:
Mark Peek 2001-10-19 22:19:06 +00:00
parent 9c2de1cd14
commit 43aba0eadb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85198
6 changed files with 16 additions and 11 deletions

View File

@ -34,8 +34,9 @@ S= ../../..
.endif
M= ${MACHINE_ARCH}
SIZE?= size
NM?= nm
OBJCOPY?= objcopy
SIZE?= size
COPTFLAGS?=-O -pipe
.if !defined(NO_CPU_COPTFLAGS)
@ -174,7 +175,7 @@ hack.So: Makefile
./assym.s: assym.s
assym.s: $S/kern/genassym.sh genassym.o
OBJFORMAT=elf sh $S/kern/genassym.sh genassym.o > ${.TARGET}
NM=${NM} OBJFORMAT=elf sh $S/kern/genassym.sh genassym.o > ${.TARGET}
genassym.o: $S/$M/$M/genassym.c
${CC} -c ${CFLAGS} -elf $S/$M/$M/genassym.c

View File

@ -34,8 +34,9 @@ S= ../../..
.endif
M= ${MACHINE_ARCH}
SIZE?= size
NM?= nm
OBJCOPY?= objcopy
SIZE?= size
COPTFLAGS?=-O -pipe
.if !defined(NO_CPU_COPTFLAGS)
@ -177,7 +178,7 @@ hack.So: Makefile
./assym.s: assym.s
assym.s: $S/kern/genassym.sh genassym.o
OBJFORMAT=elf sh $S/kern/genassym.sh genassym.o > ${.TARGET}
NM=${NM} OBJFORMAT=elf sh $S/kern/genassym.sh genassym.o > ${.TARGET}
genassym.o: $S/$M/$M/genassym.c
${CC} -c ${CFLAGS} -elf $S/$M/$M/genassym.c

View File

@ -44,8 +44,9 @@ S= ../../..
.endif
M= ${MACHINE_ARCH}
SIZE?= size
NM?= nm
OBJCOPY?= objcopy
SIZE?= size
COPTFLAGS?=-O -pipe
.if !defined(NO_CPU_COPTFLAGS)

View File

@ -36,8 +36,9 @@ S= ../../..
.endif
M= ${MACHINE_ARCH}
SIZE?= size
NM?= nm
OBJCOPY?= objcopy
SIZE?= size
COPTFLAGS?=-O -pipe
.if !defined(NO_CPU_COPTFLAGS)
@ -179,7 +180,7 @@ hack.So: Makefile
./assym.s: assym.s
assym.s: $S/kern/genassym.sh genassym.o
OBJFORMAT=elf sh $S/kern/genassym.sh genassym.o > ${.TARGET}
NM=${NM} OBJFORMAT=elf sh $S/kern/genassym.sh genassym.o > ${.TARGET}
genassym.o: $S/$M/$M/genassym.c
${CC} -c ${CFLAGS} -elf $S/$M/$M/genassym.c

View File

@ -37,9 +37,9 @@ S= ../../..
.endif
M= ${MACHINE_ARCH}
SIZE?= size
OBJCOPY?= objcopy
NM?= nm
OBJCOPY?= objcopy
SIZE?= size
COPTFLAGS?=-O -pipe
.if !defined(NO_CPU_COPTFLAGS)

View File

@ -49,8 +49,9 @@ S= ../../..
.endif
M= ${MACHINE_ARCH}
SIZE?= size
NM?= nm
OBJCOPY?= objcopy
SIZE?= size
COPTFLAGS?=-O -pipe
.if !defined(NO_CPU_COPTFLAGS)
@ -193,7 +194,7 @@ hack.So: Makefile
./assym.s: assym.s
assym.s: $S/kern/genassym.sh genassym.o
OBJFORMAT=elf NM=${NM} sh $S/kern/genassym.sh genassym.o > ${.TARGET}
NM=${NM} OBJFORMAT=elf sh $S/kern/genassym.sh genassym.o > ${.TARGET}
genassym.o: $S/$M/$M/genassym.c
${CC} -c ${CFLAGS} -elf $S/$M/$M/genassym.c