Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 434710 - linux-mod.eclass should set KERNEL_DIR and KBUILD_OUTPUT if not present
Summary: linux-mod.eclass should set KERNEL_DIR and KBUILD_OUTPUT if not present
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-11 09:36 UTC by Dennis Schridde
Modified: 2016-01-26 06:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2012-09-11 09:36:51 UTC
For example, app-emulation/virtualbox-modules does not compile when KERNEL_DIR and KBUILD_OUTPUT are not set and the sources and binaries are not both in /usr/src/linux.

Hence it would be nice if linux-info.eclass (or linux-mod - might be more appropriate) would set these variables depending on the detected running kernel version. It is difficult to automatically set these variables as make.conf, for example does not support $() substitutions (e.g. $(uname -r)).

Reproducible: Always