summaryrefslogtreecommitdiffstats
path: root/crypto/scrypt/android-config.mk
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2013-11-19 17:09:37 +0100
committerGerrit Code Review <gerrit2@gerrit>2013-11-19 17:09:38 +0100
commitbc183725cd9c06bf8611bd82e7b30806c6faca5f (patch)
tree76478c9e1a1a51631415a5ce0c36057babd82027 /crypto/scrypt/android-config.mk
parentAdd check for making sure theme exists for device (diff)
parentUpdate decrypt for 4.4 (diff)
downloadandroid_bootable_recovery-bc183725cd9c06bf8611bd82e7b30806c6faca5f.tar
android_bootable_recovery-bc183725cd9c06bf8611bd82e7b30806c6faca5f.tar.gz
android_bootable_recovery-bc183725cd9c06bf8611bd82e7b30806c6faca5f.tar.bz2
android_bootable_recovery-bc183725cd9c06bf8611bd82e7b30806c6faca5f.tar.lz
android_bootable_recovery-bc183725cd9c06bf8611bd82e7b30806c6faca5f.tar.xz
android_bootable_recovery-bc183725cd9c06bf8611bd82e7b30806c6faca5f.tar.zst
android_bootable_recovery-bc183725cd9c06bf8611bd82e7b30806c6faca5f.zip
Diffstat (limited to 'crypto/scrypt/android-config.mk')
-rw-r--r--crypto/scrypt/android-config.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/crypto/scrypt/android-config.mk b/crypto/scrypt/android-config.mk
new file mode 100644
index 000000000..326e1134e
--- /dev/null
+++ b/crypto/scrypt/android-config.mk
@@ -0,0 +1,16 @@
+#
+# These flags represent the build-time configuration of scrypt for Android
+#
+# The value of $(scrypt_cflags) was pruned from the Makefile generated
+# by running ./configure from import_scrypt.sh.
+#
+# This script performs minor but required patching for the Android build.
+#
+
+LOCAL_CFLAGS += $(scrypt_cflags)
+
+# Add in flags to let config.h be read properly
+LOCAL_CFLAGS += "-DHAVE_CONFIG_H"
+
+# Add clang here when it works on host
+# LOCAL_CLANG := true