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