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
This commit is contained in:
parent
5f40118235
commit
454ce38321
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=328065
@ -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
|
||||
|
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user