From: Florian Fainelli Date: Wed, 1 Mar 2017 18:48:32 +0000 (-0800) Subject: openssl: Use mkhash for STAMP_CONFIGURED X-Git-Tag: v17.01.2~113 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=72fcdb6286ad7be24296acbd36043ee3e96e5ec4;p=oweals%2Fopenwrt.git 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 --- 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) ] || { \