sys/conf: pass NMFLAGS to nm(1) via genassym.sh.
This commit is contained in:
parent
aea3463e34
commit
1558258bc4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=286794
@ -40,7 +40,7 @@ ia32_genassym.o standard \
|
||||
#
|
||||
ia32_assym.h standard \
|
||||
dependency "$S/kern/genassym.sh ia32_genassym.o" \
|
||||
compile-with "env NM='${NM}' sh $S/kern/genassym.sh ia32_genassym.o > ${.TARGET}" \
|
||||
compile-with "env NM='${NM}' NMFLAGS='${NMFLAGS}' sh $S/kern/genassym.sh ia32_genassym.o > ${.TARGET}" \
|
||||
no-obj no-implicit-rule before-depend \
|
||||
clean "ia32_assym.h"
|
||||
#
|
||||
|
@ -174,7 +174,7 @@ hack.So: Makefile
|
||||
./assym.s: assym.s
|
||||
|
||||
assym.s: $S/kern/genassym.sh genassym.o
|
||||
NM='${NM}' sh $S/kern/genassym.sh genassym.o > ${.TARGET}
|
||||
NM='${NM}' NMFLAGS='${NMFLAGS}' sh $S/kern/genassym.sh genassym.o > ${.TARGET}
|
||||
|
||||
genassym.o: $S/$M/$M/genassym.c
|
||||
${CC} -c ${CFLAGS:N-fno-common} $S/$M/$M/genassym.c
|
||||
|
Loading…
Reference in New Issue
Block a user