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:
8
Makefile
8
Makefile
@ -1,9 +1,9 @@
|
|||||||
ifeq ($(LINUX_SRC),)
|
|
||||||
LINUX_SRC := "./linux-3.10.x-bromolow-25426"
|
|
||||||
endif
|
|
||||||
|
|
||||||
PWD := $(shell pwd)
|
PWD := $(shell pwd)
|
||||||
|
|
||||||
|
ifeq ($(LINUX_SRC),)
|
||||||
|
LINUX_SRC := "$(PWD)/../linux-3.10.x-bromolow-25426"
|
||||||
|
endif
|
||||||
|
|
||||||
SRCS-$(DBG_EXECVE) += debug/debug_execve.c
|
SRCS-$(DBG_EXECVE) += debug/debug_execve.c
|
||||||
ccflags-$(DBG_EXECVE) += -DRPDBG_EXECVE
|
ccflags-$(DBG_EXECVE) += -DRPDBG_EXECVE
|
||||||
|
|
||||||
|
@ -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)
|
- `echo '+' > .scmversion` (otherwise it will error-out loading modules)
|
||||||
4. `make oldconfig ; make modules_prepare`
|
4. `make oldconfig ; make modules_prepare`
|
||||||
5. `cd` back to the module directory
|
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
|
7. You will get a `redpill.ko` module as the result, you can `insmod` it
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user