summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2017-09-05 20:52:19 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-09-05 21:11:54 +0200
commitfe6afbfa03b21a45fba549ab1d8bb387a17ae21b (patch)
tree18857b74efca03dd3789fd68dcf5a248853cc57b /package
parentebe61135c9a242ac39204cbd901fa9f407dae069 (diff)
downloadbuildroot-fe6afbfa03b21a45fba549ab1d8bb387a17ae21b.tar.gz
buildroot-fe6afbfa03b21a45fba549ab1d8bb387a17ae21b.zip
libtommath: set PREFIX when installing
The default value is /usr/local and causes breakage in libtomcrypt & moarvm Fixes: http://autobuild.buildroot.net/results/a760063f05ae23f79920bc89ffc37e7dcf77aeab/ http://autobuild.buildroot.net/results/78c9bc9a21cfce48615b70d80b25dd4847bd803b/ Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-rw-r--r--package/libtommath/libtommath.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libtommath/libtommath.mk b/package/libtommath/libtommath.mk
index 8e0b10ca24..ceb2e6846c 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))
OpenPOWER on IntegriCloud