blob: 1728ad66e80cb7289e3bb63bc8d11b97cf8a7c24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# Determine path to the root directory of the Linux kernel source for the
# currently running kernel. Version can be hardcoded with environment variable:
# KVERS=2.6.25-foo make
# Kernel path can be overrided with KERNEL_PATH argument to make:
# make KERNEL_PATH=/usr/src/linux
KVERS ?= $(shell uname -r)
KERNEL_PATH ?= /lib/modules/$(KVERS)/build
hwsim:
$(MAKE) -C $(KERNEL_PATH) SUBDIRS=$(PWD) modules
obj-m += mac80211_hwsim.o
|