Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 26643 Details for
Bug 32737
Compiling external kernel modules with 2.6 kernels
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
New patch to kernel-2.eclass
kernel-2-koutput-v2.diff (text/plain), 1.43 KB, created by
Peter Johanson (RETIRED)
on 2004-02-29 20:25:42 UTC
(
hide
)
Description:
New patch to kernel-2.eclass
Filename:
MIME Type:
Creator:
Peter Johanson (RETIRED)
Created:
2004-02-29 20:25:42 UTC
Size:
1.43 KB
patch
obsolete
>--- kernel-2.eclass 2004-02-29 23:23:20.862510648 -0500 >+++ kernel-2.eclass.koutput 2004-02-29 10:07:42.000000000 -0500 >@@ -98,6 +98,30 @@ > echo ">>> version.h compiled successfully." > } > >+unpack_2_6() { >+ cd ${S} >+ # Part of the new magic to put output files seperate from >+ # source files! (see bug #32737!) >+ >+ # Only do some magic if a KBUILD_OUTPUT_PREFIX is set >+ if [ -n "${KBUILD_OUTPUT_PREFIX}" ] >+ then >+ local koutput="`echo ${KBUILD_OUTPUT_PREFIX} | tr -s /`/${KV}" >+ mkdir -p ${koutput} >+ einfo "Setting kernel output directory to ${koutput}" >+ mv Makefile ${T}/Makefile >+ # Add the KBUILD_OUTPUT variable after the EXTRAVERSION line >+ sed -e "s:^\(EXTRAVERSION.*\):\1\nKBUILD_OUTPUT=${koutput}\n:" \ >+ ${T}/Makefile > Makefile >+ else >+ ewarn "You've elected not to use Gentoo's new 'koutput' feature." >+ ewarn "As a result, some kernel modules will require /usr/src/linux" >+ ewarn "to be writable by portage, which is a security concern." >+ ## FIXME - path to doc!!! >+ ewarn "For more info on enabling koutput, see DOC" >+ fi >+} >+ > universal_unpack() { > # remove all backup files > find . -iname "*~" -exec rm {} \; 2> /dev/null >@@ -559,6 +583,7 @@ > [ -n "${UNIPATCH_LIST}" -o -n "${UNIPATCH_LIST_DEFAULT}" ] && unipatch "${UNIPATCH_LIST_DEFAULT} ${UNIPATCH_LIST}" > [ -z "${K_NOSETEXTRAVERSION}" ] && unpack_set_extraversion > [ $(kernel_is_2_4) $? == 0 ] && unpack_2_4 >+ [ $(kernel_is_2_6) $? == 0 ] && unpack_2_6 > } > > src_compile() {
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 32737
:
23927
|
24094
|
24095
|
24096
|
24131
|
24646
|
24647
|
24649
|
24650
|
24651
|
25235
|
25237
|
25238
|
25239
|
25279
|
25280
|
25281
|
25282
|
25283
|
25363
|
25453
|
25454
|
25497
|
26588
|
26635
|
26643
|
27538
|
30030
|
31314
|
31315
|
31317
|
31345
|
31346
|
31347
|
32935
|
33123
|
33124
|
33125
|
33356
|
36615