|
Lines 278-283
Link Here
|
| 278 |
kernel_is 2 6 || kernel_is 2 5 |
278 |
kernel_is 2 6 || kernel_is 2 5 |
| 279 |
} |
279 |
} |
| 280 |
|
280 |
|
|
|
281 |
# New kernels (whether sys-kernel/*-sources or sys-kernel/*-headers) |
| 282 |
# don't need to build against the current kernel, so |
| 283 |
# unset KBUILD_OUTPUT here |
| 284 |
unset KBUILD_OUTPUT |
| 285 |
|
| 281 |
# Capture the sources type and set DEPENDs |
286 |
# Capture the sources type and set DEPENDs |
| 282 |
if [[ ${ETYPE} == sources ]]; then |
287 |
if [[ ${ETYPE} == sources ]]; then |
| 283 |
DEPEND="!build? ( sys-apps/sed |
288 |
DEPEND="!build? ( sys-apps/sed |
|
Lines 298-307
Link Here
|
| 298 |
DESCRIPTION="Linux system headers" |
303 |
DESCRIPTION="Linux system headers" |
| 299 |
IUSE="" |
304 |
IUSE="" |
| 300 |
|
305 |
|
| 301 |
# Since we should NOT honour KBUILD_OUTPUT in headers |
|
|
| 302 |
# lets unset it here. |
| 303 |
unset KBUILD_OUTPUT |
| 304 |
|
| 305 |
if [[ ${CTARGET} = ${CHOST} ]]; then |
306 |
if [[ ${CTARGET} = ${CHOST} ]]; then |
| 306 |
DEPEND="!virtual/os-headers" |
307 |
DEPEND="!virtual/os-headers" |
| 307 |
PROVIDE="virtual/os-headers" |
308 |
PROVIDE="virtual/os-headers" |
|
Lines 473-479
Link Here
|
| 473 |
|
474 |
|
| 474 |
compile_manpages() { |
475 |
compile_manpages() { |
| 475 |
einfo "Making manpages ..." |
476 |
einfo "Making manpages ..." |
| 476 |
env -u ARCH -u KBUILD_OUTPUT make mandocs |
477 |
env -u ARCH make mandocs |
| 477 |
} |
478 |
} |
| 478 |
|
479 |
|
| 479 |
# install functions |
480 |
# install functions |