1
0
mirror of https://github.com/RedPill-TTG/redpill-lkm.git synced 2024-02-16 18:08:21 +08:00

Fix default LINUX_SRC path

This commit is contained in:
The Thor Group
-
parent 2daa45c4ce
commit 7f424d609f
2 changed files with 5 additions and 5 deletions

View File

@ -1,9 +1,9 @@
ifeq ($(LINUX_SRC),)
LINUX_SRC := "./linux-3.10.x-bromolow-25426"
endif
PWD := $(shell pwd)
ifeq ($(LINUX_SRC),)
LINUX_SRC := "$(PWD)/../linux-3.10.x-bromolow-25426"
endif
SRCS-$(DBG_EXECVE) += debug/debug_execve.c
ccflags-$(DBG_EXECVE) += -DRPDBG_EXECVE

View File

@ -28,7 +28,7 @@ Read about the quirk in a separate repo: https://github.com/RedPill-TTG/dsm-rese
- `echo '+' > .scmversion` (otherwise it will error-out loading modules)
4. `make oldconfig ; make modules_prepare`
5. `cd` back to the module directory
6. `make LINUX_SRC=....` (path to linux sources, default: `./linux-3.10.x-bromolow-25426`)
6. `make LINUX_SRC=....` (path to linux sources, default: `../linux-3.10.x-bromolow-25426`)
7. You will get a `redpill.ko` module as the result, you can `insmod` it