FreeBSD Bugzilla – Attachment 202999 Details for
Bug 236658
Gives more flexibility to kernel installation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Makefile.inc1 - introduction of USEKERNNAME
Makefile.inc1.diff (text/plain), 1.89 KB, created by
Lorenzo Salvadore
on 2019-03-20 10:57:54 UTC
(
hide
)
Description:
Makefile.inc1 - introduction of USEKERNNAME
Filename:
MIME Type:
Creator:
Lorenzo Salvadore
Created:
2019-03-20 10:57:54 UTC
Size:
1.89 KB
patch
obsolete
>Index: Makefile.inc1 >=================================================================== >--- Makefile.inc1 (revision 345323) >+++ Makefile.inc1 (working copy) >@@ -1549,6 +1549,7 @@ > KERNCONF?= GENERIC > .endif > INSTKERNNAME?= kernel >+USEKERNNAME?= yes > > KERNSRCDIR?= ${.CURDIR}/sys > KRNLCONFDIR= ${KERNSRCDIR}/${TARGET}/conf >@@ -1666,6 +1667,7 @@ > @echo "ERROR: No kernel \"${KERNCONF}\" to install."; \ > false > .endif >+.if ${USEKERNNAME} == yes > @echo "--------------------------------------------------------------" > @echo ">>> Installing kernel ${INSTALLKERNEL} on $$(LC_ALL=C date)" > @echo "--------------------------------------------------------------" >@@ -1675,7 +1677,6 @@ > @echo "--------------------------------------------------------------" > @echo ">>> Installing kernel ${INSTALLKERNEL} completed on $$(LC_ALL=C date)" > @echo "--------------------------------------------------------------" >-.endif > .if ${BUILDKERNELS:[#]} > 1 && ${NO_INSTALLEXTRAKERNELS} != "yes" > .for _kernel in ${BUILDKERNELS:[2..-1]} > @echo "--------------------------------------------------------------" >@@ -1689,6 +1690,20 @@ > @echo "--------------------------------------------------------------" > .endfor > .endif >+.else >+.for _kernel in ${BUILDKERNELS} >+ @echo "--------------------------------------------------------------" >+ @echo ">>> Installing kernel ${_kernel} $$(LC_ALL=C date)" >+ @echo "--------------------------------------------------------------" >+ ${_+_}cd ${KRNLOBJDIR}/${_kernel}; \ >+ ${CROSSENV} PATH=${TMPPATH} \ >+ ${MAKE} ${IMAKE_INSTALL} KERNEL=${_kernel} ${.TARGET:S/kernel//} >+ @echo "--------------------------------------------------------------" >+ @echo ">>> Installing kernel ${_kernel} completed on $$(LC_ALL=C date)" >+ @echo "--------------------------------------------------------------" >+.endfor >+.endif >+.endif > > distributekernel distributekernel.debug: .PHONY > .if !defined(NO_INSTALLKERNEL)
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 236658
:
202999
|
203007