From: Pavel Roskin Date: Fri, 2 Jun 2006 01:28:50 +0000 (-0400) Subject: kbuild: obj-dirs is calculated incorrectly if hostprogs-y is defined X-Git-Tag: v2.6.18-rc1~602^2~39 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9870a93d3118239fd7732a0f908e05f67b39a294;p=pandora-kernel.git kbuild: obj-dirs is calculated incorrectly if hostprogs-y is defined When Makefile.host is included, $(obj-dirs) is subjected to the addprefix operation for the second time. Prefix only needs to be added to the newly added directories, but not to those that came from Makefile.lib. This causes the build system to create unneeded empty directories in the build tree when building in a separate directory. For instance, lib/lib/zlib_inflate is created in the build tree. Signed-off-by: Pavel Roskin Signed-off-by: Sam Ravnborg --- Reading git-diff-tree failed