when emerging thinkpad-4.3-r1, it looks for the linux sources at /usr/src/linux initially, and then later it looks for them at the /lib/modules/KERNEL-VERSION/build symlink. there's no way to specify the location, e.g.: LINUXDIR=~/build/linux-2.4.23 emerge thinkpad perhaps it shouldn't look at /usr/src/linux at all, since the kernel developers have deprecated the practice of keeping the sources there Reproducible: Always Steps to Reproduce: 1. 2. 3.
the way to specify the location is changing the /usr/src/linux symlink. I'm not sure if adding another env variable may help or not.