[PATCH] /lib/modules/`uname -r`/build is not created

From: Eric Lammerts (eric@lammerts.org)
Date: Thu Nov 30 2000 - 20:00:19 EST


Since 2.2.18pre20, the symlink /lib/modules/`uname -r`/build is not
created because of a non-escaped $ in Makefile.

Patch:

--- linux/Makefile.orig Fri Dec 1 01:39:24 2000
+++ linux/Makefile Fri Dec 1 01:39:32 2000
@@ -335,7 +335,7 @@
         MODLIB=$(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE); \
         mkdir -p $$MODLIB; \
         rm -f $$MODLIB/build; \
- [ `/sbin/insmod -V 2>&1 | head -1 | awk '/^insmod version /{split("$3", a, /\./); printf "%d%03d%03d\n", a[1], a[2], a[3];}'`0 -ge 20030140 ] && \
+ [ `/sbin/insmod -V 2>&1 | head -1 | awk '/^insmod version /{split($$3, a, /\./); printf "%d%03d%03d\n", a[1], a[2], a[3];}'`0 -ge 20030140 ] && \
         ln -s `pwd` $$MODLIB/build; \
         cd modules; \
         MODULES=""; \

Eric

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



This archive was generated by hypermail 2b29 : Thu Nov 30 2000 - 21:00:26 EST