svn commit: r328065 - head/sys/conf
Alex Richardson
arichardson at FreeBSD.org
Tue Jan 16 21:43:59 UTC 2018
Author: arichardson
Date: Tue Jan 16 21:43:57 2018
New Revision: 328065
URL: https://svnweb.freebsd.org/changeset/base/328065
Log:
Use ln -n instead of -h to allow building the kernel on Linux
Both flags do the same thing but -n is more widely supported.
Reviewed By: jhb, emaste
Approved By: jhb (mentor)
Differential Revision: https://reviews.freebsd.org/D13936
Modified:
head/sys/conf/kern.post.mk
head/sys/conf/kmod.mk
Modified: head/sys/conf/kern.post.mk
==============================================================================
--- head/sys/conf/kern.post.mk Tue Jan 16 21:43:46 2018 (r328064)
+++ head/sys/conf/kern.post.mk Tue Jan 16 21:43:57 2018 (r328065)
@@ -300,7 +300,7 @@ ${_ILINKS}:
path=${S}/${.TARGET}/include ;; \
esac ; \
${ECHO} ${.TARGET} "->" $$path ; \
- ln -fhs $$path ${.TARGET}
+ ln -fns $$path ${.TARGET}
# .depend needs include links so we remove them only together.
kernel-cleandepend: .PHONY
Modified: head/sys/conf/kmod.mk
==============================================================================
--- head/sys/conf/kmod.mk Tue Jan 16 21:43:46 2018 (r328064)
+++ head/sys/conf/kmod.mk Tue Jan 16 21:43:57 2018 (r328065)
@@ -292,7 +292,7 @@ ${_ILINKS}:
esac ; \
path=`(cd $$path && /bin/pwd)` ; \
${ECHO} ${.TARGET:T} "->" $$path ; \
- ln -fhs $$path ${.TARGET:T}
+ ln -fns $$path ${.TARGET:T}
CLEANFILES+= ${PROG} ${KMOD}.kld ${OBJS}
More information about the svn-src-head
mailing list