Consistent example makefiles.
--- a/examples/mini/Makefile Mon Jun 26 14:36:11 2006 +0000
+++ b/examples/mini/Makefile Mon Jun 26 14:53:17 2006 +0000
@@ -56,7 +56,7 @@
ifneq ($(wildcard kernel.conf),)
include kernel.conf
else
-KERNEL_DIR := /lib/modules/`uname -r`/build
+KERNEL_DIR := /lib/modules/$(shell uname -r)/build
endif
CURRENT_DIR := $(shell pwd)
--- a/examples/mini/kernel.conf.tmpl Mon Jun 26 14:36:11 2006 +0000
+++ b/examples/mini/kernel.conf.tmpl Mon Jun 26 14:53:17 2006 +0000
@@ -9,4 +9,4 @@
#
#------------------------------------------------------------------------------
-KERNELDIR = /lib/modules/`uname -r`/build
+KERNELDIR := /lib/modules/$(shell uname -r)/build
--- a/examples/msr/kernel.conf.tmpl Mon Jun 26 14:36:11 2006 +0000
+++ b/examples/msr/kernel.conf.tmpl Mon Jun 26 14:53:17 2006 +0000
@@ -10,6 +10,6 @@
#------------------------------------------------------------------------------
# Kernel sources for module compilation
-KERNEL := `uname -r`
+KERNEL := $(shell uname -r)
#------------------------------------------------------------------------------
--- a/examples/rtai/Makefile Mon Jun 26 14:36:11 2006 +0000
+++ b/examples/rtai/Makefile Mon Jun 26 14:53:17 2006 +0000
@@ -58,7 +58,7 @@
ifneq ($(wildcard kernel.conf),)
include kernel.conf
else
-KERNEL_DIR := /lib/modules/`uname -r`/build
+KERNEL_DIR := /lib/modules/$(shell uname -r)/build
endif
CURRENT_DIR := $(shell pwd)
--- a/examples/rtai/kernel.conf.tmpl Mon Jun 26 14:36:11 2006 +0000
+++ b/examples/rtai/kernel.conf.tmpl Mon Jun 26 14:53:17 2006 +0000
@@ -9,4 +9,4 @@
#
#------------------------------------------------------------------------------
-KERNELDIR = /lib/modules/`uname -r`/build
+KERNELDIR := /lib/modules/$(shell uname -r)/build