diff options
author | imp <imp@FreeBSD.org> | 2014-11-06 16:48:37 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2014-11-06 16:48:37 +0000 |
commit | 6cdb9e2a2950346fb203eec1d06b8867b0e3140f (patch) | |
tree | 5c9ec7cd1a58a0a74cc210a44775becde7e6d65c /sys/modules/svr4 | |
parent | 97390da14526ceb2ef73b952f5ef17d71e8f739e (diff) | |
download | FreeBSD-src-6cdb9e2a2950346fb203eec1d06b8867b0e3140f.zip FreeBSD-src-6cdb9e2a2950346fb203eec1d06b8867b0e3140f.tar.gz |
Retire the '@' symlink. It isn't really needed and causes more
problems than it solves. SYSDIR is already defined almost always and
can be used instead. Working around the one case where it isn't is
much easier than working around the fact that @ may not exist in 18
other places.
Differential Revision: https://reviews.freebsd.org/D1100
Diffstat (limited to 'sys/modules/svr4')
-rw-r--r-- | sys/modules/svr4/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/modules/svr4/Makefile b/sys/modules/svr4/Makefile index 9fc0901..85725a2 100644 --- a/sys/modules/svr4/Makefile +++ b/sys/modules/svr4/Makefile @@ -14,16 +14,13 @@ SRCS+= opt_ktrace.h opt_sysvipc.h CLEANFILES= svr4_assym.h svr4_genassym.o svr4_assym.h: svr4_genassym.o -.if exists(@) -svr4_assym.h: @/kern/genassym.sh -.endif - sh @/kern/genassym.sh svr4_genassym.o > ${.TARGET} + sh ${SYSDIR}/kern/genassym.sh svr4_genassym.o > ${.TARGET} svr4_locore.o: svr4_locore.s svr4_assym.h ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \ ${.IMPSRC} -o ${.TARGET} -svr4_genassym.o: svr4_genassym.c svr4.h @ machine +svr4_genassym.o: svr4_genassym.c svr4.h ${CC} -c ${CFLAGS:N-fno-common} ${.IMPSRC} .if !defined(KERNBUILDDIR) && defined(DEBUG) |