From: Sam Ravnborg <sam@ravnborg.org>

I broke that as part of the separate output directory patch.
The following should fix it.

Andrew, I will come up with a better patch tomorrow.



 25-akpm/Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN Makefile~fix-make-rpm Makefile
--- 25/Makefile~fix-make-rpm	Wed Sep 17 12:39:22 2003
+++ 25-akpm/Makefile	Wed Sep 17 12:39:22 2003
@@ -97,7 +97,7 @@ endif # ifeq ($(KBUILD_SRC),)
 # We process the rest of the Makefile if this is the final invocation of make
 ifeq ($(skip-makefile),)
 
-srctree		:= $(if $(KBUILD_SRC),$(KBUILD_SRC),.)
+srctree		:= $(if $(KBUILD_SRC),$(KBUILD_SRC),$(CURDIR))
 TOPDIR		:= $(srctree)
 # FIXME - TOPDIR is obsolete, use srctree/objtree
 objtree		:= $(CURDIR)

_