Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 417604 Details for
Bug 566496
sys-kernel/linux-headers - sandbox violation errors with kernel build dir
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to allow linux-headers work even when kbuild_output is set
kbuild_output.patch (text/plain), 913 bytes, created by
Joe M
on 2015-11-22 21:07:36 UTC
(
hide
)
Description:
patch to allow linux-headers work even when kbuild_output is set
Filename:
MIME Type:
Creator:
Joe M
Created:
2015-11-22 21:07:36 UTC
Size:
913 bytes
patch
obsolete
>diff --git eclass/kernel-2.eclass eclass/kernel-2.eclass >index 5a9ea9f..9fc4ebd 100644 >--- eclass/kernel-2.eclass >+++ eclass/kernel-2.eclass >@@ -642,7 +642,9 @@ compile_headers() { > > # if we couldnt obtain HOSTCFLAGS from the Makefile, > # then set it to something sane >- local HOSTCFLAGS=$(getfilevar HOSTCFLAGS "${S}"/Makefile) >+ # bug https://bugs.gentoo.org/show_bug.cgi?id=566496 >+ # local HOSTCFLAGS=$(getfilevar HOSTCFLAGS "${S}"/Makefile) >+ local HOSTCFLAGS="" > HOSTCFLAGS=${HOSTCFLAGS:--Wall -Wstrict-prototypes -O2 -fomit-frame-pointer} > > if kernel_is 2 4; then >@@ -716,6 +718,8 @@ install_universal() { > install_headers() { > local ddir=$(kernel_header_destdir) > >+ # bug https://bugs.gentoo.org/show_bug.cgi?id=566514 >+ [[ ${ETYPE} == headers ]] && unset KBUILD_OUTPUT > # 2.6.18 introduces headers_install which means we dont need any > # of this crap anymore :D > if kernel_is ge 2 6 18 ; then
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 566496
:
417580
|
417582
|
417602
|
417604