[PATCH 07/10] backports: Makefile.real: disable update-initramfs.sh execution when cross-compiling

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

 



Signed-off-by: Samuel Martin <s.martin49@xxxxxxxxx>
---
 backport/Makefile.real | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backport/Makefile.real b/backport/Makefile.real
index 1dc9323..2503016 100644
--- a/backport/Makefile.real
+++ b/backport/Makefile.real
@@ -102,7 +102,7 @@ install: modules
 		$(KVERSION) \
 		"$(shell sed -n '/^CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX=y/ s//_/p' \
 			$(KLIB_BUILD)/.config)"
-	@./scripts/update-initramfs.sh $(KLIB)
+	@test -n "$(CROSS_COMPILE)" || ./scripts/update-initramfs.sh $(KLIB)
 	@echo
 	@echo Your backported driver modules should be installed now.
 	@echo Reboot.
-- 
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