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>
This commit is contained in:
parent
5feb4f0e6d
commit
72fcdb6286
@ -168,7 +168,7 @@ else
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
STAMP_CONFIGURED := $(STAMP_CONFIGURED)_$(subst $(space),_,$(OPENSSL_OPTIONS))
|
STAMP_CONFIGURED := $(STAMP_CONFIGURED)_$(shell echo $(OPENSSL_OPTIONS) | mkhash md5)
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
[ -f $(STAMP_CONFIGURED) ] || { \
|
[ -f $(STAMP_CONFIGURED) ] || { \
|
||||||
|
Loading…
Reference in New Issue
Block a user