aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2017-03-01 10:48:32 -0800
committerFlorian Fainelli <f.fainelli@gmail.com>2017-03-01 17:19:52 -0800
commit9e740fa5a51fee102671209273f01798ea1d7694 (patch)
tree0db95ab176c7569fc8603efb425c6e0483ccffc8 /package
parent30159b3886849f94cd065ecece7ac988bfb89548 (diff)
downloadupstream-9e740fa5a51fee102671209273f01798ea1d7694.tar.gz
upstream-9e740fa5a51fee102671209273f01798ea1d7694.tar.bz2
upstream-9e740fa5a51fee102671209273f01798ea1d7694.zip
openssl: Use mkhash for STAMP_CONFIGURED
The current way of creating a STAMP_CONFIGURED filename for OpenSSL can lead to an extremely long filename that makes touch unable to create it, and fail the build. Use mkhash to produce a hash against OPENSSL_OPTIONS which creates a shortert stamp file, Fixes #572 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'package')
-rw-r--r--package/libs/openssl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile
index 9b6430234e..b39e3c6d7a 100644
--- a/package/libs/openssl/Makefile
+++ b/package/libs/openssl/Makefile
@@ -168,7 +168,7 @@ else
endif
endif
-STAMP_CONFIGURED := $(STAMP_CONFIGURED)_$(subst $(space),_,$(OPENSSL_OPTIONS))
+STAMP_CONFIGURED := $(STAMP_CONFIGURED)_$(shell echo $(OPENSSL_OPTIONS) | mkhash md5)
define Build/Configure
[ -f $(STAMP_CONFIGURED) ] || { \