[Buildroot] [PATCH 6/9] Ask the kernel source where it will install modules

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Oct 30 13:20:18 UTC 2008


Le Thu, 16 Oct 2008 14:32:46 -0600,
Grant Likely <grant.likely at secretlab.ca> a écrit :

> Originally, $(LINUX26_VERSION) was used to figure out which directory
> modules would get installed in under /lib/modules.  This causes
> problems when $(LINUX26_VERSION) differs from what version the kernel
> source thinks it is using because it will try to use depmod in the
> wrong directory.

Just for curiosity, in what cases $(LINUX26_VERSION) can differ from
the « version the kernel source thinks it is using » ?

Otherwise, the version proposed by Hans-Christian Egtvedt looks good to
me.

Thanks,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list