From mboxrd@z Thu Jan 1 00:00:00 1970 From: yannick.brosseau@gmail.com (Brosseau, Yannick) Date: Fri, 18 Nov 2011 16:59:10 -0500 Subject: [ltt-dev] [PATCH] Makefile: do not run depmod manually In-Reply-To: <1320321187-2075-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1320321187-2075-1-git-send-email-thomas.petazzoni@free-electrons.com> Message-ID: Salut Thomas, On Thu, Nov 3, 2011 at 7:53 AM, Thomas Petazzoni wrote: > The modules_install target of the kernel build infrastructure already > runs depmod properly, taking into account the cross-compilation That's not exactly true. From the build system we find that: # Run depmod only if we have System.map and depmod is executable Since we don't have a System.map file in our module tree, this depmod execution is mostly a no-op. So it is necessary to run a depmod manually after installation. It might be something wrong in the kbuild, but I don't know this system enough to be able to judge. Yannick