From: Sam Ravnborg Date: Sat, 31 May 2008 20:28:40 +0000 (+0200) Subject: kbuild: fix $(src) assignmnet with external modules X-Git-Tag: v2.6.26-rc5~25^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96d97f262aa6120f8dd8e8e9c7a0b0677de7e29e;p=pandora-kernel.git kbuild: fix $(src) assignmnet with external modules When we introduced support for KBUILD_EXTRA_SYMBOLS we started to include the externam module's kbuild file when doing the final modpost step. As external modules often do: ccflags-y := -I$(src) We had problems because $(src) was unassinged and gcc then used the next parameter for -I resulting in strange build failures. Fix is to assign $(src) and $(obj) when building external modules. This fixes: http://bugzilla.kernel.org/show_bug.cgi?id=10798 Signed-off-by: Sam Ravnborg Cc: Tvrtko Cc: Andrea Arcangeli Cc: "Rafael J. Wysocki" --- Reading git-diff-tree failed