Consistent example makefiles.

This commit is contained in:
Florian Pose 2006-06-26 14:53:17 +00:00
parent b717e3ffb4
commit 62a114132f
5 changed files with 5 additions and 5 deletions

View File

@ -56,7 +56,7 @@ else
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)

View File

@ -9,4 +9,4 @@
#
#------------------------------------------------------------------------------
KERNELDIR = /lib/modules/`uname -r`/build
KERNELDIR := /lib/modules/$(shell uname -r)/build

View File

@ -10,6 +10,6 @@
#------------------------------------------------------------------------------
# Kernel sources for module compilation
KERNEL := `uname -r`
KERNEL := $(shell uname -r)
#------------------------------------------------------------------------------

View File

@ -58,7 +58,7 @@ else
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)

View File

@ -9,4 +9,4 @@
#
#------------------------------------------------------------------------------
KERNELDIR = /lib/modules/`uname -r`/build
KERNELDIR := /lib/modules/$(shell uname -r)/build