diff --git a/kernel/kernel/actions.py b/kernel/kernel/actions.py index a0b52271..800df593 100644 --- a/kernel/kernel/actions.py +++ b/kernel/kernel/actions.py @@ -29,7 +29,7 @@ def install(): kerneltools.install() # add objtool for external module building and enabled VALIDATION_STACK option - pisitools.insinto("/usr/src/linux-headers-4.14.49/tools/objtool","%s/tools/objtool/objtool" % get.curDIR()) + pisitools.insinto("/usr/src/linux-headers-%s/tools/objtool" % get.srcVERSION(), "%s/tools/objtool/objtool" % get.curDIR()) # Install kernel headers needed for out-of-tree module compilation kerneltools.installHeaders()