From: Andreas Gruenbacher Date: Wed, 5 Apr 2006 21:33:50 +0000 (+0200) Subject: kbuild: modules_install for external modules must not remove existing modules X-Git-Tag: v2.6.17-rc2~98^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d2d8fe0cb88914d26219db51341d780a032b198;p=pandora-kernel.git kbuild: modules_install for external modules must not remove existing modules When installing external modules with `make modules_install', the first thing that happens is a rm -rf of the target directory. This works only once, and breaks when installing more than one (set of) external module(s). With following fix we have the functionality: - for a in-kernel modules_install the $(MODLIB)/kernel directory will be deleted before module installation - for external modules the existing modules will be left as is assuming one may be building and installign several external modules Signed-off-by: Andreas Gruenbacher Signed-off-by: Sam Ravnborg --- Reading git-diff-tree failed