Update buidlroot to version 2016.08.1
This commit is contained in:
3
bsp/buildroot/package/cryptopp/cryptopp.hash
Normal file
3
bsp/buildroot/package/cryptopp/cryptopp.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 9390670a14170dd0f48a6b6b06f74269ef4b056d4718a1a329f6f6069dc957c9 cryptopp563.zip
|
||||
sha256 74b88c2caf7cf843bdc74d3331adaf83e516167cc8eebe66a79612189549cfa4 f707b9ef1688d4429ca6239cf2dc236440974681.patch
|
||||
32
bsp/buildroot/package/cryptopp/cryptopp.mk
Normal file
32
bsp/buildroot/package/cryptopp/cryptopp.mk
Normal file
@@ -0,0 +1,32 @@
|
||||
################################################################################
|
||||
#
|
||||
# cryptopp
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CRYPTOPP_VERSION = 5.6.3
|
||||
CRYPTOPP_SOURCE = cryptopp$(subst .,,$(CRYPTOPP_VERSION)).zip
|
||||
CRYPTOPP_SITE = http://cryptopp.com/
|
||||
# Upstream patch needed to fix the build with gcc < 4.5
|
||||
CRYPTOPP_PATCH = https://github.com/weidai11/cryptopp/commit/f707b9ef1688d4429ca6239cf2dc236440974681.patch
|
||||
CRYPTOPP_LICENSE = Boost-v1.0
|
||||
CRYPTOPP_LICENSE_FILES = License.txt
|
||||
CRYPTOPP_INSTALL_STAGING = YES
|
||||
|
||||
define HOST_CRYPTOPP_EXTRACT_CMDS
|
||||
$(UNZIP) $(DL_DIR)/$(CRYPTOPP_SOURCE) -d $(@D)
|
||||
endef
|
||||
|
||||
HOST_CRYPTOPP_MAKE_OPTS = \
|
||||
$(HOST_CONFIGURE_OPTS) \
|
||||
CXXFLAGS="$(HOST_CXXFLAGS) -fPIC"
|
||||
|
||||
define HOST_CRYPTOPP_BUILD_CMDS
|
||||
$(MAKE) -C $(@D) $(HOST_CRYPTOPP_MAKE_OPTS) shared
|
||||
endef
|
||||
|
||||
define HOST_CRYPTOPP_INSTALL_CMDS
|
||||
$(MAKE) -C $(@D) PREFIX=$(HOST_DIR)/usr install
|
||||
endef
|
||||
|
||||
$(eval $(host-generic-package))
|
||||
Reference in New Issue
Block a user