From: Sam Ravnborg Date: Tue, 1 Jan 2008 12:40:28 +0000 (+0100) Subject: kbuild: fix installing external modules X-Git-Tag: v2.6.25-rc1~1164^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b213118fa4b79afe9a2718faca244ac581a96b6;p=pandora-kernel.git kbuild: fix installing external modules Eric Sandeen reported: Installing external modules is supposed to put them in some path under /lib/modules//extra/subdir/, but this change: http://linux.bkbits.net:8080/linux-2.6/?PAGE=cset&REV=1.1982.9.23 makes them go under /lib/modules//extrasubdir (for example, make M=fs/ext3 modules_install puts ext3.ko in /lib/modules//extrafs/ext3.ko) This was the case only when specifying a trailing slash to M=.. Fixed by removing trailing slash if present so we correctly match dir part of target. Signed-off-by: Sam Ravnborg Cc: Eric Sandeen --- Reading git-diff-tree failed