summaryrefslogtreecommitdiff
blob: d5b97fe87ebef82951601c596ef1e9ea84c134e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/Makefile	2013-04-28 22:42:59.000000000 +0200
+++ b/Makefile	2013-04-28 22:45:53.000000000 +0200
@@ -128,9 +128,9 @@
 
 EXTRA_LDFLAGS      := $(src)/lib/wlc_hybrid.o_shipped
 
-KBASE              ?= /lib/modules/`uname -r`
+KBASE              ?= /lib/modules/${KV_FULL}
 KBUILD_DIR         ?= $(KBASE)/build
-MDEST_DIR          ?= $(KBASE)/kernel/drivers/net/wireless
+MDEST_DIR          ?= ${D}$(KBASE)/kernel/drivers/net/wireless
 
 all:
 	KBUILD_NOPEDANTIC=1 make -C $(KBUILD_DIR) M=`pwd`