Jon West | 56e83b3 | 2021-04-14 12:38:06 -0400 | [diff] [blame] | 1 | --- a/Makefile.orig |
2 | +++ b/Makefile | ||||
3 | @@ -147,9 +147,9 @@ endif | ||||
4 | |||||
5 | EXTRA_LDFLAGS := $(src)/lib/wlc_hybrid.o_shipped | ||||
6 | |||||
7 | -KBASE ?= /lib/modules/`uname -r` | ||||
8 | +KBASE ?= /lib/modules/${KV_FULL} | ||||
9 | KBUILD_DIR ?= $(KBASE)/build | ||||
10 | -MDEST_DIR ?= $(KBASE)/kernel/drivers/net/wireless | ||||
11 | +MDEST_DIR ?= ${D}$(KBASE)/kernel/drivers/net/wireless | ||||
12 | |||||
13 | # Cross compile setup. Tool chain and kernel tree, replace with your own. | ||||
14 | CROSS_TOOLS = /path/to/tools |