FreeBSD Bugzilla – Attachment 8218 Details for
Bug 17304
More flexible support for building klds outside a kernel tree needed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.25 KB, created by
John E. Hein
on 2000-03-10 19:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
John E. Hein
Created:
2000-03-10 19:20:01 UTC
Size:
1.25 KB
patch
obsolete
>Index: bsd.kmod.mk >=================================================================== >RCS file: /base/FreeBSD-tsc-3/share/mk/bsd.kmod.mk,v >retrieving revision 1.1.1.1 >diff -u -r1.1.1.1 bsd.kmod.mk >--- bsd.kmod.mk 1999/08/30 18:47:19 1.1.1.1 >+++ bsd.kmod.mk 2000/03/13 21:07:07 >@@ -239,15 +239,15 @@ > ln -s $$path ${.TARGET} > .else > ${_ILINKS}: >- @set +x; for up in ../.. ../../.. ; do \ >+ @set +x; for up in ${_ILINK_SEARCH_DIRS}; do \ > case ${.TARGET} in \ > machine) \ >- testpath=${.CURDIR}/$$up/${MACHINE_ARCH}/include ; \ >- path=${.CURDIR}/$$up/${MACHINE_ARCH}/include ; \ >+ testpath=$$up/${MACHINE_ARCH}/include ; \ >+ path=$$testpath ; \ > defaultpath=/usr/include/machine ;; \ > @) \ >- testpath=${.CURDIR}/$$up/sys ; \ >- path=${.CURDIR}/$$up ; \ >+ testpath=$$up/sys ; \ >+ path=$$up ; \ > defaultpath=/usr/include ;; \ > esac ; \ > if [ -d $$testpath ] ; then break ; fi ; \ >@@ -311,10 +311,15 @@ > ${MODUNLOAD} -n ${KMOD} > .endif > >+.if !(defined(KERN) && exists(${KERN})) > .if exists(${.CURDIR}/../../kern) > KERN= ${.CURDIR}/../../kern > .else > KERN= ${.CURDIR}/../../sys/kern >+.endif >+_ILINK_SEARCH_DIRS= ${.CURDIR}/../.. ${.CURDIR}/../../.. >+.else >+_ILINK_SEARCH_DIRS= ${KERN}/.. > .endif > > vnode_if.h: ${KERN}/vnode_if.sh ${KERN}/vnode_if.src
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 17304
: 8218