Skip to contentSkip to conversation

libtommath: set PREFIX when installing

PATCH New Francois Perrad 2 participants 2 messages Sep 5, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libtommath: set PREFIX when installing

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/

---
 package/libtommath/libtommath.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/libtommath/libtommath.mk +1 -1
index 8e0b10ca2..ceb2e6846 100644
@@ -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))
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 libtommath: set PREFIX when installing

Hello,

Quoted 8 lines · Francois Perrad

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/

---
 package/libtommath/libtommath.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

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