summaryrefslogtreecommitdiff
path: root/recipes-bsp/tegrarcm/tegrarcm.bb
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2015-05-05 16:11:14 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2015-05-12 10:06:08 +0200
commitf8ad296f9fdac7e142faa75076aaa882e29dfbad (patch)
tree260e6ab3a8f7da274173893e3b52d9c3fcbef47e /recipes-bsp/tegrarcm/tegrarcm.bb
parentf60bd5556d8eb9f8f49bf65020799319ab1c0cea (diff)
tegrarcm/cryptopp: build and use as a static library
We need libcryptopp only for a 32bit x86 target for tegrarcm. However linking libcryptopp dynamically and using the distro supplied 32bit compatibility libcryptopp raises an assertion: tegrarcm: secblock.h:145: CryptoPP::NullAllocator<T>::pointer CryptoPP::NullAllocator<T>::allocate(CryptoPP::NullAllocator<T>::size_type, const void*) [with T = unsigned int; CryptoPP::NullAllocator<T>::pointer = unsigned int*; CryptoPP::NullAllocator<T>::size_type = unsigned int]: Assertion `false' failed. Building only a static library with OE, (if native build forcing 32bit) fixes the issue.
Diffstat (limited to 'recipes-bsp/tegrarcm/tegrarcm.bb')
-rw-r--r--recipes-bsp/tegrarcm/tegrarcm.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/recipes-bsp/tegrarcm/tegrarcm.bb b/recipes-bsp/tegrarcm/tegrarcm.bb
index b4aedb6..c371d03 100644
--- a/recipes-bsp/tegrarcm/tegrarcm.bb
+++ b/recipes-bsp/tegrarcm/tegrarcm.bb
@@ -8,8 +8,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=395fe5affb633ad84474e42989a8e5be"
BBCLASSEXTEND = "native nativesdk"
-SRC_URI = "git://github.com/NVIDIA/tegrarcm.git \
- "
+SRC_URI = " \
+ git://github.com/NVIDIA/tegrarcm.git \
+ file://0001-configure.ac-link-crypotpp-as-a-static-library.patch \
+"
+
SRCREV = "12b9718fc6b5be374d252be691733837e756d816"
PV = "1.6"