[PATCH 01/10] backports: Makefile: introduce KROOT and fix INSTALL_MOD_PATH definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux