[2.5 patch] Allow the static compilation of AFS

Adrian Bunk (bunk@fs.tum.de)
Wed, 23 Oct 2002 12:50:01 +0200 (CEST)


AFS in 2.5.44 has the bug that nothing gets compiled when you select to
compile it statically into the kernel. The following patch fixes this:

--- linux-2.5.44-full/fs/afs/Makefile.old 2002-10-23 12:37:28.000000000 +0200
+++ linux-2.5.44-full/fs/afs/Makefile 2002-10-23 12:37:52.000000000 +0200
@@ -25,7 +25,7 @@

# cache.o

-obj-m := kafs.o
+obj-$(CONFIG_AFS_FS) := kafs.o

# superfluous for 2.5, but needed for 2.4..
ifeq "$(VERSION).$(PATCHLEVEL)" "2.4"

cu
Adrian

-- 

"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/