summaryrefslogtreecommitdiffstats
path: root/sys/conf/Makefile.pc98
diff options
context:
space:
mode:
authormp <mp@FreeBSD.org>2001-10-19 22:19:06 +0000
committermp <mp@FreeBSD.org>2001-10-19 22:19:06 +0000
commite6b6c884abf61e0ad8ddee395a4eee3dad65f5d6 (patch)
tree3c2c7b0ee2640def70f375149edc9890a1f9c74f /sys/conf/Makefile.pc98
parent9f90cf9c52fcfb0cce71a02dfd5e5cd62cb691b9 (diff)
downloadFreeBSD-src-e6b6c884abf61e0ad8ddee395a4eee3dad65f5d6.zip
FreeBSD-src-e6b6c884abf61e0ad8ddee395a4eee3dad65f5d6.tar.gz
Make override of nm consistent across all platforms and sort the overrides.
Reminded by: obrien
Diffstat (limited to 'sys/conf/Makefile.pc98')
-rw-r--r--sys/conf/Makefile.pc985
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/conf/Makefile.pc98 b/sys/conf/Makefile.pc98
index 620c16a..1729741 100644
--- a/sys/conf/Makefile.pc98
+++ b/sys/conf/Makefile.pc98
@@ -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
OpenPOWER on IntegriCloud