--- a/examples/msr/Makefile Mon May 29 09:54:18 2006 +0000
+++ b/examples/msr/Makefile Mon Jun 26 15:04:06 2006 +0000
@@ -75,13 +75,14 @@
KERNEL := $(shell uname -r)
endif
-KERNELDIR := /lib/modules/$(KERNEL)/build
+KERNEL_DIR := /lib/modules/$(KERNEL)/build
+CURRENT_DIR := $(shell pwd)
modules:
- $(MAKE) -C $(KERNELDIR) M=`pwd`
+ $(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR)
clean:
- $(MAKE) -C $(KERNELDIR) M=`pwd` clean
+ $(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) clean
install:
@./install.sh $(MODULE) $(KERNEL)