examples/rtai/Makefile
changeset 284 7eed6020d5cf
parent 267 88177083f137
--- 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)