Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] libtommath: set PREFIX when installing
@ 2017-09-05 18:52 Francois Perrad
  2017-09-05 19:12 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Francois Perrad @ 2017-09-05 18:52 UTC (permalink / raw)
  To: buildroot

the default value is /usr/local and causes breakage in libtomcrypt & moarvm
see http://autobuild.buildroot.net/results/a76/a760063f05ae23f79920bc89ffc37e7dcf77aeab/
see http://autobuild.buildroot.net/results/78c/78c9bc9a21cfce48615b70d80b25dd4847bd803b/

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 package/libtommath/libtommath.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/libtommath/libtommath.mk b/package/libtommath/libtommath.mk
index 8e0b10ca2..ceb2e6846 100644
--- a/package/libtommath/libtommath.mk
+++ b/package/libtommath/libtommath.mk
@@ -17,7 +17,7 @@ define LIBTOMMATH_BUILD_CMDS
 endef
 
 define LIBTOMMATH_INSTALL_STAGING_CMDS
-	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(STAGING_DIR)" install
+	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(STAGING_DIR)" PREFIX=/usr install
 endef
 
 $(eval $(generic-package))
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] libtommath: set PREFIX when installing
  2017-09-05 18:52 [Buildroot] [PATCH] libtommath: set PREFIX when installing Francois Perrad
@ 2017-09-05 19:12 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-09-05 19:12 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue,  5 Sep 2017 20:52:19 +0200, Francois Perrad wrote:
> the default value is /usr/local and causes breakage in libtomcrypt & moarvm
> see http://autobuild.buildroot.net/results/a76/a760063f05ae23f79920bc89ffc37e7dcf77aeab/
> see http://autobuild.buildroot.net/results/78c/78c9bc9a21cfce48615b70d80b25dd4847bd803b/
> 
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
>  package/libtommath/libtommath.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-05 19:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-05 18:52 [Buildroot] [PATCH] libtommath: set PREFIX when installing Francois Perrad
2017-09-05 19:12 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox