INSTALL_MOD_PATH should point to the root directory of the target rootfs, what is KROOT. Signed-off-by: Samuel Martin <s.martin49@xxxxxxxxx> --- backport/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backport/Makefile b/backport/Makefile index ea3982b..3ff74d9 100644 --- a/backport/Makefile +++ b/backport/Makefile @@ -9,10 +9,11 @@ SHELL := /bin/bash BACKPORT_PWD := $(shell pwd) KMODDIR ?= updates -ifneq ($(origin KLIB), undefined) -KMODPATH_ARG := "INSTALL_MOD_PATH=$(KLIB)" +ifneq ($(origin KROOT), undefined) +KMODPATH_ARG := "INSTALL_MOD_PATH=$(KROOT)" else KLIB := /lib/modules/$(shell uname -r)/ +KROOT := / KMODPATH_ARG := endif KLIB_BUILD ?= $(KLIB)/build/ -- 1.9.2 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html