All,
Just a reminder to you all about the proper usage of KV_OUT_DIR/KV_DIR
with relation to linux-{info,mod}
KERNEL_PATH (which defaults to /usr/src/linux) is used construct the
kernel version and set KV_DIR/KV_OUT_DIR.
To solve some of the issues some people are having, I am wanting to
change this to default to ${ROOT}/usr/src/linux.
To quickly recap..
KV_DIR is the genuine srctree, and KV_OUT_DIR the genuine objtree.
It has come to my attention that some people are using ${ROOT}${KV_DIR}
and so on in their ebuilds.
Please do not use this since it breaks the logic all together.
Please just use ${KV_OUT_DIR} and where needed ${KV_DIR} and no more,
since as soon as I introduce the correction to the above it will bring
you undesired results.
an example of this is:
KBUILD_OUTPUT="/mnt/chroot/var/kernel-output/" ROOT="/mnt/chroot/"
KERNEL_DIR="/usr/src/linux-2.6.10-customsources" emerge <module>
assuming we have something like:
BUILD_PARAMS="SRCDIR=${ROOT}/${KV_DIR} OBJDIR=${ROOT}/${KV_DIR}"
then you will encounter the following problems:
1: it thinks the sources are in:
/mnt/chroot//usr/src/linux-2.6.10-customsources
when it should, in this case be:
/usr/src/linux-2.6.10-customsources
2: it thinks it should output to:
/mnt/chroot//usr/src/linux-2.6.10-customsources
when it should be
/mnt/chroot/var/kernel-output/
and so on and so forth.
Any further questions please refer them to myself.
Regards,
John
--
Role: Gentoo Linux Kernel Lead
Gentoo Linux: http://www.gentoo.org
Public Key: gpg --recv-keys 9C745515
Key fingerprint: A0AF F3C8 D699 A05A EC5C 24F7 95AA 241D 9C74 5515
Web:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9C745515
signature.asc
Description: This is a digitally signed message part
