Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 10897 Details for
Bug 18031
modified linux-headers that can be used to build a cross compile tool chain
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
kernel.eclass.patch
kernel.eclass.patch (text/plain), 1.32 KB, created by
Zach Welch (RETIRED)
on 2003-04-20 02:28:29 UTC
(
hide
)
Description:
kernel.eclass.patch
Filename:
MIME Type:
Creator:
Zach Welch (RETIRED)
Created:
2003-04-20 02:28:29 UTC
Size:
1.32 KB
patch
obsolete
>Index: kernel.eclass >=================================================================== >RCS file: /home/cvsroot/gentoo-x86/eclass/kernel.eclass,v >retrieving revision 1.25 >diff -u -r1.25 kernel.eclass >--- kernel.eclass 24 Mar 2003 23:34:31 -0000 1.25 >+++ kernel.eclass 20 Apr 2003 07:23:31 -0000 >@@ -6,6 +6,8 @@ > # based kernel ebuilds > # with error handling contributions by gerk, and small fixes by zwelch > >+inherit crosscompile >+ > ECLASS=kernel > EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_preinst pkg_postinst > >@@ -34,7 +36,9 @@ > > elif [ "${ETYPE}" = "headers" ] > then >- PROVIDE="virtual/kernel virtual/os-headers" >+ if [ "${CATEGORY}" = "sys-kernel" ]; then >+ PROVIDE="virtual/kernel virtual/os-headers" >+ fi > else > eerror "Unknown ETYPE=\"${ETYPE}\"!" > die >@@ -88,8 +92,7 @@ > kernel_src_compile() { > if [ "$ETYPE" = "headers" ] > then >- yes "" | make oldconfig >- echo "Ignore any errors from the yes command above." >+ yes "" 2>/dev/null | make oldconfig > fi > } > >@@ -117,6 +120,15 @@ > rm -rf ${D}/usr/include/linux/modules > dodir /usr/include/asm > cp -ax ${S}/include/asm/* ${D}/usr/include/asm >+ >+ # If this is for a cross compiler move the headers into position. >+ # Aiken 04/04/2003 >+ if cross-target >+ then >+ mkdir -p ${D}/usr/${CCHOST} >+ mv ${D}/usr/include ${D}/usr/${CCHOST} >+ fi >+ > fi > } >
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 18031
:
9714
|
9747
|
10242
| 10897