Changing kernel source folders
I need to change my kernel source folders. Currently its in /usr/src/linux-2.4.19-16mdk and needs to be in usr/src/linux
what steps should be taken to change the folders or do i just change the linking of the linux to the linux-xxxx folder? |
mv /usr/src/linux /usr/src/linux.old
mv /usr/src/linux-yourversion /usr/src/linux good luck |
You'll usually want /usr/src/linux to be a symlink to the actual sources for the kernel you're using, i.e. /usr/src/linux-<version>.
It makes it simple in case you keep mutiple sources/kernel. So, if you switch kernel or add a new one, you just delete the old link, rm /usr/src/linux and create a new one to the kernel you want to use/compile ln -s /usr/src/linux-<version> /usr/src/linux. This way /usr/src/linux always point to the source of the kernel in use. HTH |
All times are GMT -5. The time now is 07:50 PM. |