12 Commits

Author SHA1 Message Date
Aorimn 50050a4f8b Add BitBake support (ARM CortexA9 at least)
Thanks to Eric Johnson, from Leidos, dislocker should now be able to be
build for ARM through the BitBake cross-compilation toolchain.
2016-12-04 17:37:20 +01:00
Aditya Dev Sharma 8786617b14 Issue #87: Find FUSE headers in CMake
Built and Tested
2016-08-28 19:17:47 +05:30
Aorimn ceaa2da466 Add consistency across files
Some files refered to the .txt name of another file, so we change it
into the .md equivalent.
Some other files spoke about the same resource but with different
syntax, so we make them use the same syntax for the same resource.
2015-11-01 19:11:27 +01:00
Aorimn 7ed1c6a63d Improve instruction for mbedtls v2.0.0
It should be easy - or at least not to painful - to install the mbedtls
dependency. The explanation should be better now.
2015-08-07 21:30:47 +02:00
Aorimn c9a715e924 Remove dependency on bash
The FindPolarSSL.cmake file was using bash to run a command in order to
find the polarssl/mbedtls version. When encountering environments where
bash isn't installed, the cmake command failed with a cryptic error.
2015-08-07 15:37:12 +02:00
Aorimn 31aa6dd99d Adapt the texts files to cmake
The install process has changed since we're using cmake, so we just
adapt the texts files.
2015-08-07 14:34:42 +02:00
Aorimn cfce6c3198 Adapt FindPolarSSL.cmake to mbedTLS v2.0.0
On version 2.0.0 of mbedTLS, functions for AES or SHA have been put in a
different library than libmbedtls, namely, libmbedcrypto. However, a
typo in the CMakeLists.txt of the mbed archive prevents this
libmbedcrypto to be installed like the other libraries. Some packages
may not have shipped libmbedcrypto, such as the Homebrew PolarSSL
package.
We thus warn the user for this problem, next step is writing the
documentation on how to bypass this.
2015-08-07 11:13:49 +02:00
Aorimn 4701b28497 Changes according to mbedtls modifications
The mbedtls headers seem to change every name by prepending mbedtls_ to
functions names, MBEDTLS_ to #define-d, and so on. We thus put #define
to change the names.
2015-08-06 13:22:11 +02:00
Aorimn 0d10e00c1e Export the PolarSSL real installed name
Every #define-d variable in PolarSSL has been renamed with
s/POLARSSL/MBEDTLS/, so we now export POLARSSL_REAL_NAME out of the
FindPolarSSL.cmake file so that dislocker may use the correct name when
looking at the POLARSSL/MBEDTLS_VERSION_STRING or others.
2015-08-06 11:53:41 +02:00
Aorimn 2b708a0e59 Try to fix compilation on OSX Yosemite
Homebrew seems to have changed the polarssl/ folder into mbedtls/, so we
adapt the cmake/FindPolarSSL.cmake file to reflect this change. This
file now exports POLARSSL_INC_FOLDER, which take "polarssl" or "mbedtls"
for value according to the folder name in use on the system.
This is then used to include the correct files in dislocker.
2015-08-06 00:56:00 +02:00
Aorimn 11013b491c Add ruby bindings
When ruby is installed on the target machine, compile dislocker to have
bindings to it. This was done in the previous Makefile but not entirely
in the cmakelists toolchain.
2015-06-28 14:37:34 +02:00
Aorimn 221eb8ad1a Add cmake toolchain
We get rid of the former Makefile in favor of the cmake toolchain. This
was currently and successfuly tested on Linux (Fedora 21).
2015-06-28 12:38:02 +02:00